| /linux/drivers/net/wireless/nxp/nxpwifi/ |
| H A D | 11ac.c | 40 u8 i, nss, mcs; in nxpwifi_convert_mcsmap_to_maxrate() local 51 nss = 1; in nxpwifi_convert_mcsmap_to_maxrate() 55 nss = i; in nxpwifi_convert_mcsmap_to_maxrate() 57 mcs = GET_VHTNSSMCS(mcs_map, nss); in nxpwifi_convert_mcsmap_to_maxrate() 65 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in nxpwifi_convert_mcsmap_to_maxrate() 68 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in nxpwifi_convert_mcsmap_to_maxrate() 70 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in nxpwifi_convert_mcsmap_to_maxrate() 73 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; in nxpwifi_convert_mcsmap_to_maxrate() 99 u16 mcs_user, mcs_resp, nss, tmp; in nxpwifi_fill_vht_cap_tlv() local 109 for (nss = 1; nss <= 8; nss++) { in nxpwifi_fill_vht_cap_tlv() [all …]
|
| H A D | 11ax.c | 102 u8 nss; in nxpwifi_fill_he_cap_tlv() local 125 for (nss = 1; nss <= 8; nss++) { in nxpwifi_fill_he_cap_tlv() 126 cfg_value = nxpwifi_get_he_nss_mcs(he_cap->rx_mcs_80, nss); in nxpwifi_fill_he_cap_tlv() 127 hw_value = nxpwifi_get_he_nss_mcs(hw_he_cap->rx_mcs_80, nss); in nxpwifi_fill_he_cap_tlv() 128 if (rx_nss != 0 && nss > rx_nss) in nxpwifi_fill_he_cap_tlv() 131 nxpwifi_set_he_nss_mcs(&he_cap->rx_mcs_80, nss, in nxpwifi_fill_he_cap_tlv() 134 nxpwifi_set_he_nss_mcs(&he_cap->rx_mcs_80, nss, in nxpwifi_fill_he_cap_tlv() 138 for (nss in nxpwifi_fill_he_cap_tlv() [all...] |
| H A D | 11ax.h | 18 nxpwifi_get_he_nss_mcs(__le16 mcs_map_set, int nss) { in nxpwifi_get_he_nss_mcs() argument 19 return ((le16_to_cpu(mcs_map_set) >> (2 * (nss - 1))) & 0x3); in nxpwifi_get_he_nss_mcs() 23 nxpwifi_set_he_nss_mcs(__le16 *mcs_map_set, int nss, int value) { in nxpwifi_set_he_nss_mcs() argument 27 temp |= ((value & 0x3) << (2 * (nss - 1))); in nxpwifi_set_he_nss_mcs()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | 11ac.c | 46 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() 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, tmp; in mwifiex_fill_vht_cap_tlv() local 114 for (nss = 1; nss <= 8; nss++) { in mwifiex_fill_vht_cap_tlv() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | eeprom.c | 68 u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_stream() argument 76 *nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND1, in mt7996_eeprom_parse_stream() 84 *nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND2, in mt7996_eeprom_parse_stream() 92 *nss = FIELD_GET(MT_EE_WIFI_CONF4_STREAM_NUM_BAND0, in mt7996_eeprom_parse_stream() 120 u8 path, rx_path, nss; in mt7996_eeprom_variant_valid() local 126 mt7996_eeprom_parse_stream(eeprom, i, &path, &rx_path, &nss); in mt7996_eeprom_variant_valid() 129 if (path > def_path || rx_path > def_rx_path || nss > def_nss) in mt7996_eeprom_variant_valid() 237 u8 *path, u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_efuse_hw_cap() argument 255 *nss = min_t(u8, *nss, STREAM_CAP(1 + band_offs)); in mt7996_eeprom_parse_efuse_hw_cap() 305 u8 path, rx_path, nss, band_idx = phy->mt76->band_idx; in mt7996_eeprom_parse_hw_cap() local [all …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | rc.c | 23 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 …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | eeprom.c | 224 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; in mt7915_eeprom_parse_hw_cap() 243 nss = path; in mt7915_eeprom_parse_hw_cap() 247 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B0, in mt7915_eeprom_parse_hw_cap() 250 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B1, in mt7915_eeprom_parse_hw_cap() 253 nss = FIELD_GET(MT_EE_WIFI_CONF_STREAM_NUM, in mt7915_eeprom_parse_hw_cap() 261 if (!nss) in mt7915_eeprom_parse_hw_cap() 262 nss = nss_max; in mt7915_eeprom_parse_hw_cap() 263 nss = min_t(u8, min_t(u8, nss_max, nss), path); in mt7915_eeprom_parse_hw_cap() 268 mphy->antenna_mask = BIT(nss) in mt7915_eeprom_init() 218 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; mt7915_eeprom_parse_hw_cap() local [all...] |
| H A D | mcu.c | 45 u8 nss; in mt7915_mcu_get_sta_nss() local 47 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss() 48 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7915_mcu_get_sta_nss() 54 return nss ? nss - 1 : 0; in mt7915_mcu_get_sta_nss() 65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() local 67 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs() 70 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7915_mcu_set_sta_he_mcs() 84 mcs = mcs ? fls(mcs & mask[nss]) - 1 : -1; in mt7915_mcu_set_sta_he_mcs() 100 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs() 101 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs() [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_interface_stress.sh | 22 setup_ns nsc nsr nss 29 ip -net $nss link add sr0 type veth peer name rs0 netns $nsr 30 ip -net $nss addr add 10.1.0.1/24 dev sr0 31 ip -net $nss link set sr0 up 32 ip -net $nss route add default via 10.1.0.2 91 ip netns exec $nss iperf3 --server --daemon -1
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | util.c | 82 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() 105 *nss = 0; in rtw_desc_to_mcsrate()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | dp_mon.c | 20 rx_status->nss = ppdu_info->nss; in ath12k_dp_mon_fill_rx_stats_info() 113 u8 rate_mcs, nss, sgi; in ath12k_dp_mon_fill_rx_rate() 118 nss = ppdu_info->nss; in ath12k_dp_mon_fill_rx_rate() 142 rx_status->rate_idx = rate_mcs + (8 * (nss - 1)); in ath12k_dp_mon_fill_rx_rate() 399 rxs->nss = ppduinfo->nss; in ath12k_dp_mon_update_radiotap() 757 u32 nss_idx = (user_stats) ? user_stats->nss - 1 : ppdu_info->nss in ath12k_dp_mon_rx_update_peer_rate_table_stats() 114 u8 rate_mcs, nss, sgi; ath12k_dp_mon_fill_rx_rate() local [all...] |
| H A D | mac.c | 515 int nss; in ath12k_mac_max_ht_nss() local 517 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath12k_mac_max_ht_nss() 518 if (ht_mcs_mask[nss]) in ath12k_mac_max_ht_nss() 519 return nss + 1; in ath12k_mac_max_ht_nss() 527 int nss; in ath12k_mac_max_vht_nss() local 529 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss in ath12k_mac_max_vht_nss() 539 int nss; ath12k_mac_max_he_nss() local 551 int nss; ath12k_mac_max_eht_nss() local 564 u8 nss = 0; ath12k_mac_max_eht_mcs_nss() local 2158 int nss; ath12k_peer_assoc_h_ht_masked() local 2170 int nss; ath12k_peer_assoc_h_vht_masked() local 2296 ath12k_mac_get_max_vht_mcs_map(u16 mcs_map,int nss) ath12k_mac_get_max_vht_mcs_map() argument 2311 int nss; ath12k_peer_assoc_h_vht_limit() local 2525 ath12k_mac_get_max_he_mcs_map(u16 mcs_map,int nss) ath12k_mac_get_max_he_mcs_map() argument 2539 int nss; ath12k_peer_assoc_h_he_limit() local 2582 int nss; ath12k_peer_assoc_h_he_masked() local 2716 int nss, ru; ath12k_peer_assoc_h_he() local 3154 int nss; ath12k_peer_assoc_h_eht_masked() local 3274 int nss; ath12k_mac_set_eht_mcs() local 3314 u8 nss, ru, i; ath12k_mac_set_eht_ppe_threshold() local 6361 u8 vht_rate, nss; ath12k_mac_set_peer_vht_fixed_rate() local 6407 u8 he_rate, nss; ath12k_mac_set_peer_he_fixed_rate() local 6464 u8 eht_rate, nss = 0; ath12k_mac_set_peer_eht_fixed_rate() local 6724 u32 changed, bw, nss, mac_nss, smps, bw_prev; ath12k_sta_rc_update_wk() local 8640 int nss, ru; ath12k_gen_ppe_thresh() local 8897 u8 i, nss, ru, ppet_bit_len_per_ru = IEEE80211_EHT_PPE_THRES_INFO_PPET_SIZE * 2; ath12k_mac_copy_eht_ppe_thresh() local 10424 u16 nss; ath12k_mac_vdev_create() local 12786 ath12k_mac_bitrate_mask_get_single_nss(struct ath12k * ar,struct ieee80211_vif * vif,enum nl80211_band band,const struct cfg80211_bitrate_mask * mask,int * nss) ath12k_mac_bitrate_mask_get_single_nss() argument 12913 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 13052 ath12k_mac_set_rate_params(struct ath12k_link_vif * arvif,u32 rate,u8 nss,u8 sgi,u8 ldpc,u8 he_gi,u8 he_ltf,bool he_fixed_rate,u8 eht_gi,u8 eht_ltf,bool eht_fixed_rate) ath12k_mac_set_rate_params() argument 13372 u8 nss, mac_nss; ath12k_mac_op_set_bitrate_mask() local [all...] |
| H A D | debugfs.c | 349 static u16 ath12k_get_ratecode(u16 pream_idx, u16 nss, u16 mcs_rate) in ath12k_get_ratecode() argument 397 return ((mode_type << 8) | ((nss & 0x7) << 5) | (mcs_rate & 0x1F)); in ath12k_get_ratecode() 425 int nss, rates, chains; in ath12k_tpc_fill_pream() local 457 for (nss = 0; nss < max_nss; nss++) { in ath12k_tpc_fill_pream() 474 rate_code = ath12k_get_ratecode(pream_bw, nss, rates); in ath12k_tpc_fill_pream() 480 if (nss > chains) { in ath12k_tpc_fill_pream() 520 u8 nss, active_tx_chains; in ath12k_tpc_stats_print() local 627 nss in ath12k_tpc_stats_print() [all...] |
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | ipq806x-dwmac.txt | 12 - qcom,nss-common: should contain a phandle to a syscon device mapping the 13 nss-common registers. 27 qcom,nss-common = <&nss_common>;
|
| /linux/drivers/net/wireless/mediatek/mt76/ |
| H A D | mt76_connac_mac.c | 12 void mt76_connac_gen_ppe_thresh(u8 *he_ppet, int nss, enum nl80211_band band) in mt76_connac_gen_ppe_thresh() argument 20 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 25 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh() 290 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ 299 nss = i + 1; \ 309 u8 nss = 0, mode = 0, band = NL80211_BAND_2GHZ; in mt76_connac2_mac_tx_rate_val() local 363 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val() 668 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs() 671 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs() 672 rate.nss >> in mt76_connac2_mac_fill_txs() 1045 u8 stbc, gi, bw, dcm, nss; mt76_connac2_mac_fill_rx_rate() local [all...] |
| H A D | mt76x02_mac.c | 183 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() 350 u8 nss; in mt76x02_mac_write_txwi() 390 nss in mt76x02_mac_write_txwi() 346 u8 nss; mt76x02_mac_write_txwi() local 442 u8 mcs, nss; mt76x02_tx_rate_fallback() local [all...] |
| /linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | rs-fw.c | 114 int nss) in rs_fw_vht_highest_rx_mcs_index() argument 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 && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_he_set_enabled_rates()
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | mac.c | 436 int nss; in ath11k_mac_max_ht_nss() local 438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss() 439 if (ht_mcs_mask[nss]) in ath11k_mac_max_ht_nss() 440 return nss + 1; in ath11k_mac_max_ht_nss() 448 int nss; in ath11k_mac_max_vht_nss() local 450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss in ath11k_mac_max_vht_nss() 460 int nss; ath11k_mac_max_he_nss() local 1058 u16 nss; ath11k_mac_monitor_vdev_create() local 1954 int nss; ath11k_peer_assoc_h_ht_masked() local 1966 int nss; ath11k_peer_assoc_h_vht_masked() local 2084 ath11k_mac_get_max_vht_mcs_map(u16 mcs_map,int nss) ath11k_mac_get_max_vht_mcs_map() argument 2099 int nss; ath11k_peer_assoc_h_vht_limit() local 2304 ath11k_mac_get_max_he_mcs_map(u16 mcs_map,int nss) ath11k_mac_get_max_he_mcs_map() argument 2318 int nss; ath11k_peer_assoc_h_he_limit() local 2361 int nss; ath11k_peer_assoc_h_he_masked() local 2482 int nss, ru; ath11k_peer_assoc_h_he() local 4732 u8 vht_rate, nss; ath11k_mac_set_peer_vht_fixed_rate() local 4782 u8 he_rate, nss; ath11k_mac_set_peer_he_fixed_rate() local 4833 u8 ht_rate, nss = 0; ath11k_mac_set_peer_ht_fixed_rate() local 5015 u32 changed, bw, nss, smps, bw_prev; ath11k_sta_rc_update_wk() local 5812 int nss, ru; ath11k_gen_ppe_thresh() local 7100 u16 nss; ath11k_mac_op_add_interface() local 8711 ath11k_mac_bitrate_mask_get_single_nss(struct ath11k * ar,struct ath11k_vif * arvif,enum nl80211_band band,const struct cfg80211_bitrate_mask * mask,int * nss) ath11k_mac_bitrate_mask_get_single_nss() argument 8781 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 8898 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 9122 u8 nss; ath11k_mac_op_set_bitrate_mask() local [all...] |
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 181 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument 183 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map() 194 int nss; in ath10k_mac_max_ht_nss() local 196 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss() 197 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss() 198 return nss + 1; in ath10k_mac_max_ht_nss() 206 int nss; in ath10k_mac_max_vht_nss() local 208 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss() 209 if (vht_mcs_mask[nss]) in ath10k_mac_max_vht_nss() 210 return nss + 1; in ath10k_mac_max_vht_nss() [all …]
|
| H A D | htt_rx.c | 989 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local 1029 nss = mcs >> 3; in ath10k_htt_rx_h_rates() 1054 nss = (nsts_su >> 2) + 1; in ath10k_htt_rx_h_rates() 1056 nss = (nsts_su + 1); in ath10k_htt_rx_h_rates() 1069 nss = 1; in ath10k_htt_rx_h_rates() 1096 status->nss = nss; in ath10k_htt_rx_h_rates() 1298 status->nss = 0; in ath10k_htt_rx_h_ppdu() 1396 status->nss, in ath10k_process_rx() 3672 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local 3683 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mac.c | 269 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local 278 nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; in mt7925_mac_fill_rx_rate() 302 status->nss = nss; in mt7925_mac_fill_rx_rate() 313 status->nss = nss; in mt7925_mac_fill_rx_rate() 325 status->nss = nss; in mt7925_mac_fill_rx_rate() 958 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt7925_mac_add_txs_skb() 961 if (stbc && rate.nss > in mt7925_mac_add_txs_skb() [all...] |
| /linux/net/mac80211/ |
| H A D | rc80211_minstrel_ht.c | 288 minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map) in minstrel_get_valid_vht_rates() argument 293 if (nss != 3 && nss != 6) in minstrel_get_valid_vht_rates() 296 if (nss == 3 || nss == 7) in minstrel_get_valid_vht_rates() 298 else if (nss == 6) in minstrel_get_valid_vht_rates() 304 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { in minstrel_get_valid_vht_rates() 364 return VHT_GROUP_IDX(rate->nss, in minstrel_vht_ri_get_group_idx() 1241 return rate->nss <= MINSTREL_MAX_STREAMS && in minstrel_ht_ri_txstat_rate_valid() 1808 int bw, nss; in minstrel_ht_update_caps() local 1828 nss = minstrel_mcs_groups[i].streams; in minstrel_ht_update_caps() 1831 if (sta->deflink.smps_mode == IEEE80211_SMPS_STATIC && nss > 1) in minstrel_ht_update_caps() [all …]
|
| H A D | sta_info.h | 1121 r |= STA_STATS_FIELD(VHT_NSS, s->nss); in sta_stats_encode_rate() 1135 r |= STA_STATS_FIELD(HE_NSS, s->nss); in sta_stats_encode_rate() 1143 r |= STA_STATS_FIELD(EHT_NSS, s->nss); in sta_stats_encode_rate() 1150 r |= STA_STATS_FIELD(UHR_NSS, s->nss); in sta_stats_encode_rate() 1159 r |= STA_STATS_FIELD(S1G_NSS, s->nss); in sta_stats_encode_rate()
|
| H A D | airtime.c | 538 streams = status->nss; in ieee80211_get_rate_duration() 548 streams = status->nss; in ieee80211_get_rate_duration() 555 streams = status->nss; in ieee80211_get_rate_duration() 654 stat->nss = ri->nss; in ieee80211_fill_rate_info() 728 stat->nss = ieee80211_rate_get_vht_nss(rate); in ieee80211_fill_rx_status()
|
| /linux/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | sta.c | 151 struct iwl_he_pkt_ext_v2 *pkt_ext, u8 nss, in iwl_mld_parse_ppe() argument 155 /* FW currently supports only nss == MAX_HE_SUPP_NSS in iwl_mld_parse_ppe() 157 * If nss > MAX: we can ignore values we don't support in iwl_mld_parse_ppe() 158 * If nss < MAX: we can set zeros in other streams in iwl_mld_parse_ppe() 160 if (nss > MAX_HE_SUPP_NSS) { in iwl_mld_parse_ppe() 161 IWL_DEBUG_INFO(mld, "Got NSS = %d - trimming to %d\n", nss, in iwl_mld_parse_ppe() 163 nss = MAX_HE_SUPP_NSS; in iwl_mld_parse_ppe() 166 for (int i = 0; i < nss; i++) { in iwl_mld_parse_ppe() 204 u8 nss = (link_sta->he_cap.ppe_thres[0] & in iwl_mld_set_pkt_ext_from_he_ppe() local 213 iwl_mld_parse_ppe(mld, pkt_ext, nss, ru_index_bitma in iwl_mld_set_pkt_ext_from_he_ppe() 300 u8 nss = (link_sta->eht_cap.eht_ppe_thres[0] & iwl_mld_fill_pkt_ext() local [all...] |