Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c88 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dquota.c149 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()
Dmac-ctxt.c140 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
141 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
146 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
147 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
169 min_bi = min(data->vif->bss_conf.beacon_int, in iwl_mvm_mac_tsf_id_iter()
170 vif->bss_conf.beacon_int); in iwl_mvm_mac_tsf_id_iter()
175 if ((data->vif->bss_conf.beacon_int - in iwl_mvm_mac_tsf_id_iter()
176 vif->bss_conf.beacon_int) % min_bi == 0) { in iwl_mvm_mac_tsf_id_iter()
644 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta()
693 ctxt_sta->bi = cpu_to_le32(vif->bss_conf.beacon_int); in iwl_mvm_mac_ctxt_cmd_sta()
[all …]
Dtdls.c206 u32 duration = 2 * vif->bss_conf.dtim_period * vif->bss_conf.beacon_int; in iwl_mvm_mac_mgd_protect_tdls_discover()
292 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_rx_tdls_notif()
456 vif->bss_conf.beacon_int) / 2); in iwl_mvm_tdls_config_channel_switch()
549 delay = TU_TO_MS(vif->bss_conf.dtim_period * vif->bss_conf.beacon_int); in iwl_mvm_tdls_ch_switch_work()
611 vif->bss_conf.beacon_int); in iwl_mvm_tdls_channel_switch()
664 vif->bss_conf.beacon_int)); in iwl_mvm_tdls_cancel_channel_switch()
724 delay = vif->bss_conf.dtim_period * vif->bss_conf.beacon_int * in iwl_mvm_tdls_recv_channel_switch()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/vt6656/
Dcard.c290 u32 beacon_int; in vnt_get_next_tbtt() local
292 beacon_int = beacon_interval * 1024; in vnt_get_next_tbtt()
297 if (beacon_int) { in vnt_get_next_tbtt()
298 do_div(tsf, beacon_int); in vnt_get_next_tbtt()
300 tsf *= beacon_int; in vnt_get_next_tbtt()
Dmain_usb.c817 u16 ps_beacon_int = conf->beacon_int; in vnt_bss_info_changed()
829 vnt_reset_next_tbtt(priv, conf->beacon_int); in vnt_bss_info_changed()
947 vnt_update_next_tbtt(priv, tsf, vif->bss_conf.beacon_int); in vnt_set_tsf()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/drivers/staging/vt6655/
Dcard.c833 u32 beacon_int; in CARDqGetNextTBTT() local
835 beacon_int = wBeaconInterval * 1024; in CARDqGetNextTBTT()
836 if (beacon_int) { in CARDqGetNextTBTT()
837 do_div(qwTSF, beacon_int); in CARDqGetNextTBTT()
839 qwTSF *= beacon_int; in CARDqGetNextTBTT()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/mac80211/
Dibss.c39 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()
519 sdata->vif.bss_conf.beacon_int, in ieee80211_ibss_csa_beacon()
[all …]
Dmesh_sync.c51 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c654 info->beacon_int << 4); in mt76x02_bss_info_changed()
655 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/hostap/
Dhostap_80211.h54 __le16 beacon_int; member
/kernel/linux/linux-5.10/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()
Dbeacon.c162 dev->mt76.beacon_int = intval; in mt7603_beacon_set_timer()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Dmac.c417 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()

12345