/linux-6.1.9/net/mac80211/ |
D | rate.c | 278 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 …]
|
D | ibss.c | 39 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 …]
|
D | airtime.c | 637 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()
|
D | mesh.c | 63 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()
|
D | util.c | 2157 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()
|
D | cfg.c | 2377 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()
|
D | mesh_plink.c | 417 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/ |
D | card.c | 224 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()
|
D | device.h | 106 u32 basic_rates; member
|
D | device_main.c | 1481 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/ |
D | core.c | 249 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/ |
D | mesh.c | 174 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()
|
D | ibss.c | 102 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/ |
D | card.c | 171 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()
|
D | device.h | 326 u32 basic_rates; member
|
D | main_usb.c | 758 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/ |
D | rt2x00config.c | 88 erp.basic_rates = bss_conf->basic_rates; in rt2x00lib_config_erp()
|
/linux-6.1.9/drivers/net/wireless/silabs/wfx/ |
D | hif_tx.c | 292 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/ |
D | mac.c | 119 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/ |
D | hostap_ioctl.c | 282 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/ |
D | tx.c | 247 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/ |
D | main.c | 476 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/ |
D | main.c | 156 mt7601u_wr(dev, MT_LEGACY_BASIC_RATE, info->basic_rates); in mt7601u_bss_info_changed()
|
/linux-6.1.9/drivers/net/wireless/intersil/orinoco/ |
D | hermes.h | 302 __le16 basic_rates; /* Basic rates bitmask */ member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | mt76_connac_mac.c | 281 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()
|