/linux/drivers/net/wireless/ralink/rt2x00/ |
A D | rt2x00config.c | 87 erp.beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp() 94 rt2x00dev->beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp() 198 u16 beacon_int; in rt2x00lib_config() local 268 beacon_int = msecs_to_jiffies(rt2x00dev->beacon_int); in rt2x00lib_config() 270 if (beacon_diff > beacon_int) in rt2x00lib_config() 273 autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff; in rt2x00lib_config()
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
A D | rxon.c | 278 u16 beacon_int; in iwl_send_rxon_timing() local 290 beacon_int = vif ? vif->bss_conf.beacon_int : 0; in iwl_send_rxon_timing() 311 !ctx->vif->bss_conf.beacon_int)) { in iwl_send_rxon_timing() 316 beacon_int = iwl_adjust_beacon_interval(beacon_int, in iwl_send_rxon_timing() 321 ctx->beacon_int = beacon_int; in iwl_send_rxon_timing() 324 interval_tm = beacon_int * TIME_UNIT; in iwl_send_rxon_timing() 544 int bcnint = ctx_pan->beacon_int; in iwlagn_set_pan_params() 552 bcnint != ctx_bss->beacon_int) { in iwlagn_set_pan_params() 555 ctx_bss->beacon_int, ctx_pan->beacon_int); in iwlagn_set_pan_params() 558 ctx_bss->beacon_int); in iwlagn_set_pan_params() [all …]
|
A D | devices.c | 431 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl5000_hw_channel_switch() 599 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl6000_hw_channel_switch()
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
A D | quota.c | 93 int i, phy_id = -1, beacon_int = 0; in iwl_mvm_adjust_quota_for_noa() local 103 beacon_int = mvm->noa_vif->bss_conf.beacon_int; in iwl_mvm_adjust_quota_for_noa() 116 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa() 117 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
|
A D | mac-ctxt.c | 85 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 86 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 91 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 92 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter() 114 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 115 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 120 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 589 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta() 1047 u16 beacon_int; member 1064 data->beacon_int = vif->bss_conf.beacon_int; in iwl_mvm_mac_ap_iterator() [all …]
|
A D | tdls.c | 150 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; in iwl_mvm_mac_mgd_protect_tdls_discover() 236 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_rx_tdls_notif() 400 vif->bss_conf.beacon_int) / 2); in iwl_mvm_tdls_config_channel_switch() 493 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_tdls_ch_switch_work() 555 vif->bss_conf.beacon_int); in iwl_mvm_tdls_channel_switch() 608 vif->bss_conf.beacon_int)); in iwl_mvm_tdls_cancel_channel_switch() 668 delay = vif->bss_conf.dtim_period * vif->bss_conf.beacon_int * in iwl_mvm_tdls_recv_channel_switch()
|
/linux/drivers/staging/vt6656/ |
A D | card.c | 289 u32 beacon_int; in vnt_get_next_tbtt() local 291 beacon_int = beacon_interval * 1024; in vnt_get_next_tbtt() 296 if (beacon_int) { in vnt_get_next_tbtt() 297 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 299 tsf *= beacon_int; in vnt_get_next_tbtt()
|
A D | main_usb.c | 815 u16 ps_beacon_int = conf->beacon_int; in vnt_bss_info_changed() 827 vnt_reset_next_tbtt(priv, conf->beacon_int); in vnt_bss_info_changed() 946 vnt_update_next_tbtt(priv, tsf, vif->bss_conf.beacon_int); in vnt_set_tsf()
|
/linux/drivers/net/wireless/st/cw1200/ |
A D | sta.c | 1255 if (!priv->beacon_int) in cw1200_do_join() 1256 priv->beacon_int = 1; in cw1200_do_join() 1263 priv->beacon_int) == 0) in cw1200_do_join() 1266 priv->beacon_int); in cw1200_do_join() 1270 priv->beacon_int + 1); in cw1200_do_join() 1285 join.dtim_period, priv->beacon_int); in cw1200_do_join() 1844 priv->beacon_int = info->beacon_int; in cw1200_bss_info_changed() 1903 priv->beacon_int = info->beacon_int; in cw1200_bss_info_changed() 2317 .beacon_interval = conf->beacon_int, in cw1200_start_ap() 2337 priv->beacon_int = conf->beacon_int; in cw1200_start_ap() [all …]
|
A D | cw1200.h | 161 int beacon_int; member
|
/linux/net/mac80211/ |
A D | ibss.c | 39 const int beacon_int, const u32 basic_rates, in ieee80211_ibss_build_presp() argument 82 mgmt->u.beacon.beacon_int = cpu_to_le16(beacon_int); in ieee80211_ibss_build_presp() 219 const u8 *bssid, const int beacon_int, in __ieee80211_sta_join_ibss() argument 317 presp = ieee80211_ibss_build_presp(sdata, beacon_int, basic_rates, in __ieee80211_sta_join_ibss() 327 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss() 406 u16 beacon_int = cbss->beacon_interval; in ieee80211_sta_join_ibss() local 415 if (beacon_int < 10) in ieee80211_sta_join_ibss() 416 beacon_int = 10; in ieee80211_sta_join_ibss() 476 beacon_int, in ieee80211_sta_join_ibss() 516 sdata->vif.bss_conf.beacon_int, in ieee80211_ibss_csa_beacon() [all …]
|
A D | mesh_sync.c | 52 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
|
/linux/drivers/net/wireless/ti/wl1251/ |
A D | main.c | 645 wl->beacon_int, wl->dtim_period); in wl1251_op_config() 658 ret = wl1251_acx_wr_tbtt_and_dtim(wl, wl->beacon_int, in wl1251_op_config() 689 wl->beacon_int, wl->dtim_period); in wl1251_op_config() 1007 wl->beacon_int, wl->dtim_period); in wl1251_op_hw_scan() 1119 wl->beacon_int, wl->dtim_period); in wl1251_op_bss_info_changed() 1127 wl->beacon_int = bss_conf->beacon_int; in wl1251_op_bss_info_changed() 1145 wl->beacon_int = WL1251_DEFAULT_BEACON_INT; in wl1251_op_bss_info_changed() 1210 wl->beacon_int, wl->dtim_period); in wl1251_op_bss_info_changed() 1611 wl->beacon_int = WL1251_DEFAULT_BEACON_INT; in wl1251_alloc_hw()
|
/linux/drivers/staging/vt6655/ |
A D | card.c | 832 u32 beacon_int; in CARDqGetNextTBTT() local 834 beacon_int = wBeaconInterval * 1024; in CARDqGetNextTBTT() 835 if (beacon_int) { in CARDqGetNextTBTT() 836 do_div(qwTSF, beacon_int); in CARDqGetNextTBTT() 838 qwTSF *= beacon_int; in CARDqGetNextTBTT()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A D | channel.c | 338 u32 cur_tsf, prev_tsf, beacon_int; in ath_chanctx_adjust_tbtt_delta() local 341 beacon_int = TU_TO_USEC(sc->cur_chan->beacon.beacon_interval); in ath_chanctx_adjust_tbtt_delta() 362 if (offset < 0 || offset > 3 * beacon_int) in ath_chanctx_adjust_tbtt_delta() 365 offset = beacon_int / 2 - (offset % beacon_int); in ath_chanctx_adjust_tbtt_delta() 444 u32 beacon_int) in ath_chanctx_set_periodic_noa() argument 452 avp->noa_duration = (3 * beacon_int / 2) + in ath_chanctx_set_periodic_noa() 503 u32 beacon_int; in ath_chanctx_event() local 585 beacon_int = TU_TO_USEC(cur_conf->beacon_interval); in ath_chanctx_event() 588 tsf_time = sc->sched.next_tbtt + beacon_int / 4; in ath_chanctx_event() 628 tsf_time, beacon_int); in ath_chanctx_event()
|
A D | htc_drv_beacon.c | 411 (cur_conf->beacon_interval != bss_conf->beacon_int)) { in ath9k_htc_check_beacon_config() 461 cur_conf->beacon_interval = bss_conf->beacon_int; in ath9k_htc_beacon_config()
|
/linux/drivers/staging/r8188eu/include/ |
A D | ieee80211_ext.h | 199 u16 beacon_int; member 211 u16 beacon_int; member
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | fw.c | 567 mac->vif->bss_conf.beacon_int, GENMASK(15, 0)); in rtl92s_set_fw_pwrmode_cmd() 575 max_wakeup_period = mac->vif->bss_conf.beacon_int; in rtl92s_set_fw_pwrmode_cmd() 577 max_wakeup_period = mac->vif->bss_conf.beacon_int * in rtl92s_set_fw_pwrmode_cmd() 610 mac->vif->bss_conf.beacon_int, GENMASK(15, 0)); in rtl92s_set_fw_joinbss_report_cmd()
|
/linux/drivers/staging/wfx/ |
A D | hif_tx.c | 301 WARN_ON(!conf->beacon_int); in hif_join() 311 body->beacon_interval = cpu_to_le32(conf->beacon_int); in hif_join() 444 WARN_ON(!conf->beacon_int); in hif_start() 450 body->beacon_interval = cpu_to_le32(conf->beacon_int); in hif_start()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_usb_core.c | 161 time = ((1000000000ull * dev->mt76.beacon_int) >> 10); in mt76x02u_restart_pre_tbtt_timer() 246 if (WARN_ON_ONCE(!dev->mt76.beacon_int)) in mt76x02u_beacon_enable()
|
A D | mt76x02_util.c | 652 info->beacon_int << 4); in mt76x02_bss_info_changed() 653 dev->mt76.beacon_int = info->beacon_int; in mt76x02_bss_info_changed()
|
A D | mt76x02_beacon.c | 105 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer()
|
/linux/drivers/net/wireless/intersil/hostap/ |
A D | hostap_80211.h | 54 __le16 beacon_int; member
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
A D | main.c | 200 mt7603_beacon_set_timer(dev, -1, dev->mt76.beacon_int); in mt7603_set_channel() 312 int beacon_int = !!info->enable_beacon * info->beacon_int; in mt7603_bss_info_changed() local 315 mt7603_beacon_set_timer(dev, mvif->idx, beacon_int); in mt7603_bss_info_changed()
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | mac.c | 413 ar->global_beacon_int = vif->bss_conf.beacon_int / in carl9170_set_beacon_timers() 432 ar->global_beacon_int = vif->bss_conf.beacon_int; in carl9170_set_beacon_timers()
|