Home
last modified time | relevance | path

Searched refs:beacon_int (Results 1 – 25 of 92) sorted by relevance

1234

/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c87 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()
Drt2800mmio.c241 (rt2x00dev->beacon_int * 16) - 1); in rt2800mmio_tbtt_tasklet()
246 (rt2x00dev->beacon_int * 16)); in rt2800mmio_tbtt_tasklet()
/drivers/net/wireless/intel/iwlwifi/dvm/
Drxon.c283 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 …]
Ddevices.c436 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl5000_hw_channel_switch()
604 vif->bss_conf.beacon_int * switch_count * TIME_UNIT; in iwl6000_hw_channel_switch()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c93 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()
Dmac-ctxt.c85 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()
121 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
589 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta()
638 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta()
[all …]
Dtdls.c150 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()
/drivers/staging/vt6656/
Dcard.c289 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()
Dmain_usb.c815 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()
/drivers/net/wireless/st/cw1200/
Dsta.c527 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 …]
Dcw1200.h161 int beacon_int; member
/drivers/net/wireless/ti/wl1251/
Dmain.c645 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/
Dcard.c832 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()
/drivers/net/wireless/ath/ath9k/
Dchannel.c338 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()
Dhtc_drv_beacon.c411 (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/staging/r8188eu/include/
Dieee80211_ext.h199 u16 beacon_int; member
211 u16 beacon_int; member
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c567 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()
/drivers/staging/wfx/
Dhif_tx.c307 WARN_ON(!conf->beacon_int); in hif_join()
322 body->beacon_interval = cpu_to_le32(conf->beacon_int); in hif_join()
454 WARN_ON(!conf->beacon_int); in hif_start()
460 body->beacon_interval = cpu_to_le32(conf->beacon_int); in hif_start()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_core.c155 time = ((1000000000ull * dev->mt76.beacon_int) >> 10); in mt76x02u_restart_pre_tbtt_timer()
240 if (WARN_ON_ONCE(!dev->mt76.beacon_int)) in mt76x02u_beacon_enable()
Dmt76x02_util.c651 info->beacon_int << 4); in mt76x02_bss_info_changed()
652 dev->mt76.beacon_int = info->beacon_int; in mt76x02_bss_info_changed()
Dmt76x02_beacon.c105 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer()
/drivers/net/wireless/intersil/hostap/
Dhostap_80211.h54 __le16 beacon_int; member
/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c197 mt7603_beacon_set_timer(dev, -1, dev->mt76.beacon_int); in mt7603_set_channel()
309 int beacon_int = !!info->enable_beacon * info->beacon_int; in mt7603_bss_info_changed() local
312 mt7603_beacon_set_timer(dev, mvif->idx, beacon_int); in mt7603_bss_info_changed()
/drivers/net/wireless/ath/carl9170/
Dmac.c413 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()
/drivers/net/wireless/marvell/libertas_tf/
Dcmd.c188 int beacon_int) in lbtf_beacon_ctrl() argument
196 cmd.beacon_period = cpu_to_le16(beacon_int); in lbtf_beacon_ctrl()

1234