Home
last modified time | relevance | path

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

12345

/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c89 erp.beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp()
96 rt2x00dev->beacon_int = bss_conf->beacon_int; in rt2x00lib_config_erp()
200 u16 beacon_int; in rt2x00lib_config() local
270 beacon_int = msecs_to_jiffies(rt2x00dev->beacon_int); in rt2x00lib_config()
272 if (beacon_diff > beacon_int) in rt2x00lib_config()
275 autowake_timeout = (conf->ps_dtim_period * beacon_int) - beacon_diff; in rt2x00lib_config()
/linux-6.1.9/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()
594 vif->bss_conf.beacon_int; in iwl_mvm_mac_ctxt_cmd_sta()
626 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()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/
Drxon.c278 u16 beacon_int; in iwl_send_rxon_timing() local
290 beacon_int = vif ? vif->bss_conf.beacon_int : 0; in iwl_send_rxon_timing()
302 priv->contexts[IWL_RXON_CTX_BSS].vif->bss_conf.beacon_int) { in iwl_send_rxon_timing()
305 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing()
309 priv->contexts[IWL_RXON_CTX_PAN].vif->bss_conf.beacon_int && in iwl_send_rxon_timing()
311 !ctx->vif->bss_conf.beacon_int)) { in iwl_send_rxon_timing()
314 beacon_int = le16_to_cpu(ctx->timing.beacon_interval); in iwl_send_rxon_timing()
316 beacon_int = iwl_adjust_beacon_interval(beacon_int, in iwl_send_rxon_timing()
318 ctx->timing.beacon_interval = cpu_to_le16(beacon_int); in iwl_send_rxon_timing()
321 ctx->beacon_int = beacon_int; in iwl_send_rxon_timing()
[all …]
Ddevices.c431 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-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/st/cw1200/
Dsta.c527 priv->beacon_int * priv->join_dtim_period > in cw1200_set_beacon_wakeup_period_work()
1256 if (!priv->beacon_int) in cw1200_do_join()
1257 priv->beacon_int = 1; in cw1200_do_join()
1259 join.beacon_interval = priv->beacon_int; in cw1200_do_join()
1264 priv->beacon_int) == 0) in cw1200_do_join()
1267 priv->beacon_int); in cw1200_do_join()
1271 priv->beacon_int + 1); in cw1200_do_join()
1286 join.dtim_period, priv->beacon_int); in cw1200_do_join()
1845 priv->beacon_int = info->beacon_int; in cw1200_bss_info_changed()
1904 priv->beacon_int = info->beacon_int; in cw1200_bss_info_changed()
[all …]
Dcw1200.h161 int beacon_int; member
/linux-6.1.9/drivers/staging/vt6655/
Dcard.c769 u32 beacon_int; in CARDqGetNextTBTT() local
771 beacon_int = wBeaconInterval * 1024; in CARDqGetNextTBTT()
772 if (beacon_int) { in CARDqGetNextTBTT()
773 do_div(qwTSF, beacon_int); in CARDqGetNextTBTT()
775 qwTSF *= beacon_int; in CARDqGetNextTBTT()
/linux-6.1.9/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()
1618 wl->beacon_int = WL1251_DEFAULT_BEACON_INT; in wl1251_alloc_hw()
/linux-6.1.9/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
316 presp = ieee80211_ibss_build_presp(sdata, beacon_int, basic_rates, in __ieee80211_sta_join_ibss()
326 sdata->vif.bss_conf.beacon_int = beacon_int; in __ieee80211_sta_join_ibss()
403 u16 beacon_int = cbss->beacon_interval; in ieee80211_sta_join_ibss() local
412 if (beacon_int < 10) in ieee80211_sta_join_ibss()
413 beacon_int = 10; in ieee80211_sta_join_ibss()
473 beacon_int, in ieee80211_sta_join_ibss()
512 sdata->vif.bss_conf.beacon_int, in ieee80211_ibss_csa_beacon()
[all …]
Dmesh_sync.c52 u64 beacon_int_fraction = sdata->vif.bss_conf.beacon_int * 1024 / 2500; in mesh_sync_adjust_tsf()
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_tx.c291 WARN_ON(!conf->beacon_int); in wfx_hif_join()
301 body->beacon_interval = cpu_to_le32(conf->beacon_int); in wfx_hif_join()
428 WARN_ON(!conf->beacon_int); in wfx_hif_start()
434 body->beacon_interval = cpu_to_le32(conf->beacon_int); in wfx_hif_start()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_core.c161 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()
Dmt76x02_util.c657 info->beacon_int << 4); in mt76x02_bss_info_changed()
658 dev->mt76.beacon_int = info->beacon_int; in mt76x02_bss_info_changed()
Dmt76x02_beacon.c109 u32 timer_val = dev->mt76.beacon_int << 4; in mt76x02_resync_beacon_timer()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_80211.h54 __le16 beacon_int; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7603/
Dmain.c202 mt7603_beacon_set_timer(dev, -1, dev->mt76.beacon_int); in mt7603_set_channel()
330 int beacon_int = !!info->enable_beacon * info->beacon_int; in mt7603_bss_info_changed() local
333 mt7603_beacon_set_timer(dev, mvif->idx, beacon_int); in mt7603_bss_info_changed()
Dbeacon.c164 dev->mt76.beacon_int = intval; in mt7603_beacon_set_timer()
/linux-6.1.9/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()

12345