Home
last modified time | relevance | path

Searched refs:basic_rates (Results 1 – 25 of 64) sorted by relevance

123

/linux-6.1.9/net/mac80211/
Drate.c278 u32 user_mask, basic_rates = link->conf->basic_rates; in ieee80211_check_rate_mask() local
290 if (WARN_ON_ONCE(!basic_rates)) in ieee80211_check_rate_mask()
296 if (user_mask & basic_rates) in ieee80211_check_rate_mask()
301 basic_rates, user_mask, band); in ieee80211_check_rate_mask()
316 u32 basic_rates, in rc_send_low_basicrate() argument
328 if (basic_rates == 0) in rc_send_low_basicrate()
332 if (basic_rates & (1 << rate->idx)) in rc_send_low_basicrate()
336 if (basic_rates & (1 << i)) { in rc_send_low_basicrate()
422 txrc->bss_conf->basic_rates, in rate_control_send_low()
634 u32 basic_rates = vif->bss_conf.basic_rates; in rate_fixup_ratelist() local
[all …]
Dibss.c39 const int beacon_int, const u32 basic_rates, in ieee80211_ibss_build_presp() argument
120 if (basic_rates & BIT(ri)) in ieee80211_ibss_build_presp()
164 if (basic_rates & BIT(ri)) in ieee80211_ibss_build_presp()
221 const u32 basic_rates, in __ieee80211_sta_join_ibss() argument
316 presp = ieee80211_ibss_build_presp(sdata, beacon_int, basic_rates, in __ieee80211_sta_join_ibss()
327 sdata->vif.bss_conf.basic_rates = basic_rates; in __ieee80211_sta_join_ibss()
401 u32 basic_rates; in ieee80211_sta_join_ibss() local
445 basic_rates = 0; in ieee80211_sta_join_ibss()
461 basic_rates |= BIT(j); in ieee80211_sta_join_ibss()
475 basic_rates, in ieee80211_sta_join_ibss()
[all …]
Dairtime.c637 u32 basic_rates; in ieee80211_calc_expected_tx_airtime() local
703 basic_rates = vif->bss_conf.basic_rates; in ieee80211_calc_expected_tx_airtime()
706 rateidx = basic_rates ? ffs(basic_rates) - 1 : 0; in ieee80211_calc_expected_tx_airtime()
Dmesh.c63 u32 basic_rates = 0; in mesh_matches_local() local
92 &basic_rates); in mesh_matches_local()
94 if (sdata->vif.bss_conf.basic_rates != basic_rates) in mesh_matches_local()
Dutil.c2157 enum nl80211_band band, u32 *basic_rates) in ieee80211_sta_get_rates() argument
2200 if (basic_rates && is_basic) in ieee80211_sta_get_rates()
2201 *basic_rates |= BIT(j); in ieee80211_sta_get_rates()
3776 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_add_srates_ie() local
3802 if (need_basic && basic_rates & BIT(i)) in ieee80211_add_srates_ie()
3820 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_add_ext_srates_ie() local
3851 if (need_basic && basic_rates & BIT(i)) in ieee80211_add_ext_srates_ie()
Dcfg.c2377 sdata->vif.bss_conf.basic_rates = setup->basic_rates; in copy_mesh_setup()
2597 if (params->basic_rates) { in ieee80211_change_bss()
2600 params->basic_rates, in ieee80211_change_bss()
2602 &sdata->vif.bss_conf.basic_rates); in ieee80211_change_bss()
3234 u32 basic_rates = sdata->vif.bss_conf.basic_rates; in ieee80211_set_bitrate_mask() local
3237 if (!(mask->control[band].legacy & basic_rates)) in ieee80211_set_bitrate_mask()
Dmesh_plink.c417 u32 rates, basic_rates = 0, changed = 0; in mesh_sta_info_init() local
425 &basic_rates); in mesh_sta_info_init()
/linux-6.1.9/drivers/staging/vt6655/
Dcard.c224 if (priv->basic_rates & ((u32)(0x1 << i))) { in CARDbSetPhyParameter()
484 if (priv->basic_rates & ((u32)0x1 << ui)) in CARDwGetCCKControlRate()
509 pr_debug("BASIC RATE: %X\n", priv->basic_rates); in CARDwGetOFDMControlRate()
518 if (priv->basic_rates & ((u32)0x1 << ui)) { in CARDwGetOFDMControlRate()
658 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
666 if ((priv->basic_rates) & ((u32)(1 << ii))) { in CARDvUpdateBasicTopRate()
681 if ((priv->basic_rates) & ((u32)BIT(ii))) in CARDbIsOFDMinBasicRate()
Ddevice.h106 u32 basic_rates; member
Ddevice_main.c1481 priv->basic_rates = conf->basic_rates; in vnt_bss_info_changed()
1486 "basic rates %x\n", conf->basic_rates); in vnt_bss_info_changed()
/linux-6.1.9/drivers/net/wireless/realtek/rtlwifi/
Dcore.c249 mac->basic_rates = 0xfff; in rtl_op_add_interface()
251 mac->basic_rates = 0xff0; in rtl_op_add_interface()
253 (u8 *)(&mac->basic_rates)); in rtl_op_add_interface()
267 mac->basic_rates = 0xfff; in rtl_op_add_interface()
269 mac->basic_rates = 0xff0; in rtl_op_add_interface()
271 (u8 *)(&mac->basic_rates)); in rtl_op_add_interface()
282 mac->basic_rates = 0xfff; in rtl_op_add_interface()
284 mac->basic_rates = 0xff0; in rtl_op_add_interface()
286 (u8 *)(&mac->basic_rates)); in rtl_op_add_interface()
300 mac->basic_rates = 0xff0;/*disable cck rate for p2p*/ in rtl_op_add_interface()
[all …]
/linux-6.1.9/net/wireless/
Dmesh.c174 if (!setup->basic_rates) { in __cfg80211_join_mesh()
191 setup->basic_rates = BIT(i); in __cfg80211_join_mesh()
197 setup->basic_rates = ieee80211_mandatory_rates(sband, in __cfg80211_join_mesh()
Dibss.c102 if (!params->basic_rates) { in __cfg80211_join_ibss()
123 params->basic_rates |= BIT(j); in __cfg80211_join_ibss()
/linux-6.1.9/drivers/staging/vt6656/
Dcard.c171 pos = fls(priv->basic_rates & GENMASK(RATE_54M, RATE_6M)); in vnt_update_top_rates()
174 pos = fls(priv->basic_rates & GENMASK(RATE_11M, RATE_1M)); in vnt_update_top_rates()
180 return priv->basic_rates & GENMASK(RATE_54M, RATE_6M) ? true : false; in vnt_ofdm_min_rate()
Ddevice.h326 u32 basic_rates; member
Dmain_usb.c758 priv->basic_rates = conf->basic_rates; in vnt_bss_info_changed()
762 dev_dbg(&priv->usb->dev, "basic rates %x\n", conf->basic_rates); in vnt_bss_info_changed()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00config.c88 erp.basic_rates = bss_conf->basic_rates; in rt2x00lib_config_erp()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dhif_tx.c292 WARN_ON(!conf->basic_rates); in wfx_hif_join()
302 body->basic_rate_set = cpu_to_le32(wfx_rate_mask_to_hw(wvif->wdev, conf->basic_rates)); in wfx_hif_join()
435 body->basic_rate_set = cpu_to_le32(wfx_rate_mask_to_hw(wvif->wdev, conf->basic_rates)); in wfx_hif_start()
/linux-6.1.9/drivers/net/wireless/ath/carl9170/
Dmac.c119 basic = (vif->bss_conf.basic_rates & 0xf); in carl9170_set_mac_rates()
120 basic |= (vif->bss_conf.basic_rates & 0xff0) << 4; in carl9170_set_mac_rates()
/linux-6.1.9/drivers/net/wireless/intersil/hostap/
Dhostap_ioctl.c282 int ret, basic_rates; in hostap_set_rate() local
287 basic_rates = local->basic_rates & local->tx_rate_control; in hostap_set_rate()
288 if (!basic_rates || basic_rates != local->basic_rates) { in hostap_set_rate()
292 if (!basic_rates) in hostap_set_rate()
293 basic_rates = local->tx_rate_control; in hostap_set_rate()
295 local->basic_rates = basic_rates; in hostap_set_rate()
297 basic_rates)) in hostap_set_rate()
2595 local->basic_rates = value; in prism2_ioctl_priv_prism2_param()
2597 local->basic_rates) || in prism2_ioctl_priv_prism2_param()
2794 *param = local->basic_rates; in prism2_ioctl_priv_get_prism2_param()
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/
Dtx.c247 if (!vif || !vif->bss_conf.basic_rates || ignore_rate || force_lowest) in rtw_get_mgmt_rate()
250 return __ffs(vif->bss_conf.basic_rates) + lowest_rate; in rtw_get_mgmt_rate()
/linux-6.1.9/drivers/net/wireless/intersil/p54/
Dmain.c476 priv->basic_rate_mask = (info->basic_rates << 4); in p54_bss_info_changed()
478 priv->basic_rate_mask = info->basic_rates; in p54_bss_info_changed()
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dmain.c156 mt7601u_wr(dev, MT_LEGACY_BASIC_RATE, info->basic_rates); in mt7601u_bss_info_changed()
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/
Dhermes.h302 __le16 basic_rates; /* Basic rates bitmask */ member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76_connac_mac.c281 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()
311 rateidx = ffs(vif->bss_conf.basic_rates) - 1; in mt76_connac2_mac_tx_rate_val()

123