Home
last modified time | relevance | path

Searched refs:nss (Results 1 - 25 of 180) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c58 u8 i, nss, mcs; in mwifiex_convert_mcsmap_to_maxrate() local
69 nss = 1; in mwifiex_convert_mcsmap_to_maxrate()
73 nss = i; in mwifiex_convert_mcsmap_to_maxrate()
75 mcs = GET_VHTNSSMCS(mcs_map, nss); in mwifiex_convert_mcsmap_to_maxrate()
77 /* if mcs is 3, nss must be 1 (NSS = 1). Default mcs to MCS 0~9 */ in mwifiex_convert_mcsmap_to_maxrate()
83 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
86 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
88 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
91 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
116 u16 mcs_user, mcs_resp, nss, tm in mwifiex_fill_vht_cap_tlv() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c46 u8 i, nss, mcs; in mwifiex_convert_mcsmap_to_maxrate() local
57 nss = 1; in mwifiex_convert_mcsmap_to_maxrate()
61 nss = i; in mwifiex_convert_mcsmap_to_maxrate()
63 mcs = GET_VHTNSSMCS(mcs_map, nss); in mwifiex_convert_mcsmap_to_maxrate()
65 /* if mcs is 3, nss must be 1 (NSS = 1). Default mcs to MCS 0~9 */ in mwifiex_convert_mcsmap_to_maxrate()
71 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
74 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
76 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
79 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
104 u16 mcs_user, mcs_resp, nss, tm in mwifiex_fill_vht_cap_tlv() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c23 u8 nss; in _rtl_rc_get_highest_rix() local
28 nss = 4; in _rtl_rc_get_highest_rix()
31 nss = 3; in _rtl_rc_get_highest_rix()
34 nss = 2; in _rtl_rc_get_highest_rix()
37 nss = 1; in _rtl_rc_get_highest_rix()
64 if (nss == 1) in _rtl_rc_get_highest_rix()
72 nss); in _rtl_rc_get_highest_rix()
77 nss); in _rtl_rc_get_highest_rix()
86 if (nss == 1) in _rtl_rc_get_highest_rix()
94 nss); in _rtl_rc_get_highest_rix()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/
H A Drc.c23 u8 nss; in _rtl_rc_get_highest_rix() local
28 nss = 4; in _rtl_rc_get_highest_rix()
31 nss = 3; in _rtl_rc_get_highest_rix()
34 nss = 2; in _rtl_rc_get_highest_rix()
37 nss = 1; in _rtl_rc_get_highest_rix()
64 if (nss == 1) in _rtl_rc_get_highest_rix()
72 nss); in _rtl_rc_get_highest_rix()
77 nss); in _rtl_rc_get_highest_rix()
86 if (nss == 1) in _rtl_rc_get_highest_rix()
94 nss); in _rtl_rc_get_highest_rix()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Deeprom.c190 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; in mt7915_eeprom_parse_hw_cap() local
209 nss = path; in mt7915_eeprom_parse_hw_cap()
213 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B0, in mt7915_eeprom_parse_hw_cap()
216 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B1, in mt7915_eeprom_parse_hw_cap()
219 nss = FIELD_GET(MT_EE_WIFI_CONF_STREAM_NUM, in mt7915_eeprom_parse_hw_cap()
227 if (!nss) in mt7915_eeprom_parse_hw_cap()
228 nss = nss_max; in mt7915_eeprom_parse_hw_cap()
229 nss = min_t(u8, min_t(u8, nss_max, nss), path); in mt7915_eeprom_parse_hw_cap()
234 mphy->antenna_mask = BIT(nss) in mt7915_eeprom_parse_hw_cap()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Deeprom.c151 u8 path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local
160 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND1, in mt7996_eeprom_parse_hw_cap()
166 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND2, in mt7996_eeprom_parse_hw_cap()
172 nss = FIELD_GET(MT_EE_WIFI_CONF4_STREAM_NUM_BAND0, in mt7996_eeprom_parse_hw_cap()
180 nss = min_t(u8, min_t(u8, 4, nss), path); in mt7996_eeprom_parse_hw_cap()
182 mphy->antenna_mask = BIT(nss) - 1; in mt7996_eeprom_parse_hw_cap()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dutil.c82 void rtw_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss) in rtw_desc_to_mcsrate() argument
89 *nss = 1; in rtw_desc_to_mcsrate()
93 *nss = 2; in rtw_desc_to_mcsrate()
97 *nss = 3; in rtw_desc_to_mcsrate()
101 *nss = 4; in rtw_desc_to_mcsrate()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dinit.c270 int nss = hweight8(phy->chainmask); in mt7915_set_stream_vht_txbf_caps() local
281 if (nss < 2) in mt7915_set_stream_vht_txbf_caps()
287 nss - 1); in mt7915_set_stream_vht_txbf_caps()
292 int vif, int nss) in mt7915_set_stream_he_txbf_caps()
335 if (nss < 2) in mt7915_set_stream_he_txbf_caps()
339 elem->phy_cap_info[7] |= min_t(int, nss - 1, 2) << 3; in mt7915_set_stream_he_txbf_caps()
348 c = (nss - 1) | (max_t(int, mcs->tx_mcs_160, 1) << 3); in mt7915_set_stream_he_txbf_caps()
359 int ru, nss, max_nss = 1, max_ru = 3; in mt7915_gen_ppe_thresh() local
368 for (nss = 0; nss < in mt7915_gen_ppe_thresh()
291 mt7915_set_stream_he_txbf_caps(struct ieee80211_sta_he_cap *he_cap, int vif, int nss) mt7915_set_stream_he_txbf_caps() argument
393 int nss = hweight8(phy->chainmask); mt7915_init_he_caps() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
30 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats()
87 STATS_OP_FMT(AMPDU).nss[0][nss] += in ath11k_debugfs_sta_add_tx_stats()
93 STATS_OP_FMT(AMPDU).nss[1][nss] += in ath11k_debugfs_sta_add_tx_stats()
102 STATS_OP_FMT(SUCC).nss[0][nss] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
106 STATS_OP_FMT(SUCC).nss[ in ath11k_debugfs_sta_add_tx_stats()
[all...]
H A Dmac.c337 int nss; in ath11k_mac_max_ht_nss() local
339 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
340 if (ht_mcs_mask[nss]) in ath11k_mac_max_ht_nss()
341 return nss + 1; in ath11k_mac_max_ht_nss()
349 int nss; in ath11k_mac_max_vht_nss() local
351 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss in ath11k_mac_max_vht_nss()
989 int nss; ath11k_peer_assoc_h_ht_masked() local
1001 int nss; ath11k_peer_assoc_h_vht_masked() local
1111 ath11k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) ath11k_mac_get_max_vht_mcs_map() argument
1126 int nss; ath11k_peer_assoc_h_vht_limit() local
1314 int nss, ru; ath11k_peer_assoc_h_he() local
2642 u8 vht_rate, nss; ath11k_mac_set_peer_vht_fixed_rate() local
2799 u32 changed, bw, nss, smps; ath11k_sta_rc_update_wk() local
3602 int nss, ru; ath11k_gen_ppe_thresh() local
4438 u16 nss; ath11k_mac_op_add_interface() local
5496 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, int *nss) ath11k_mac_bitrate_mask_get_single_nss() argument
5546 ath11k_mac_get_single_legacy_rate(struct ath11k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, u32 *rate, u8 *nss) ath11k_mac_get_single_legacy_rate() argument
5578 ath11k_mac_set_fixed_rate_params(struct ath11k_vif *arvif, u32 rate, u8 nss, u8 sgi, u8 ldpc) ath11k_mac_set_fixed_rate_params() argument
5697 u8 nss; ath11k_mac_op_set_bitrate_mask() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dutil.c82 void rtw_desc_to_mcsrate(u16 rate, u8 *mcs, u8 *nss) in rtw_desc_to_mcsrate() argument
89 *nss = 1; in rtw_desc_to_mcsrate()
93 *nss = 2; in rtw_desc_to_mcsrate()
97 *nss = 3; in rtw_desc_to_mcsrate()
101 *nss = 4; in rtw_desc_to_mcsrate()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/fw/
H A Drs.c117 u32 nss = 0; in iwl_new_rate_from_v1() local
122 nss = (rate_v1 & RATE_HT_MCS_MIMO2_MSK) >> in iwl_new_rate_from_v1()
124 rate_v2 |= nss << RATE_MCS_NSS_POS; in iwl_new_rate_from_v1()
195 u8 mcs = 0, nss = 0; in rs_pretty_print_rate() local
229 nss = ((rate & RATE_MCS_NSS_MSK) in rs_pretty_print_rate()
237 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c21 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
30 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats()
87 STATS_OP_FMT(AMPDU).nss[0][nss] += in ath11k_debugfs_sta_add_tx_stats()
93 STATS_OP_FMT(AMPDU).nss[1][nss] += in ath11k_debugfs_sta_add_tx_stats()
102 STATS_OP_FMT(SUCC).nss[0][nss] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
106 STATS_OP_FMT(SUCC).nss[ in ath11k_debugfs_sta_add_tx_stats()
[all...]
H A Dmac.c438 int nss; in ath11k_mac_max_ht_nss() local
440 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
441 if (ht_mcs_mask[nss]) in ath11k_mac_max_ht_nss()
442 return nss + 1; in ath11k_mac_max_ht_nss()
450 int nss; in ath11k_mac_max_vht_nss() local
452 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss in ath11k_mac_max_vht_nss()
462 int nss; ath11k_mac_max_he_nss() local
1043 u16 nss; ath11k_mac_monitor_vdev_create() local
1843 int nss; ath11k_peer_assoc_h_ht_masked() local
1855 int nss; ath11k_peer_assoc_h_vht_masked() local
1973 ath11k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) ath11k_mac_get_max_vht_mcs_map() argument
1988 int nss; ath11k_peer_assoc_h_vht_limit() local
2193 ath11k_mac_get_max_he_mcs_map(u16 mcs_map, int nss) ath11k_mac_get_max_he_mcs_map() argument
2207 int nss; ath11k_peer_assoc_h_he_limit() local
2250 int nss; ath11k_peer_assoc_h_he_masked() local
2371 int nss, ru; ath11k_peer_assoc_h_he() local
4397 u8 vht_rate, nss; ath11k_mac_set_peer_vht_fixed_rate() local
4447 u8 he_rate, nss; ath11k_mac_set_peer_he_fixed_rate() local
4498 u8 ht_rate, nss = 0; ath11k_mac_set_peer_ht_fixed_rate() local
4672 u32 changed, bw, nss, smps, bw_prev; ath11k_sta_rc_update_wk() local
5652 int nss, ru; ath11k_gen_ppe_thresh() local
6731 u16 nss; ath11k_mac_op_add_interface() local
7917 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, int *nss) ath11k_mac_bitrate_mask_get_single_nss() argument
7982 ath11k_mac_get_single_legacy_rate(struct ath11k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, u32 *rate, u8 *nss) ath11k_mac_get_single_legacy_rate() argument
8101 ath11k_mac_set_rate_params(struct ath11k_vif *arvif, u32 rate, u8 nss, u8 sgi, u8 ldpc, u8 he_gi, u8 he_ltf, bool he_fixed_rate) ath11k_mac_set_rate_params() argument
8326 u8 nss; ath11k_mac_op_set_bitrate_mask() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c170 int nss) in rs_fw_vht_highest_rx_mcs_index()
173 (0x3 << (2 * (nss - 1))); in rs_fw_vht_highest_rx_mcs_index()
174 rx_mcs >>= (2 * (nss - 1)); in rs_fw_vht_highest_rx_mcs_index()
209 int nss = i + 1; in rs_fw_vht_set_enabled_rates() local
211 highest_mcs = rs_fw_vht_highest_rx_mcs_index(vht_cap, nss); in rs_fw_vht_set_enabled_rates()
228 0, true, nss) >= nss) in rs_fw_vht_set_enabled_rates()
264 u8 nss = sta->rx_nss; in rs_fw_he_set_enabled_rates() local
268 nss = 1; in rs_fw_he_set_enabled_rates()
270 for (i = 0; i < nss in rs_fw_he_set_enabled_rates()
169 rs_fw_vht_highest_rx_mcs_index(const struct ieee80211_sta_vht_cap *vht_cap, int nss) rs_fw_vht_highest_rx_mcs_index() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mac.c183 u8 phy, rate_idx, nss, bw = 0; in mt76x02_mac_tx_rate_val() local
188 nss = 1 + (rate->idx >> 4); in mt76x02_mac_tx_rate_val()
196 nss = 1 + (rate->idx >> 3); in mt76x02_mac_tx_rate_val()
215 nss = 1; in mt76x02_mac_tx_rate_val()
224 *nss_val = nss; in mt76x02_mac_tx_rate_val()
234 s8 nss; in mt76x02_mac_wcid_set_rate() local
236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate()
238 FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | in mt76x02_mac_wcid_set_rate()
346 u8 nss; in mt76x02_mac_write_txwi() local
386 nss in mt76x02_mac_write_txwi()
442 u8 mcs, nss; mt76x02_tx_rate_fallback() local
[all...]
H A Dmt76x02_txrx.c67 u8 nss, idx; in mt76x02_tx_get_max_txpwr_adj() local
69 nss = ieee80211_rate_get_vht_nss(rate); in mt76x02_tx_get_max_txpwr_adj()
70 idx = ((nss - 1) << 3) + mcs; in mt76x02_tx_get_max_txpwr_adj()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mac.c183 u8 phy, rate_idx, nss, bw = 0; in mt76x02_mac_tx_rate_val() local
188 nss = 1 + (rate->idx >> 4); in mt76x02_mac_tx_rate_val()
196 nss = 1 + (rate->idx >> 3); in mt76x02_mac_tx_rate_val()
215 nss = 1; in mt76x02_mac_tx_rate_val()
224 *nss_val = nss; in mt76x02_mac_tx_rate_val()
234 s8 nss; in mt76x02_mac_wcid_set_rate() local
236 rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); in mt76x02_mac_wcid_set_rate()
238 FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | in mt76x02_mac_wcid_set_rate()
346 u8 nss; in mt76x02_mac_write_txwi() local
386 nss in mt76x02_mac_write_txwi()
442 u8 mcs, nss; mt76x02_tx_rate_fallback() local
[all...]
H A Dmt76_connac_mac.c12 void mt76_connac_gen_ppe_thresh(u8 *he_ppet, int nss) in mt76_connac_gen_ppe_thresh() argument
17 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh()
22 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh()
277 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \
286 nss = i + 1; \
299 u8 nss = 0, mode = 0, band = chandef->chan->band; in mt76_connac2_mac_tx_rate_val() local
336 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val()
623 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs()
626 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs()
627 rate.nss >> in mt76_connac2_mac_fill_txs()
1003 u8 stbc, gi, bw, dcm, nss; mt76_connac2_mac_fill_rx_rate() local
[all...]
/kernel/linux/linux-6.6/net/mac80211/
H A Dvht.c557 /* get the max nss for EHT over all possible bandwidths and mcs */ in ieee80211_sta_set_rx_nss()
640 u8 nss, cur_nss; in __ieee80211_vht_handle_opmode() local
646 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode()
647 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in __ieee80211_vht_handle_opmode()
648 nss += 1; in __ieee80211_vht_handle_opmode()
650 if (link_sta->pub->rx_nss != nss) { in __ieee80211_vht_handle_opmode()
653 * will set the same to max nss value calculated based on capability. in __ieee80211_vht_handle_opmode()
657 /* Do not allow an nss change to rx_nss greater than max_nss in __ieee80211_vht_handle_opmode()
660 if (nss <= link_sta->pub->rx_nss) { in __ieee80211_vht_handle_opmode()
661 link_sta->pub->rx_nss = nss; in __ieee80211_vht_handle_opmode()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dmac.c407 int nss; in ath12k_mac_max_ht_nss() local
409 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath12k_mac_max_ht_nss()
410 if (ht_mcs_mask[nss]) in ath12k_mac_max_ht_nss()
411 return nss + 1; in ath12k_mac_max_ht_nss()
419 int nss; in ath12k_mac_max_vht_nss() local
421 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss in ath12k_mac_max_vht_nss()
919 u16 nss; ath12k_mac_monitor_vdev_create() local
1333 int nss; ath12k_peer_assoc_h_ht_masked() local
1345 int nss; ath12k_peer_assoc_h_vht_masked() local
1455 ath12k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) ath12k_mac_get_max_vht_mcs_map() argument
1470 int nss; ath12k_peer_assoc_h_vht_limit() local
1698 int nss, ru; ath12k_peer_assoc_h_he() local
2108 u8 nss, ru, i; ath12k_mac_set_eht_ppe_threshold() local
3296 u8 vht_rate, nss; ath12k_mac_set_peer_vht_fixed_rate() local
3453 u32 changed, bw, nss, smps, bw_prev; ath12k_sta_rc_update_wk() local
4312 int nss, ru; ath12k_gen_ppe_thresh() local
4526 u8 i, nss, ru, ppet_bit_len_per_ru = IEEE80211_EHT_PPE_THRES_INFO_PPET_SIZE * 2; ath12k_mac_copy_eht_ppe_thresh() local
5318 u16 nss; ath12k_mac_op_add_interface() local
6419 ath12k_mac_bitrate_mask_get_single_nss(struct ath12k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, int *nss) ath12k_mac_bitrate_mask_get_single_nss() argument
6469 ath12k_mac_get_single_legacy_rate(struct ath12k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, u32 *rate, u8 *nss) ath12k_mac_get_single_legacy_rate() argument
6501 ath12k_mac_set_fixed_rate_params(struct ath12k_vif *arvif, u32 rate, u8 nss, u8 sgi, u8 ldpc) ath12k_mac_set_fixed_rate_params() argument
6620 u8 nss; ath12k_mac_op_set_bitrate_mask() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c114 int nss) in rs_fw_vht_highest_rx_mcs_index()
117 (0x3 << (2 * (nss - 1))); in rs_fw_vht_highest_rx_mcs_index()
118 rx_mcs >>= (2 * (nss - 1)); in rs_fw_vht_highest_rx_mcs_index()
153 int nss = i + 1; in rs_fw_vht_set_enabled_rates() local
155 highest_mcs = rs_fw_vht_highest_rx_mcs_index(vht_cap, nss); in rs_fw_vht_set_enabled_rates()
172 0, true, nss) >= nss) in rs_fw_vht_set_enabled_rates()
206 u8 nss = link_sta->rx_nss; in rs_fw_he_set_enabled_rates() local
210 nss = 1; in rs_fw_he_set_enabled_rates()
212 for (i = 0; i < nss in rs_fw_he_set_enabled_rates()
113 rs_fw_vht_highest_rx_mcs_index(const struct ieee80211_sta_vht_cap *vht_cap, int nss) rs_fw_vht_highest_rx_mcs_index() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dmac.c166 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument
168 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map()
179 int nss; in ath10k_mac_max_ht_nss() local
181 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss()
182 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss()
183 return nss + 1; in ath10k_mac_max_ht_nss()
191 int nss; in ath10k_mac_max_vht_nss() local
193 for (nss in ath10k_mac_max_vht_nss()
2268 int nss; ath10k_peer_assoc_h_ht_masked() local
2280 int nss; ath10k_peer_assoc_h_vht_masked() local
2468 int nss; ath10k_peer_assoc_h_vht_limit() local
2516 u32 nss; get_160mhz_nss_from_maxrate() local
5586 u16 nss = get_nss_from_chainmask(ar->cfg_tx_chainmask); ath10k_add_interface() local
6572 u32 changed, bw, nss, smps; ath10k_sta_rc_update_wk() local
6759 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, u8 *rate, u8 *nss, bool vht_only) ath10k_mac_bitrate_mask_get_single_rate() argument
6821 ath10k_mac_validate_rate_mask(struct ath10k *ar, struct ieee80211_sta *sta, u32 rate_ctrl_flag, u8 nss) ath10k_mac_validate_rate_mask() argument
6861 u8 nss, rate; ath10k_mac_tid_bitrate_config() local
7179 u8 nss; ath10k_sta_tid_cfg_wk() local
8051 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, int *nss) ath10k_mac_bitrate_mask_get_single_nss() argument
8099 ath10k_mac_set_fixed_rate_params(struct ath10k_vif *arvif, u8 rate, u8 nss, u8 sgi, u8 ldpc) ath10k_mac_set_fixed_rate_params() argument
8246 u8 nss; ath10k_mac_op_set_bitrate_mask() local
8976 ath10k_mac_get_rate_flags_ht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags_ht() argument
9014 ath10k_mac_get_rate_flags_vht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags_vht() argument
9044 ath10k_mac_get_rate_flags(struct ath10k *ar, u32 rate, enum ath10k_phy_mode mode, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags() argument
9062 u8 nss = WMI_TLV_GET_HW_RC_NSS_V1(rate_code) + 1; ath10k_mac_parse_bitrate() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A Dmac.c177 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument
179 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map()
190 int nss; in ath10k_mac_max_ht_nss() local
192 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss()
193 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss()
194 return nss + 1; in ath10k_mac_max_ht_nss()
202 int nss; in ath10k_mac_max_vht_nss() local
204 for (nss in ath10k_mac_max_vht_nss()
2280 int nss; ath10k_peer_assoc_h_ht_masked() local
2292 int nss; ath10k_peer_assoc_h_vht_masked() local
2481 int nss; ath10k_peer_assoc_h_vht_limit() local
2529 u32 nss; get_160mhz_nss_from_maxrate() local
5734 u16 nss = get_nss_from_chainmask(ar->cfg_tx_chainmask); ath10k_add_interface() local
6721 u32 changed, bw, nss, smps; ath10k_sta_rc_update_wk() local
6908 ath10k_mac_bitrate_mask_get_single_rate(struct ath10k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, u8 *rate, u8 *nss, bool vht_only) ath10k_mac_bitrate_mask_get_single_rate() argument
6970 ath10k_mac_validate_rate_mask(struct ath10k *ar, struct ieee80211_sta *sta, u32 rate_ctrl_flag, u8 nss) ath10k_mac_validate_rate_mask() argument
7013 u8 nss, rate; ath10k_mac_tid_bitrate_config() local
7331 u8 nss; ath10k_sta_tid_cfg_wk() local
8212 ath10k_mac_bitrate_mask_get_single_nss(struct ath10k *ar, enum nl80211_band band, const struct cfg80211_bitrate_mask *mask, int *nss) ath10k_mac_bitrate_mask_get_single_nss() argument
8260 ath10k_mac_set_fixed_rate_params(struct ath10k_vif *arvif, u8 rate, u8 nss, u8 sgi, u8 ldpc) ath10k_mac_set_fixed_rate_params() argument
8407 u8 nss; ath10k_mac_op_set_bitrate_mask() local
9140 ath10k_mac_get_rate_flags_ht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags_ht() argument
9178 ath10k_mac_get_rate_flags_vht(struct ath10k *ar, u32 rate, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags_vht() argument
9208 ath10k_mac_get_rate_flags(struct ath10k *ar, u32 rate, enum ath10k_phy_mode mode, u8 nss, u8 mcs, u8 *flags, u8 *bw) ath10k_mac_get_rate_flags() argument
9226 u8 nss = WMI_TLV_GET_HW_RC_NSS_V1(rate_code) + 1; ath10k_mac_parse_bitrate() local
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dvht.c561 u8 nss; in __ieee80211_vht_handle_opmode() local
567 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode()
568 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in __ieee80211_vht_handle_opmode()
569 nss += 1; in __ieee80211_vht_handle_opmode()
571 if (sta->sta.rx_nss != nss) { in __ieee80211_vht_handle_opmode()
572 sta->sta.rx_nss = nss; in __ieee80211_vht_handle_opmode()
573 sta_opmode.rx_nss = nss; in __ieee80211_vht_handle_opmode()

Completed in 34 milliseconds

12345678