Home
last modified time | relevance | path

Searched refs:supp_rates (Results 1 – 25 of 51) sorted by relevance

123

/linux/drivers/net/wireless/microchip/wilc1000/
H A Dfw.h108 u8 supp_rates[WILC_MAX_RATES_SUPPORTED + 1]; member
H A Dhif.c430 param->supp_rates[0] = rates_len; in wilc_parse_join_bss_param()
431 memcpy(&param->supp_rates[1], rates_ie + 2, rates_len); in wilc_parse_join_bss_param()
441 param->supp_rates[0] = WILC_MAX_RATES_SUPPORTED; in wilc_parse_join_bss_param()
443 param->supp_rates[0] += ext_rates; in wilc_parse_join_bss_param()
445 memcpy(&param->supp_rates[rates_len + 1], in wilc_parse_join_bss_param()
447 (param->supp_rates[0] - rates_len)); in wilc_parse_join_bss_param()
/linux/drivers/net/wireless/intel/iwlegacy/
H A D3945-rs.c357 if (sta->deflink.supp_rates[sband->band] & (1 << i)) { in il3945_rs_rate_init()
363 il->_3945.sta_supp_rates = sta->deflink.supp_rates[sband->band]; in il3945_rs_rate_init()
634 rate_mask = sta->deflink.supp_rates[sband->band]; in il3945_rs_get_rate()
H A D4965-rs.c753 (lq_sta->supp_rates << IL_FIRST_OFDM_RATE)); in il4965_rs_get_lower_rate()
755 rate_mask = (u16) (rate_mask & lq_sta->supp_rates); in il4965_rs_get_lower_rate()
973 if (sta->deflink.supp_rates[sband->band]) in il4965_rs_tx_status()
1763 lq_sta->supp_rates = sta->deflink.supp_rates[lq_sta->band]; in il4965_rs_rate_scale_perform()
1808 (lq_sta->supp_rates << IL_FIRST_OFDM_RATE)); in il4965_rs_rate_scale_perform()
1811 (u16) (rate_mask & lq_sta->supp_rates); in il4965_rs_rate_scale_perform()
2291 lq_sta->supp_rates = sta->deflink.supp_rates[sband->band]; in il4965_rs_rate_init()
H A D3945.c717 tx_cmd->supp_rates[0] = in il3945_hw_build_tx_cmd_rate()
721 tx_cmd->supp_rates[1] = (rate_mask & 0xF); in il3945_hw_build_tx_cmd_rate()
725 le32_to_cpu(tx_cmd->tx_flags), tx_cmd->supp_rates[1], in il3945_hw_build_tx_cmd_rate()
726 tx_cmd->supp_rates[0]); in il3945_hw_build_tx_cmd_rate()
2438 tx_beacon_cmd->tx.supp_rates[0] = in il3945_hw_get_beacon_cmd()
2441 tx_beacon_cmd->tx.supp_rates[1] = (IL_CCK_BASIC_RATES_MASK & 0xF); in il3945_hw_get_beacon_cmd()
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drs.c790 (lq_sta->supp_rates << IWL_FIRST_OFDM_RATE)); in rs_get_lower_rate()
792 rate_mask = (u16)(rate_mask & lq_sta->supp_rates); in rs_get_lower_rate()
1025 if (sta && sta->deflink.supp_rates[sband->band]) in rs_tx_status()
2198 lq_sta->supp_rates = sta->deflink.supp_rates[lq_sta->band]; in rs_rate_scale_perform()
2244 (lq_sta->supp_rates << IWL_FIRST_OFDM_RATE)); in rs_rate_scale_perform()
2247 lq_sta->supp_rates); in rs_rate_scale_perform()
2762 lq_sta->supp_rates = sta->deflink.supp_rates[sband->band]; in iwl_rs_rate_init()
2779 supp = sta->deflink.supp_rates[sband->band]; in iwl_rs_rate_init()
H A Drs.h341 u32 supp_rates; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192d/
H A Dhw_common.c793 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92d_update_hal_rate_table()
795 ratr_value = sta->deflink.supp_rates[0]; in rtl92d_update_hal_rate_table()
889 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92d_update_hal_rate_mask()
891 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl92d_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/
H A Dcore.c884 if (sta->deflink.supp_rates[0] <= 0xf) in rtl_op_sta_add()
903 sta->deflink.supp_rates[0] &= 0xfffffff0; in rtl_op_sta_add()
1116 if (sta->deflink.supp_rates[0] <= 0xf) in rtl_op_bss_info_changed()
1276 if (sta->deflink.supp_rates[0] <= 0xf) in rtl_op_bss_info_changed()
1323 basic_rates = sta->deflink.supp_rates[1] << 4; in rtl_op_bss_info_changed()
1325 basic_rates = sta->deflink.supp_rates[0]; in rtl_op_bss_info_changed()
/linux/net/mac80211/
H A Dscan.c115 if (elems->supp_rates) { in ieee80211_inform_bss()
119 memcpy(bss->supp_rates, elems->supp_rates, clen); in ieee80211_inform_bss()
126 memcpy(bss->supp_rates + srlen, elems->ext_supp_rates, in ieee80211_inform_bss()
H A Dieee80211_i.h113 u8 supp_rates[IEEE80211_MAX_SUPP_RATES]; member
444 const u8 *supp_rates; member
1699 const u8 *supp_rates; member
1910 const u8 *bssid, const u8 *addr, u32 supp_rates);
1927 const u8 *bssid, const u8 *addr, u32 supp_rates);
H A Drate.c402 sta ? sta->deflink.supp_rates[sband->band] : -1, in __rate_control_send_low()
812 *mask &= sta->deflink.supp_rates[sband->band]; in rate_control_cap_mask()
H A Dmlme.c1280 assoc_data->supp_rates, in ieee80211_assoc_add_rates()
4603 u8 *supp_rates, unsigned int supp_rates_len, in ieee80211_get_rates() argument
4611 int rate = supp_rates[i] & 0x7f; in ieee80211_get_rates()
4612 bool is_basic = !!(supp_rates[i] & 0x80); in ieee80211_get_rates()
4625 if (supp_rates[i] == (0x80 | BSS_MEMBERSHIP_SELECTOR_HT_PHY) || in ieee80211_get_rates()
4626 supp_rates[i] == (0x80 | BSS_MEMBERSHIP_SELECTOR_VHT_PHY) || in ieee80211_get_rates()
4627 supp_rates[i] == (0x80 | BSS_MEMBERSHIP_SELECTOR_HE_PHY) || in ieee80211_get_rates()
4628 supp_rates[i] == (0x80 | BSS_MEMBERSHIP_SELECTOR_EHT_PHY) || in ieee80211_get_rates()
4629 supp_rates[i] == (0x80 | BSS_MEMBERSHIP_SELECTOR_SAE_H2E)) in ieee80211_get_rates()
4788 if (!is_s1g && !elems->supp_rates) { in ieee80211_assoc_config_link()
[all …]
H A Dutil.c1522 u32 supp_rates, rate_flags; in ieee80211_sta_get_rates() local
1533 supp_rates = 0; in ieee80211_sta_get_rates()
1540 rate = elems->supp_rates[i]; in ieee80211_sta_get_rates()
1559 supp_rates |= BIT(j); in ieee80211_sta_get_rates()
1565 return supp_rates; in ieee80211_sta_get_rates()
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac_mcu.c861 u16 supp_rates; in mt76_connac_mcu_sta_tlv() local
923 supp_rates = sta->deflink.supp_rates[band]; in mt76_connac_mcu_sta_tlv()
925 supp_rates = FIELD_PREP(RA_LEGACY_OFDM, supp_rates >> 4) | in mt76_connac_mcu_sta_tlv()
926 FIELD_PREP(RA_LEGACY_CCK, supp_rates & 0xf); in mt76_connac_mcu_sta_tlv()
928 supp_rates = FIELD_PREP(RA_LEGACY_OFDM, supp_rates); in mt76_connac_mcu_sta_tlv()
930 ra_info->legacy = cpu_to_le16(supp_rates); in mt76_connac_mcu_sta_tlv()
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.c1673 u16 supp_rates; in mt7925_mcu_sta_rate_ctrl_tlv() local
1684 supp_rates = link_sta->supp_rates[band]; in mt7925_mcu_sta_rate_ctrl_tlv()
1686 supp_rates = FIELD_PREP(RA_LEGACY_OFDM, supp_rates >> 4) | in mt7925_mcu_sta_rate_ctrl_tlv()
1687 FIELD_PREP(RA_LEGACY_CCK, supp_rates & 0xf); in mt7925_mcu_sta_rate_ctrl_tlv()
1689 supp_rates = FIELD_PREP(RA_LEGACY_OFDM, supp_rates); in mt7925_mcu_sta_rate_ctrl_tlv()
1691 ra_info->legacy = cpu_to_le16(supp_rates); in mt7925_mcu_sta_rate_ctrl_tlv()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dioctl.h476 u8 *supp_rates; member
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dhw.c1837 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92cu_update_hal_rate_table()
1839 ratr_value = sta->deflink.supp_rates[0]; in rtl92cu_update_hal_rate_table()
1937 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92cu_update_hal_rate_mask()
1939 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl92cu_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhw.c1847 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl8723e_update_hal_rate_table()
1849 ratr_value = sta->deflink.supp_rates[0]; in rtl8723e_update_hal_rate_table()
1947 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl8723e_update_hal_rate_mask()
1949 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl8723e_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c2018 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92se_update_hal_rate_table()
2020 ratr_value = sta->deflink.supp_rates[0]; in rtl92se_update_hal_rate_table()
2133 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92se_update_hal_rate_mask()
2135 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl92se_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c1780 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_table()
1782 ratr_value = sta->deflink.supp_rates[0]; in rtl92ce_update_hal_rate_table()
1881 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl92ce_update_hal_rate_mask()
1883 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl92ce_update_hal_rate_mask()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dhw.c1985 ratr_value = sta->deflink.supp_rates[1] << 4; in rtl88ee_update_hal_rate_table()
1987 ratr_value = sta->deflink.supp_rates[0]; in rtl88ee_update_hal_rate_table()
2085 ratr_bitmap = sta->deflink.supp_rates[1] << 4; in rtl88ee_update_hal_rate_mask()
2087 ratr_bitmap = sta->deflink.supp_rates[0]; in rtl88ee_update_hal_rate_mask()
/linux/drivers/staging/rtl8723bs/include/
H A Dieee80211.h675 u8 *supp_rates; member
/linux/drivers/net/wireless/marvell/
H A Dmwl8k.c3225 __u8 supp_rates[14]; member
3279 legacy_rate_mask_to_array(cmd->supp_rates, legacy_rate_mask); in mwl8k_cmd_set_aid()
4121 rates = sta->deflink.supp_rates[NL80211_BAND_2GHZ]; in mwl8k_cmd_set_new_stn_add()
4123 rates = sta->deflink.supp_rates[NL80211_BAND_5GHZ] << 5; in mwl8k_cmd_set_new_stn_add()
4558 rates = sta->deflink.supp_rates[NL80211_BAND_2GHZ]; in mwl8k_cmd_update_stadb_add()
4560 rates = sta->deflink.supp_rates[NL80211_BAND_5GHZ] << 5; in mwl8k_cmd_update_stadb_add()
5039 ap_legacy_rates = ap->deflink.supp_rates[NL80211_BAND_2GHZ]; in mwl8k_bss_info_changed_sta()
5042 ap->deflink.supp_rates[NL80211_BAND_5GHZ] << 5; in mwl8k_bss_info_changed_sta()
/linux/drivers/net/wireless/ath/ath6kl/
H A Dwmi.c2002 s8 *supp_rates; in ath6kl_wmi_beginscan_cmd() local
2046 supp_rates = sc->supp_rates[band].rates; in ath6kl_wmi_beginscan_cmd()
2052 supp_rates[num_rates++] = in ath6kl_wmi_beginscan_cmd()
2055 sc->supp_rates[band].nrates = num_rates; in ath6kl_wmi_beginscan_cmd()

123