| /linux-6.15/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() 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() 120 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv() 123 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv() 137 for (nss = 1; nss <= 8; nss++) { in mwifiex_fill_vht_cap_tlv() 142 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv() [all …]
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | eeprom.c | 60 u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_stream() argument 68 *nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND1, in mt7996_eeprom_parse_stream() 76 *nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND2, in mt7996_eeprom_parse_stream() 84 *nss = FIELD_GET(MT_EE_WIFI_CONF4_STREAM_NUM_BAND0, in mt7996_eeprom_parse_stream() 112 u8 path, rx_path, nss; in mt7996_eeprom_variant_valid() local 216 u8 *path, u8 *rx_path, u8 *nss) in mt7996_eeprom_parse_efuse_hw_cap() argument 234 *nss = min_t(u8, *nss, STREAM_CAP(1 + band_offs)); in mt7996_eeprom_parse_efuse_hw_cap() 298 if (!nss || nss > max_nss) in mt7996_eeprom_parse_hw_cap() 299 nss = max_nss; in mt7996_eeprom_parse_hw_cap() 301 nss = min_t(u8, nss, path); in mt7996_eeprom_parse_hw_cap() [all …]
|
| /linux-6.15/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-6.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | eeprom.c | 218 u8 path, nss, nss_max = 4, *eeprom = dev->mt76.eeprom.data; in mt7915_eeprom_parse_hw_cap() local 237 nss = path; in mt7915_eeprom_parse_hw_cap() 241 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B0, in mt7915_eeprom_parse_hw_cap() 244 nss = FIELD_GET(MT_EE_WIFI_CONF3_TX_PATH_B1, in mt7915_eeprom_parse_hw_cap() 247 nss = FIELD_GET(MT_EE_WIFI_CONF_STREAM_NUM, in mt7915_eeprom_parse_hw_cap() 255 if (!nss) in mt7915_eeprom_parse_hw_cap() 256 nss = nss_max; in mt7915_eeprom_parse_hw_cap() 257 nss = min_t(u8, min_t(u8, nss_max, nss), path); in mt7915_eeprom_parse_hw_cap() 262 mphy->antenna_mask = BIT(nss) - 1; in mt7915_eeprom_parse_hw_cap()
|
| 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() 54 return nss - 1; in mt7915_mcu_get_sta_nss() 67 for (nss = 0; nss < max_nss; nss++) { 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() 122 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs() 137 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs() 152 for (nss = 0; nss < max_nss; nss++) in mt7915_mcu_set_sta_ht_mcs() 153 ht_mcs[nss] = sta->deflink.ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs() [all …]
|
| /linux-6.15/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()
|
| H A D | main.c | 1012 int i, nss; in get_vht_ra_mask() local 1015 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { in get_vht_ra_mask() 1019 ra_mask |= 0x3ffULL << nss; in get_vht_ra_mask() 1022 ra_mask |= 0x1ffULL << nss; in get_vht_ra_mask() 1025 ra_mask |= 0x0ffULL << nss; in get_vht_ra_mask() 1249 else if (efuse->hw_cap.nss == 2) in rtw_update_sta_info() 1312 tx_num = efuse->hw_cap.nss; in rtw_update_sta_info() 1589 for (i = 0; i < efuse->hw_cap.nss; i++) in rtw_init_ht_cap() 1625 if (i < efuse->hw_cap.nss) in rtw_init_vht_cap() 1957 efuse->hw_cap.nss = rtwdev->hal.rf_path_num; in rtw_dump_hw_feature() [all …]
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/fw/ |
| H A D | rs.c | 117 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 228 nss = ((rate & RATE_MCS_NSS_MSK) in rs_pretty_print_rate() 236 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate()
|
| /linux-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_sta.c | 31 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats() 88 STATS_OP_FMT(AMPDU).nss[0][nss] += in ath11k_debugfs_sta_add_tx_stats() 94 STATS_OP_FMT(AMPDU).nss[1][nss] += in ath11k_debugfs_sta_add_tx_stats() 103 STATS_OP_FMT(SUCC).nss[0][nss] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 107 STATS_OP_FMT(SUCC).nss[1][nss] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 111 STATS_OP_FMT(FAIL).nss[0][nss] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 115 STATS_OP_FMT(FAIL).nss[1][nss] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 119 STATS_OP_FMT(RETRY).nss[0][nss] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 123 STATS_OP_FMT(RETRY).nss[1][nss] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() 198 stats->nss[j][0], stats->nss[j][1], in ath11k_dbg_sta_dump_tx_stats() [all …]
|
| H A D | mac.c | 438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss() 450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss() 462 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_he_nss() 1927 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath11k_peer_assoc_h_ht_masked() 1939 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) in ath11k_peer_assoc_h_vht_masked() 2074 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { in ath11k_peer_assoc_h_vht_limit() 2293 for (nss = 0; nss < NL80211_HE_NSS_MAX; nss++) { in ath11k_peer_assoc_h_he_limit() 2334 for (nss = 0; nss < NL80211_HE_NSS_MAX; nss++) in ath11k_peer_assoc_h_he_masked() 4801 nss = arsta->nss; in ath11k_sta_rc_update_wk() 4808 nss = max_t(u32, 1, nss); in ath11k_sta_rc_update_wk() [all …]
|
| /linux-6.15/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-6.15/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs_sta.c | 25 int mcs = 0, bw = 0, nss = 0, gi = 0, bw_num = 0; in ath12k_dbg_sta_dump_rate_stats() local 85 if (stats->rx_rate[bw][gi][nss][mcs]) { in ath12k_dbg_sta_dump_rate_stats() 113 bw_num, gi, nss + 1, nss + 1); in ath12k_dbg_sta_dump_rate_stats() 116 if (stats->rx_rate[bw][gi][nss][mcs]) in ath12k_dbg_sta_dump_rate_stats() 119 stats->rx_rate[bw][gi][nss][mcs]); in ath12k_dbg_sta_dump_rate_stats() 123 if (nss++ >= max_mcs - 1) { in ath12k_dbg_sta_dump_rate_stats() 124 nss = 0; in ath12k_dbg_sta_dump_rate_stats()
|
| H A D | debugfs.c | 279 static u16 ath12k_get_ratecode(u16 pream_idx, u16 nss, u16 mcs_rate) in ath12k_get_ratecode() argument 355 int nss, rates, chains; in ath12k_tpc_fill_pream() local 387 for (nss = 0; nss < max_nss; nss++) { in ath12k_tpc_fill_pream() 404 rate_code = ath12k_get_ratecode(pream_bw, nss, rates); in ath12k_tpc_fill_pream() 410 if (nss > chains) { in ath12k_tpc_fill_pream() 450 u8 nss, active_tx_chains; in ath12k_tpc_stats_print() local 557 nss = (max_nss[i - 1] < num_tx_chain ? in ath12k_tpc_stats_print() 560 rate_idx[i] = rate_idx[i - 1] + max_rates[i - 1] * nss; in ath12k_tpc_stats_print() 563 eht_rate_idx[j] = eht_rate_idx[j - 1] + max_rates[i] * nss; in ath12k_tpc_stats_print() 569 nss = (max_nss[i] < num_tx_chain ? in ath12k_tpc_stats_print() [all …]
|
| H A D | mac.c | 504 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath12k_mac_max_ht_nss() 516 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath12k_mac_max_vht_nss() 2068 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath12k_peer_assoc_h_ht_masked() 2080 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) in ath12k_peer_assoc_h_vht_masked() 2217 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { in ath12k_peer_assoc_h_vht_limit() 2482 for (nss = 0; nss <= arg->peer_ppet.numss_m1; nss++) { in ath12k_peer_assoc_h_he() 3000 for (nss = 0; nss <= ppet->numss_m1; nss++) { in ath12k_mac_set_eht_ppe_threshold() 5177 nss = arsta->nss; in ath12k_sta_rc_update_wk() 5182 nss = max_t(u32, 1, nss); in ath12k_sta_rc_update_wk() 6520 for (nss = 0; nss <= fw_ppet->numss_m1; nss++) { in ath12k_gen_ppe_thresh() [all …]
|
| H A D | dp_mon.c | 115 ppdu_info->nss); in ath12k_dp_mon_parse_vht_sig_a() 132 ppdu_info->nss = (ppdu_info->mcs >> 3); in ath12k_dp_mon_parse_ht_sig() 1264 mon_rx_user_status->nss = ppdu_info->nss; in ath12k_dp_mon_hal_rx_parse_user_info() 1868 rxs->nss = ppduinfo->nss + 1; in ath12k_dp_mon_update_radiotap() 2011 status->nss, in ath12k_dp_mon_rx_deliver_msdu() 2774 tx_ppdu_info->rx_status.nss = in ath12k_dp_mon_tx_parse_status_tlv() 2920 u32 nss_idx = (user_stats) ? user_stats->nss - 1 : ppdu_info->nss - 1; in ath12k_dp_mon_rx_update_peer_rate_table_stats() 2969 ppdu_info->nss = 1; in ath12k_dp_mon_rx_update_peer_su_stats() 3004 if (ppdu_info->nss > 0 && ppdu_info->nss <= HAL_RX_MAX_NSS) { in ath12k_dp_mon_rx_update_peer_su_stats() 3084 rx_user_status->nss = in ath12k_dp_mon_rx_process_ulofdma() [all …]
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| 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 238 FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | in mt76x02_mac_wcid_set_rate() 346 u8 nss; in mt76x02_mac_write_txwi() local 442 u8 mcs, nss; in mt76x02_tx_rate_fallback() local 455 nss = max_t(int, nss - 1, 1); in mt76x02_tx_rate_fallback() [all …]
|
| H A D | mt76_connac_mac.c | 25 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh() 290 nss = i + 1; \ 352 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val() 652 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs() 653 rate.nss >>= 1; in mt76_connac2_mac_fill_txs() 655 if (rate.nss - 1 < ARRAY_SIZE(stats->tx_nss)) in mt76_connac2_mac_fill_txs() 656 stats->tx_nss[rate.nss - 1]++; in mt76_connac2_mac_fill_txs() 1032 u8 stbc, gi, bw, dcm, nss; in mt76_connac2_mac_fill_rx_rate() local 1040 nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; in mt76_connac2_mac_fill_rx_rate() 1075 status->nss = nss; in mt76_connac2_mac_fill_rx_rate() [all …]
|
| H A D | mt76x02_txrx.c | 67 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()
|
| /linux-6.15/net/mac80211/ |
| H A D | vht.c | 654 u8 nss; in __ieee80211_vht_handle_opmode() local 660 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode() 661 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in __ieee80211_vht_handle_opmode() 662 nss += 1; in __ieee80211_vht_handle_opmode() 664 if (link_sta->op_mode_nss != nss) { in __ieee80211_vht_handle_opmode() 665 if (nss <= link_sta->capa_nss) { in __ieee80211_vht_handle_opmode() 666 link_sta->op_mode_nss = nss; in __ieee80211_vht_handle_opmode() 668 if (nss != link_sta->pub->rx_nss) { in __ieee80211_vht_handle_opmode() 669 link_sta->pub->rx_nss = nss; in __ieee80211_vht_handle_opmode() 676 link_sta->pub->addr, nss); in __ieee80211_vht_handle_opmode()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | tlc.c | 136 int nss) in iwl_mld_get_highest_fw_mcs() argument 139 (0x3 << (2 * (nss - 1))); in iwl_mld_get_highest_fw_mcs() 140 rx_mcs >>= (2 * (nss - 1)); in iwl_mld_get_highest_fw_mcs() 175 int nss = i + 1; in iwl_mld_fill_vht_rates() local 177 highest_mcs = iwl_mld_get_highest_fw_mcs(vht_cap, nss); in iwl_mld_fill_vht_rates() 193 0, true, nss) >= nss) in iwl_mld_fill_vht_rates() 227 u8 nss = link_sta->rx_nss; in iwl_mld_fill_he_rates() local 231 nss = 1; in iwl_mld_fill_he_rates() 233 for (i = 0; i < nss && i < IWL_TLC_NSS_MAX; i++) { in iwl_mld_fill_he_rates()
|
| H A D | sta.c | 150 struct iwl_he_pkt_ext_v2 *pkt_ext, u8 nss, in iwl_mld_parse_ppe() argument 159 if (nss > MAX_HE_SUPP_NSS) { in iwl_mld_parse_ppe() 160 IWL_DEBUG_INFO(mld, "Got NSS = %d - trimming to %d\n", nss, in iwl_mld_parse_ppe() 162 nss = MAX_HE_SUPP_NSS; in iwl_mld_parse_ppe() 165 for (int i = 0; i < nss; i++) { in iwl_mld_parse_ppe() 203 u8 nss = (link_sta->he_cap.ppe_thres[0] & in iwl_mld_set_pkt_ext_from_he_ppe() local 212 iwl_mld_parse_ppe(mld, pkt_ext, nss, ru_index_bitmap, ppe, ppe_pos_bit, in iwl_mld_set_pkt_ext_from_he_ppe() 299 u8 nss = (link_sta->eht_cap.eht_ppe_thres[0] & in iwl_mld_fill_pkt_ext() local 308 iwl_mld_parse_ppe(mld, pkt_ext, nss, ru_index_bitmap, in iwl_mld_fill_pkt_ext()
|
| /linux-6.15/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-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | mac.c | 192 int nss; in ath10k_mac_max_ht_nss() local 194 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss() 204 int nss; in ath10k_mac_max_vht_nss() local 206 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss() 2277 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath10k_peer_assoc_h_ht_masked() 2289 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) in ath10k_peer_assoc_h_vht_masked() 2480 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { in ath10k_peer_assoc_h_vht_limit() 6751 nss = arsta->nss; in ath10k_sta_rc_update_wk() 6758 nss = max_t(u32, 1, nss); in ath10k_sta_rc_update_wk() 6789 ar->wmi.peer_param->nss, nss); in ath10k_sta_rc_update_wk() [all …]
|
| H A D | htt_rx.c | 1065 nss = 1; in ath10k_htt_rx_h_rates() 1092 status->nss = nss; in ath10k_htt_rx_h_rates() 3679 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats() 3727 STATS_OP_FMT(AMPDU).nss[0][nss - 1] += in ath10k_accumulate_per_peer_tx_stats() 3735 STATS_OP_FMT(AMPDU).nss[1][nss - 1] += in ath10k_accumulate_per_peer_tx_stats() 3747 STATS_OP_FMT(SUCC).nss[0][nss - 1] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats() 3751 STATS_OP_FMT(SUCC).nss[1][nss - 1] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats() 3755 STATS_OP_FMT(FAIL).nss[0][nss - 1] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats() 3759 STATS_OP_FMT(FAIL).nss[1][nss - 1] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats() 3767 STATS_OP_FMT(RETRY).nss[1][nss - 1] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mac.c | 254 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local 263 nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; in mt7925_mac_fill_rx_rate() 287 status->nss = nss; in mt7925_mac_fill_rx_rate() 298 status->nss = nss; in mt7925_mac_fill_rx_rate() 310 status->nss = nss; in mt7925_mac_fill_rx_rate() 922 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt7925_mac_add_txs_skb() 925 if (stbc && rate.nss > 1) in mt7925_mac_add_txs_skb() 926 rate.nss >>= 1; in mt7925_mac_add_txs_skb() 928 if (rate.nss - 1 < ARRAY_SIZE(stats->tx_nss)) in mt7925_mac_add_txs_skb() 929 stats->tx_nss[rate.nss - 1]++; in mt7925_mac_add_txs_skb()
|