/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00config.c | 88 erp.beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp() 95 rt2x00dev->beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp() 199 u16 beacon_int; in rt2x00lib_config() local 269 beacon_int = msecs_to_jiffies(rt2x00dev->beacon_int); in rt2x00lib_config() 271 if (beacon_diff > beacon_int) in rt2x00lib_config() 274 autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff; in rt2x00lib_config()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rxon.c | 283 u16 beacon_int; in iwl_send_rxon_timing() local 295 beacon_int = vif ? vif->bss_conf.beacon_int : 0; in iwl_send_rxon_timing() 307 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { in iwl_send_rxon_timing() 310 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing() 314 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && in iwl_send_rxon_timing() 316 !ctx->vif->bss_conf.beacon_int)) { in iwl_send_rxon_timing() 319 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing() 321 beacon_int = iwl_adjust_beacon_interval(beacon_int, in iwl_send_rxon_timing() 323 ctx->timing.beacon_interval = cpu_to_le16(beacon_int); in iwl_send_rxon_timing() 326 ctx->beacon_int = beacon_int; in iwl_send_rxon_timing() [all …]
|
D | devices.c | 434 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl5000_hw_channel_switch() 602 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl6000_hw_channel_switch()
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 142 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 143 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 148 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 149 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter() 171 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter() 172 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter() 177 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter() 178 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter() 646 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta() 695 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta() [all …]
|
D | quota.c | 149 int i, phy_id = -1, beacon_int = 0; in iwl_mvm_adjust_quota_for_noa() local 159 beacon_int = mvm->noa_vif->bss_conf.beacon_int; in iwl_mvm_adjust_quota_for_noa() 172 quota *= (beacon_int - mvm->noa_duration); in iwl_mvm_adjust_quota_for_noa() 173 quota /= beacon_int; in iwl_mvm_adjust_quota_for_noa()
|
D | tdls.c | 206 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; in iwl_mvm_mac_mgd_protect_tdls_discover() 286 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_rx_tdls_notif() 450 vif->bss_conf.beacon_int) / 2); in iwl_mvm_tdls_config_channel_switch() 543 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_tdls_ch_switch_work() 605 vif->bss_conf.beacon_int); in iwl_mvm_tdls_channel_switch() 658 vif->bss_conf.beacon_int)); in iwl_mvm_tdls_cancel_channel_switch() 718 delay = vif->bss_conf.dtim_period * vif->bss_conf.beacon_int * in iwl_mvm_tdls_recv_channel_switch()
|
D | mac80211.c | 2302 u32 dur = (11 * vif->bss_conf.beacon_int) / 10; in iwl_mvm_bss_info_changed_station() 3066 vif->bss_conf.beacon_int < 16) { in iwl_mvm_mac_sta_state() 3069 sta->addr, vif->bss_conf.beacon_int); in iwl_mvm_mac_sta_state() 3606 vif->bss_conf.beacon_int; in iwl_mvm_send_aux_roc_cmd() 4078 u32 duration = 3 * vif->bss_conf.beacon_int; in __iwl_mvm_assign_vif_chanctx() 4084 vif->bss_conf.beacon_int / 2, in __iwl_mvm_assign_vif_chanctx() 4358 if (noa_duration >= vif->bss_conf.beacon_int) in __iwl_mvm_mac_testmode_cmd() 4427 DIV_ROUND_UP(chsw->delay, vif->bss_conf.beacon_int); in iwl_mvm_schedule_client_csa() 4452 ((vif->bss_conf.beacon_int * (chsw->count - 1) - in iwl_mvm_old_pre_chan_sw_sta() 4465 iwl_mvm_schedule_csa_period(mvm, vif, vif->bss_conf.beacon_int, in iwl_mvm_old_pre_chan_sw_sta() [all …]
|
/drivers/net/wireless/st/cw1200/ |
D | sta.c | 527 priv->beacon_int * priv->join_dtim_period > in cw1200_set_beacon_wakeup_period_work() 1255 if (!priv->beacon_int) in cw1200_do_join() 1256 priv->beacon_int = 1; in cw1200_do_join() 1258 join.beacon_interval = priv->beacon_int; 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() [all …]
|
D | cw1200.h | 161 int beacon_int; member
|
/drivers/staging/vt6656/ |
D | card.c | 574 u32 beacon_int; in vnt_get_next_tbtt() local 576 beacon_int = beacon_interval * 1024; in vnt_get_next_tbtt() 581 if (beacon_int) { in vnt_get_next_tbtt() 582 do_div(tsf, beacon_int); in vnt_get_next_tbtt() 584 tsf *= beacon_int; in vnt_get_next_tbtt()
|
D | main_usb.c | 784 vnt_mac_set_beacon_interval(priv, conf->beacon_int); in vnt_bss_info_changed() 786 vnt_reset_next_tbtt(priv, conf->beacon_int); in vnt_bss_info_changed() 920 vnt_update_next_tbtt(priv, tsf, vif->bss_conf.beacon_int); in vnt_set_tsf()
|
/drivers/net/wireless/ti/wl1251/ |
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()
|
/drivers/staging/vt6655/ |
D | card.c | 946 u32 beacon_int; in CARDqGetNextTBTT() local 948 beacon_int = wBeaconInterval * 1024; in CARDqGetNextTBTT() 949 if (beacon_int) { in CARDqGetNextTBTT() 950 do_div(qwTSF, beacon_int); in CARDqGetNextTBTT() 952 qwTSF *= beacon_int; in CARDqGetNextTBTT()
|
/drivers/net/wireless/ath/ath9k/ |
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()
|
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()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | fw.c | 563 mac->vif->bss_conf.beacon_int); in rtl92s_set_fw_pwrmode_cmd() 571 max_wakeup_period = mac->vif->bss_conf.beacon_int; in rtl92s_set_fw_pwrmode_cmd() 573 max_wakeup_period = mac->vif->bss_conf.beacon_int * in rtl92s_set_fw_pwrmode_cmd() 606 mac->vif->bss_conf.beacon_int); in rtl92s_set_fw_joinbss_report_cmd()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_usb_core.c | 146 time = ((1000000000ull * dev->mt76.beacon_int) >> 10); in mt76x02u_restart_pre_tbtt_timer() 220 if (WARN_ON_ONCE(!dev->mt76.beacon_int)) in mt76x02u_beacon_enable()
|
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()
|
D | mt76x02_beacon.c | 147 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer()
|
/drivers/net/wireless/intersil/hostap/ |
D | hostap_80211.h | 54 __le16 beacon_int; member
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | main.c | 191 mt7603_beacon_set_timer(dev, -1, dev->mt76.beacon_int); in mt7603_set_channel() 303 int beacon_int = !!info->enable_beacon * info->beacon_int; in mt7603_bss_info_changed() local 306 mt7603_beacon_set_timer(dev, mvif->idx, beacon_int); in mt7603_bss_info_changed()
|
D | beacon.c | 162 dev->mt76.beacon_int = intval; in mt7603_beacon_set_timer()
|
/drivers/net/wireless/ath/carl9170/ |
D | mac.c | 417 ar->global_beacon_int = vif->bss_conf.beacon_int / in carl9170_set_beacon_timers() 436 ar->global_beacon_int = vif->bss_conf.beacon_int; in carl9170_set_beacon_timers()
|
/drivers/net/wireless/ |
D | mac80211_hwsim.c | 519 u64 beacon_int /* beacon interval in us */; member 816 u32 bcn_int = data->beacon_int; in mac80211_hwsim_set_tsf() 1587 u64 bcn_int = data->beacon_int; in mac80211_hwsim_beacon() 1676 if (!data->started || !data->beacon_int) in mac80211_hwsim_config() 1680 u32 bcn_int = data->beacon_int; in mac80211_hwsim_config() 1745 info->enable_beacon, info->beacon_int); in mac80211_hwsim_bss_info_changed() 1752 data->beacon_int = info->beacon_int * 1024; in mac80211_hwsim_bss_info_changed() 1754 bcn_int = data->beacon_int; in mac80211_hwsim_bss_info_changed() 1769 data->beacon_int = 0; in mac80211_hwsim_bss_info_changed()
|
/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 188 int beacon_int) in lbtf_beacon_ctrl() argument 196 cmd.beacon_period = cpu_to_le16(beacon_int); in lbtf_beacon_ctrl()
|