nss 78 arch/s390/include/asm/ipl.h } nss; nss 477 drivers/net/wireless/ath/ath10k/core.h u64 nss[ATH10K_COUNTER_TYPE_MAX][ATH10K_NSS_NUM]; nss 495 drivers/net/wireless/ath/ath10k/core.h u32 nss; nss 705 drivers/net/wireless/ath/ath10k/debugfs_sta.c stats->nss[j][0], stats->nss[j][1], nss 706 drivers/net/wireless/ath/ath10k/debugfs_sta.c stats->nss[j][2], stats->nss[j][3]); nss 1355 drivers/net/wireless/ath/ath10k/htt.h __le32 nss[4]; nss 940 drivers/net/wireless/ath/ath10k/htt_rx.c u8 cck, rate, bw, sgi, mcs, nss; nss 970 drivers/net/wireless/ath/ath10k/htt_rx.c nss = mcs >> 3; nss 992 drivers/net/wireless/ath/ath10k/htt_rx.c nss = ((info2 >> 10) & 0x07) + 1; nss 1005 drivers/net/wireless/ath/ath10k/htt_rx.c nss = 1; nss 1032 drivers/net/wireless/ath/ath10k/htt_rx.c status->nss = nss; nss 1214 drivers/net/wireless/ath/ath10k/htt_rx.c status->nss = 0; nss 1305 drivers/net/wireless/ath/ath10k/htt_rx.c status->nss, nss 3336 drivers/net/wireless/ath/ath10k/htt_rx.c int idx, ht_idx, gi, mcs, bw, nss; nss 3347 drivers/net/wireless/ath/ath10k/htt_rx.c nss = txrate->nss; nss 3348 drivers/net/wireless/ath/ath10k/htt_rx.c ht_idx = mcs + (nss - 1) * 8; nss 3349 drivers/net/wireless/ath/ath10k/htt_rx.c idx = mcs * 8 + 8 * 10 * (nss - 1); nss 3395 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(AMPDU).nss[0][nss - 1] += nss 3403 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(AMPDU).nss[1][nss - 1] += nss 3415 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).nss[0][nss - 1] += pstats->succ_bytes; nss 3419 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(SUCC).nss[1][nss - 1] += pstats->succ_pkts; nss 3423 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).nss[0][nss - 1] += pstats->failed_bytes; nss 3427 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(FAIL).nss[1][nss - 1] += pstats->failed_pkts; nss 3431 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).nss[0][nss - 1] += pstats->retry_bytes; nss 3435 drivers/net/wireless/ath/ath10k/htt_rx.c STATS_OP_FMT(RETRY).nss[1][nss - 1] += pstats->retry_pkts; nss 3466 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.nss = ATH10K_HW_NSS(peer_stats->ratecode); nss 3483 drivers/net/wireless/ath/ath10k/htt_rx.c (txrate.mcs > 7 || txrate.nss < 1)) { nss 3485 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs, txrate.nss); nss 3503 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->txrate.mcs = txrate.mcs + 8 * (txrate.nss - 1); nss 3525 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs + ((txrate.nss - 1) * 8); nss 3533 drivers/net/wireless/ath/ath10k/htt_rx.c txrate.mcs, txrate.nss); nss 3541 drivers/net/wireless/ath/ath10k/htt_rx.c arsta->txrate.nss = txrate.nss; nss 165 drivers/net/wireless/ath/ath10k/mac.c static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) nss 167 drivers/net/wireless/ath/ath10k/mac.c switch ((mcs_map >> (2 * nss)) & 0x3) { nss 178 drivers/net/wireless/ath/ath10k/mac.c int nss; nss 180 drivers/net/wireless/ath/ath10k/mac.c for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) nss 181 drivers/net/wireless/ath/ath10k/mac.c if (ht_mcs_mask[nss]) nss 182 drivers/net/wireless/ath/ath10k/mac.c return nss + 1; nss 190 drivers/net/wireless/ath/ath10k/mac.c int nss; nss 192 drivers/net/wireless/ath/ath10k/mac.c for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) nss 193 drivers/net/wireless/ath/ath10k/mac.c if (vht_mcs_mask[nss]) nss 194 drivers/net/wireless/ath/ath10k/mac.c return nss + 1; nss 2260 drivers/net/wireless/ath/ath10k/mac.c int nss; nss 2262 drivers/net/wireless/ath/ath10k/mac.c for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) nss 2263 drivers/net/wireless/ath/ath10k/mac.c if (ht_mcs_mask[nss]) nss 2272 drivers/net/wireless/ath/ath10k/mac.c int nss; nss 2274 drivers/net/wireless/ath/ath10k/mac.c for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) nss 2275 drivers/net/wireless/ath/ath10k/mac.c if (vht_mcs_mask[nss]) nss 2460 drivers/net/wireless/ath/ath10k/mac.c int nss; nss 2464 drivers/net/wireless/ath/ath10k/mac.c for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { nss 2465 drivers/net/wireless/ath/ath10k/mac.c mcs_map = ath10k_mac_get_max_vht_mcs_map(tx_mcs_set, nss) & nss 2466 drivers/net/wireless/ath/ath10k/mac.c vht_mcs_limit[nss]; nss 2499 drivers/net/wireless/ath/ath10k/mac.c tx_mcs_set &= ~(0x3 << (nss * 2)); nss 2500 drivers/net/wireless/ath/ath10k/mac.c tx_mcs_set |= mcs << (nss * 2); nss 5332 drivers/net/wireless/ath/ath10k/mac.c u16 nss = get_nss_from_chainmask(ar->cfg_tx_chainmask); nss 5334 drivers/net/wireless/ath/ath10k/mac.c vdev_param = ar->wmi.vdev_param->nss; nss 5336 drivers/net/wireless/ath/ath10k/mac.c nss); nss 5339 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, ar->cfg_tx_chainmask, nss, nss 6295 drivers/net/wireless/ath/ath10k/mac.c u32 changed, bw, nss, smps; nss 6316 drivers/net/wireless/ath/ath10k/mac.c nss = arsta->nss; nss 6323 drivers/net/wireless/ath/ath10k/mac.c nss = max_t(u32, 1, nss); nss 6324 drivers/net/wireless/ath/ath10k/mac.c nss = min(nss, max(ath10k_mac_max_ht_nss(ht_mcs_mask), nss 6351 drivers/net/wireless/ath/ath10k/mac.c sta->addr, nss); nss 6354 drivers/net/wireless/ath/ath10k/mac.c WMI_PEER_NSS, nss); nss 6357 drivers/net/wireless/ath/ath10k/mac.c sta->addr, nss, err); nss 7226 drivers/net/wireless/ath/ath10k/mac.c int *nss) nss 7266 drivers/net/wireless/ath/ath10k/mac.c *nss = fls(ht_nss_mask); nss 7275 drivers/net/wireless/ath/ath10k/mac.c u8 *rate, u8 *nss, bool vht_only) nss 7300 drivers/net/wireless/ath/ath10k/mac.c *nss = 1; nss 7302 drivers/net/wireless/ath/ath10k/mac.c (*nss - 1) << 4 | nss 7310 drivers/net/wireless/ath/ath10k/mac.c *nss = i + 1; nss 7312 drivers/net/wireless/ath/ath10k/mac.c (*nss - 1) << 4 | nss 7322 drivers/net/wireless/ath/ath10k/mac.c *nss = i + 1; nss 7324 drivers/net/wireless/ath/ath10k/mac.c (*nss - 1) << 4 | nss 7335 drivers/net/wireless/ath/ath10k/mac.c u8 rate, u8 nss, u8 sgi, u8 ldpc) nss 7344 drivers/net/wireless/ath/ath10k/mac.c arvif->vdev_id, rate, nss, sgi); nss 7354 drivers/net/wireless/ath/ath10k/mac.c vdev_param = ar->wmi.vdev_param->nss; nss 7355 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, nss); nss 7357 drivers/net/wireless/ath/ath10k/mac.c ath10k_warn(ar, "failed to set nss param %d: %d\n", nss, ret); nss 7481 drivers/net/wireless/ath/ath10k/mac.c u8 nss; nss 7515 drivers/net/wireless/ath/ath10k/mac.c &rate, &nss, nss 7525 drivers/net/wireless/ath/ath10k/mac.c nss = single_nss; nss 7528 drivers/net/wireless/ath/ath10k/mac.c nss = min(ar->num_rf_chains, nss 7567 drivers/net/wireless/ath/ath10k/mac.c ret = ath10k_mac_set_fixed_rate_params(arvif, rate, nss, sgi, ldpc); nss 7633 drivers/net/wireless/ath/ath10k/mac.c arsta->nss = sta->rx_nss; nss 8169 drivers/net/wireless/ath/ath10k/mac.c if (!arsta->txrate.legacy && !arsta->txrate.nss) nss 8176 drivers/net/wireless/ath/ath10k/mac.c sinfo->txrate.nss = arsta->txrate.nss; nss 2541 drivers/net/wireless/ath/ath10k/wmi-tlv.c cmd->nss = __cpu_to_le32(arg->peer_num_spatial_streams); nss 4247 drivers/net/wireless/ath/ath10k/wmi-tlv.c .nss = WMI_TLV_VDEV_PARAM_NSS, nss 1851 drivers/net/wireless/ath/ath10k/wmi-tlv.h __le32 nss; nss 781 drivers/net/wireless/ath/ath10k/wmi.c .nss = WMI_VDEV_PARAM_NSS, nss 858 drivers/net/wireless/ath/ath10k/wmi.c .nss = WMI_10X_VDEV_PARAM_NSS, nss 934 drivers/net/wireless/ath/ath10k/wmi.c .nss = WMI_10X_VDEV_PARAM_NSS, nss 1010 drivers/net/wireless/ath/ath10k/wmi.c .nss = WMI_10_4_VDEV_PARAM_NSS, nss 5056 drivers/net/wireless/ath/ath10k/wmi.h #define ATH10K_HW_RATECODE(rate, nss, preamble) \ nss 5057 drivers/net/wireless/ath/ath10k/wmi.h (((preamble) << 6) | ((nss) << 4) | (rate)) nss 5108 drivers/net/wireless/ath/ath10k/wmi.h u32 nss; nss 2081 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c u8 nss = (sta->he_cap.ppe_thres[0] & nss 2096 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c if (nss > MAX_HE_SUPP_NSS) { nss 2097 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c IWL_INFO(mvm, "Got NSS = %d - trimming to %d\n", nss, nss 2099 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c nss = MAX_HE_SUPP_NSS; nss 2102 drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c for (i = 0; i < nss; i++) { nss 170 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c int nss) nss 173 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c (0x3 << (2 * (nss - 1))); nss 174 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c rx_mcs >>= (2 * (nss - 1)); nss 198 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c u8 nss = sta->rx_nss; nss 202 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c nss = 1; nss 204 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c for (i = 0; i < nss && i < IWL_TLC_NSS_MAX; i++) { nss 250 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c u8 nss = sta->rx_nss; nss 254 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c nss = 1; nss 256 drivers/net/wireless/intel/iwlwifi/mvm/rs-fw.c for (i = 0; i < nss && i < IWL_TLC_NSS_MAX; i++) { nss 886 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 nss; nss 923 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_HT_MCS_NSS_MSK) >> nss 926 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (nss == 1) { nss 931 drivers/net/wireless/intel/iwlwifi/mvm/rs.c } else if (nss == 2) { nss 938 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> nss 941 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (nss == 1) { nss 946 drivers/net/wireless/intel/iwlwifi/mvm/rs.c } else if (nss == 2) { nss 953 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> nss 956 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (nss == 1) { nss 960 drivers/net/wireless/intel/iwlwifi/mvm/rs.c } else if (nss == 2) { nss 2776 drivers/net/wireless/intel/iwlwifi/mvm/rs.c int nss) nss 2779 drivers/net/wireless/intel/iwlwifi/mvm/rs.c (0x3 << (2 * (nss - 1))); nss 2780 drivers/net/wireless/intel/iwlwifi/mvm/rs.c rx_mcs >>= (2 * (nss - 1)); nss 2898 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 nss = 0; nss 2926 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((rate & RATE_HT_MCS_NSS_MSK) >> RATE_HT_MCS_NSS_POS) + 1; nss 2929 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((rate & RATE_VHT_MCS_NSS_MSK) >> nss 2935 drivers/net/wireless/intel/iwlwifi/mvm/rs.c if (nss == 1) nss 2937 drivers/net/wireless/intel/iwlwifi/mvm/rs.c else if (nss == 2) nss 3691 drivers/net/wireless/intel/iwlwifi/mvm/rs.c u8 mcs = 0, nss = 0; nss 3708 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((rate & RATE_VHT_MCS_NSS_MSK) nss 3713 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((rate & RATE_HT_MCS_NSS_MSK) nss 3718 drivers/net/wireless/intel/iwlwifi/mvm/rs.c nss = ((rate & RATE_VHT_MCS_NSS_MSK) nss 3743 drivers/net/wireless/intel/iwlwifi/mvm/rs.c type, rs_pretty_ant(ant), bw, mcs, nss, nss 528 drivers/net/wireless/intel/iwlwifi/mvm/rx.c rx_status->nss = nss 1452 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->nss = nss 1830 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->nss = nss 1993 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->nss = nss 1997 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c rx_status->nss = nss 1234 drivers/net/wireless/mac80211_hwsim.c rx_status.nss = nss 58 drivers/net/wireless/marvell/mwifiex/11ac.c u8 i, nss, mcs; nss 69 drivers/net/wireless/marvell/mwifiex/11ac.c nss = 1; nss 73 drivers/net/wireless/marvell/mwifiex/11ac.c nss = i; nss 75 drivers/net/wireless/marvell/mwifiex/11ac.c mcs = GET_VHTNSSMCS(mcs_map, nss); nss 83 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; nss 86 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; nss 88 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; nss 91 drivers/net/wireless/marvell/mwifiex/11ac.c max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; nss 116 drivers/net/wireless/marvell/mwifiex/11ac.c u16 mcs_user, mcs_resp, nss, tmp; nss 126 drivers/net/wireless/marvell/mwifiex/11ac.c for (nss = 1; nss <= 8; nss++) { nss 127 drivers/net/wireless/marvell/mwifiex/11ac.c mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); nss 128 drivers/net/wireless/marvell/mwifiex/11ac.c mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); nss 132 drivers/net/wireless/marvell/mwifiex/11ac.c SET_VHTNSSMCS(mcs_map_result, nss, nss 135 drivers/net/wireless/marvell/mwifiex/11ac.c SET_VHTNSSMCS(mcs_map_result, nss, nss 149 drivers/net/wireless/marvell/mwifiex/11ac.c for (nss = 1; nss <= 8; nss++) { nss 150 drivers/net/wireless/marvell/mwifiex/11ac.c mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); nss 151 drivers/net/wireless/marvell/mwifiex/11ac.c mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); nss 154 drivers/net/wireless/marvell/mwifiex/11ac.c SET_VHTNSSMCS(mcs_map_result, nss, nss 157 drivers/net/wireless/marvell/mwifiex/11ac.c SET_VHTNSSMCS(mcs_map_result, nss, nss 1326 drivers/net/wireless/marvell/mwifiex/cfg80211.c rate->nss = 2; nss 1328 drivers/net/wireless/marvell/mwifiex/cfg80211.c rate->nss = 1; nss 324 drivers/net/wireless/marvell/mwifiex/fw.h #define GET_VHTNSSMCS(mcs_mapset, nss) ((mcs_mapset >> (2 * (nss - 1))) & 0x3) nss 325 drivers/net/wireless/marvell/mwifiex/fw.h #define SET_VHTNSSMCS(mcs_mapset, nss, value) (mcs_mapset |= (value & 0x3) << \ nss 326 drivers/net/wireless/marvell/mwifiex/fw.h (2 * (nss - 1))) nss 244 drivers/net/wireless/marvell/mwifiex/tdls.c u16 mcs_user, mcs_resp, nss; nss 318 drivers/net/wireless/marvell/mwifiex/tdls.c for (nss = 1; nss <= 8; nss++) { nss 319 drivers/net/wireless/marvell/mwifiex/tdls.c mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); nss 320 drivers/net/wireless/marvell/mwifiex/tdls.c mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); nss 324 drivers/net/wireless/marvell/mwifiex/tdls.c SET_VHTNSSMCS(mcs_map_result, nss, nss 327 drivers/net/wireless/marvell/mwifiex/tdls.c SET_VHTNSSMCS(mcs_map_result, nss, nss 501 drivers/net/wireless/mediatek/mt76/mac80211.c status->nss = mstat.nss; nss 528 drivers/net/wireless/mediatek/mt76/mt76.h u8 nss; nss 553 drivers/net/wireless/mediatek/mt76/mt7603/mac.c u8 phy, nss, rate_idx; nss 559 drivers/net/wireless/mediatek/mt76/mt7603/mac.c nss = 1 + (rate->idx >> 3); nss 570 drivers/net/wireless/mediatek/mt76/mt7603/mac.c nss = 1; nss 584 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (stbc && nss == 1) nss 147 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->nss = FIELD_GET(MT_RXV2_NSTS, rxdg1) + 1; nss 254 drivers/net/wireless/mediatek/mt76/mt7615/mac.c u8 phy, nss, rate_idx; nss 261 drivers/net/wireless/mediatek/mt76/mt7615/mac.c nss = ieee80211_rate_get_vht_nss(rate); nss 271 drivers/net/wireless/mediatek/mt76/mt7615/mac.c nss = 1 + (rate->idx >> 3); nss 282 drivers/net/wireless/mediatek/mt76/mt7615/mac.c nss = 1; nss 293 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (stbc && nss == 1) { nss 294 drivers/net/wireless/mediatek/mt76/mt7615/mac.c nss++; nss 300 drivers/net/wireless/mediatek/mt76/mt7615/mac.c FIELD_PREP(MT_TX_RATE_NSS, nss - 1)); nss 161 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 phy, rate_idx, nss, bw = 0; nss 166 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = 1 + (rate->idx >> 4); nss 174 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = 1 + (rate->idx >> 3); nss 193 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = 1; nss 202 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c *nss_val = nss; nss 212 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c s8 nss; nss 214 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c rateval = mt76x02_mac_tx_rate_val(dev, rate, &nss); nss 216 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c FIELD_PREP(MT_WCID_TX_INFO_NSS, nss) | nss 324 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 nss; nss 362 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = FIELD_GET(MT_WCID_TX_INFO_NSS, wcid_tx_info); nss 364 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c txwi->rate = mt76x02_mac_tx_rate_val(dev, rate, &nss); nss 380 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if ((info->flags & IEEE80211_TX_CTL_STBC) && nss == 1) nss 382 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c if (nss > 1 && sta && sta->smps_mode == IEEE80211_SMPS_DYNAMIC) nss 414 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 mcs, nss; nss 424 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = ieee80211_rate_get_vht_nss(rates); nss 427 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = max_t(int, nss - 1, 1); nss 431 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c ieee80211_rate_set_vht(rates + 1, mcs, nss); nss 632 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->nss = min_t(u8, n_rxstream, nss 68 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c u8 nss, idx; nss 70 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c nss = ieee80211_rate_get_vht_nss(rate); nss 71 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c idx = ((nss - 1) << 3) + mcs; nss 109 drivers/net/wireless/mediatek/mt7601u/mac.c u8 nss = 1; nss 114 drivers/net/wireless/mediatek/mt7601u/mac.c nss = 1 + (rate->idx >> 3); nss 142 drivers/net/wireless/mediatek/mt7601u/mac.c *nss_val = nss; nss 141 drivers/net/wireless/mediatek/mt7601u/tx.c u8 nss; nss 154 drivers/net/wireless/mediatek/mt7601u/tx.c rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss); nss 463 drivers/net/wireless/quantenna/qtnfmac/commands.c rate_dst->nss = rate_src->nss; nss 1438 drivers/net/wireless/quantenna/qtnfmac/qlink.h u8 nss; nss 23 drivers/net/wireless/realtek/rtlwifi/rc.c u8 nss; nss 28 drivers/net/wireless/realtek/rtlwifi/rc.c nss = 4; nss 31 drivers/net/wireless/realtek/rtlwifi/rc.c nss = 3; nss 34 drivers/net/wireless/realtek/rtlwifi/rc.c nss = 2; nss 37 drivers/net/wireless/realtek/rtlwifi/rc.c nss = 1; nss 64 drivers/net/wireless/realtek/rtlwifi/rc.c if (nss == 1) nss 72 drivers/net/wireless/realtek/rtlwifi/rc.c nss); nss 77 drivers/net/wireless/realtek/rtlwifi/rc.c nss); nss 86 drivers/net/wireless/realtek/rtlwifi/rc.c if (nss == 1) nss 94 drivers/net/wireless/realtek/rtlwifi/rc.c nss); nss 99 drivers/net/wireless/realtek/rtlwifi/rc.c nss); nss 510 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c rx_status->nss = status->vht_nss; nss 408 drivers/net/wireless/realtek/rtw88/main.c int i, nss; nss 411 drivers/net/wireless/realtek/rtw88/main.c for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { nss 415 drivers/net/wireless/realtek/rtw88/main.c ra_mask |= 0x3ffULL << nss; nss 418 drivers/net/wireless/realtek/rtw88/main.c ra_mask |= 0x1ffULL << nss; nss 421 drivers/net/wireless/realtek/rtw88/main.c ra_mask |= 0x0ffULL << nss; nss 570 drivers/net/wireless/realtek/rtw88/main.c if (efuse->hw_cap.nss == 1) nss 782 drivers/net/wireless/realtek/rtw88/main.c if (efuse->hw_cap.nss > 1) { nss 822 drivers/net/wireless/realtek/rtw88/main.c if (efuse->hw_cap.nss > 1) { nss 1015 drivers/net/wireless/realtek/rtw88/main.c efuse->hw_cap.nss = GET_EFUSE_HW_CAP_NSS(hw_feature); nss 1021 drivers/net/wireless/realtek/rtw88/main.c if (efuse->hw_cap.nss == EFUSE_HW_CAP_IGNORE || nss 1022 drivers/net/wireless/realtek/rtw88/main.c efuse->hw_cap.nss > rtwdev->hal.rf_path_num) nss 1023 drivers/net/wireless/realtek/rtw88/main.c efuse->hw_cap.nss = rtwdev->hal.rf_path_num; nss 1028 drivers/net/wireless/realtek/rtw88/main.c efuse->hw_cap.ant_num, efuse->hw_cap.nss); nss 1201 drivers/net/wireless/realtek/rtw88/main.h u8 nss; nss 110 drivers/net/wireless/realtek/rtw88/rx.c rx_status->nss = 1; nss 114 drivers/net/wireless/realtek/rtw88/rx.c rx_status->nss = 2; nss 118 drivers/net/wireless/realtek/rtw88/rx.c rx_status->nss = 3; nss 122 drivers/net/wireless/realtek/rtw88/rx.c rx_status->nss = 4; nss 101 drivers/net/wireless/realtek/rtw88/tx.c if (efuse->hw_cap.nss == 1) { nss 114 drivers/net/wireless/realtek/rtw88/tx.c } else if (efuse->hw_cap.nss >= 2) { nss 322 fs/nilfs2/cpfile.c int ret, ncps, nicps, nss, count, i; nss 337 fs/nilfs2/cpfile.c nss = 0; nss 356 fs/nilfs2/cpfile.c nss++; nss 402 fs/nilfs2/cpfile.c if (nss > 0) nss 1314 include/net/cfg80211.h u8 nss; nss 939 include/net/mac80211.h u8 mcs, u8 nss) nss 942 include/net/mac80211.h WARN_ON((nss - 1) & ~0x7); nss 943 include/net/mac80211.h rate->idx = ((nss - 1) << 4) | mcs; nss 1351 include/net/mac80211.h u8 nss; nss 694 net/mac80211/cfg.c rinfo->nss = ieee80211_rate_get_vht_nss(rate); nss 563 net/mac80211/debugfs_sta.c struct ieee80211_he_mcs_nss_supp *nss = &hec->he_mcs_nss_supp; nss 870 net/mac80211/debugfs_sta.c u16 v = le16_to_cpu(nss->f); \ nss 3422 net/mac80211/mlme.c u8 nss; nss 3424 net/mac80211/mlme.c nss = *elems.opmode_notif & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; nss 3425 net/mac80211/mlme.c nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; nss 3426 net/mac80211/mlme.c nss += 1; nss 3427 net/mac80211/mlme.c sta->sta.rx_nss = nss; nss 4657 net/mac80211/mlme.c u8 nss; nss 4662 net/mac80211/mlme.c for (nss = 8; nss > 0; nss--) { nss 4663 net/mac80211/mlme.c if (((tx_mcs_map >> (2 * (nss - 1))) & 3) != nss 4668 net/mac80211/mlme.c chains = max(chains, nss); nss 4696 net/mac80211/mlme.c u8 nss; nss 4708 net/mac80211/mlme.c for (nss = 8; nss > 0; nss--) { nss 4709 net/mac80211/mlme.c u8 sta_rx_val = (sta_mcs_map_rx >> (2 * (nss - 1))) & 3; nss 4710 net/mac80211/mlme.c u8 sta_tx_val = (sta_mcs_map_tx >> (2 * (nss - 1))) & 3; nss 4711 net/mac80211/mlme.c u8 ap_val = (ap_min_req_set >> (2 * (nss - 1))) & 3; nss 249 net/mac80211/rc80211_minstrel_ht.c minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map) nss 254 net/mac80211/rc80211_minstrel_ht.c if (nss != 3 && nss != 6) nss 257 net/mac80211/rc80211_minstrel_ht.c if (nss == 3 || nss == 7) nss 259 net/mac80211/rc80211_minstrel_ht.c else if (nss == 6) nss 265 net/mac80211/rc80211_minstrel_ht.c switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { nss 1451 net/mac80211/rc80211_minstrel_ht.c int bw, nss; nss 1473 net/mac80211/rc80211_minstrel_ht.c nss = minstrel_mcs_groups[i].streams; nss 1476 net/mac80211/rc80211_minstrel_ht.c if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1) nss 1484 net/mac80211/rc80211_minstrel_ht.c mi->supported[i] = mcs->rx_mask[nss - 1]; nss 1511 net/mac80211/rc80211_minstrel_ht.c mi->supported[i] = minstrel_get_valid_vht_rates(bw, nss, nss 544 net/mac80211/rx.c *pos = (status->rate_idx << 4) | status->nss; nss 591 net/mac80211/rx.c he.data6 |= HE_PREP(DATA6_NSTS, status->nss); nss 4585 net/mac80211/rx.c !status->nss || nss 4586 net/mac80211/rx.c status->nss > 8, nss 4588 net/mac80211/rx.c status->rate_idx, status->nss)) nss 4593 net/mac80211/rx.c !status->nss || nss 4594 net/mac80211/rx.c status->nss > 8, nss 4596 net/mac80211/rx.c status->rate_idx, status->nss)) nss 2068 net/mac80211/sta_info.c rinfo->nss = STA_STATS_GET(VHT_NSS, rate); nss 2099 net/mac80211/sta_info.c rinfo->nss = STA_STATS_GET(HE_NSS, rate); nss 841 net/mac80211/sta_info.h r |= STA_STATS_FIELD(VHT_NSS, s->nss); nss 855 net/mac80211/sta_info.h r |= STA_STATS_FIELD(HE_NSS, s->nss); nss 420 net/mac80211/status.c *pos = (status->rate->mcs << 4) | status->rate->nss; nss 448 net/mac80211/status.c he->data6 |= HE_PREP(DATA6_NSTS, status->rate->nss); nss 3260 net/mac80211/util.c ri.nss = status->nss; nss 3304 net/mac80211/util.c status->nss)) nss 507 net/mac80211/vht.c u8 nss; nss 513 net/mac80211/vht.c nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; nss 514 net/mac80211/vht.c nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; nss 515 net/mac80211/vht.c nss += 1; nss 517 net/mac80211/vht.c if (sta->sta.rx_nss != nss) { nss 518 net/mac80211/vht.c sta->sta.rx_nss = nss; nss 519 net/mac80211/vht.c sta_opmode.rx_nss = nss; nss 4191 net/wireless/nl80211.c u8 nss; nss 4193 net/wireless/nl80211.c for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { nss 4194 net/wireless/nl80211.c vht_mcs_mask[nss] = vht_mcs_map_to_mcs_mask(vht_mcs_map & 0x03); nss 5013 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_RATE_INFO_VHT_NSS, info->nss)) nss 5021 net/wireless/nl80211.c if (nla_put_u8(msg, NL80211_RATE_INFO_HE_NSS, info->nss)) nss 1207 net/wireless/util.c bitrate *= rate->nss; nss 1216 net/wireless/util.c rate->bw, rate->mcs, rate->nss); nss 1255 net/wireless/util.c if (WARN_ON_ONCE(rate->nss < 1 || rate->nss > 8)) nss 1294 net/wireless/util.c result = (result * rate->nss) / 8;