/Linux-v4.19/drivers/net/wireless/marvell/mwifiex/ |
D | 11ac.c | 58 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() 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, tmp; in mwifiex_fill_vht_cap_tlv() local 126 for (nss = 1; nss <= 8; nss++) { in mwifiex_fill_vht_cap_tlv() [all …]
|
D | tdls.c | 246 u16 mcs_user, mcs_resp, nss; in mwifiex_tdls_add_vht_oper() local 320 for (nss = 1; nss <= 8; nss++) { in mwifiex_tdls_add_vht_oper() 321 mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); in mwifiex_tdls_add_vht_oper() 322 mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); in mwifiex_tdls_add_vht_oper() 326 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper() 329 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper()
|
D | fw.h | 324 #define GET_VHTNSSMCS(mcs_mapset, nss) ((mcs_mapset >> (2 * (nss - 1))) & 0x3) argument 325 #define SET_VHTNSSMCS(mcs_mapset, nss, value) (mcs_mapset |= (value & 0x3) << \ argument 326 (2 * (nss - 1)))
|
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/ |
D | rc.c | 45 u8 nss; in _rtl_rc_get_highest_rix() local 50 nss = 4; in _rtl_rc_get_highest_rix() 53 nss = 3; in _rtl_rc_get_highest_rix() 56 nss = 2; in _rtl_rc_get_highest_rix() 59 nss = 1; in _rtl_rc_get_highest_rix() 86 if (nss == 1) in _rtl_rc_get_highest_rix() 94 nss); in _rtl_rc_get_highest_rix() 99 nss); in _rtl_rc_get_highest_rix() 108 if (nss == 1) in _rtl_rc_get_highest_rix() 116 nss); in _rtl_rc_get_highest_rix() [all …]
|
/Linux-v4.19/drivers/staging/rtlwifi/ |
D | rc.c | 34 u8 nss; /* NSS -1 */ in _rtl_rc_get_highest_rix() local 37 nss = 3; in _rtl_rc_get_highest_rix() 39 nss = 2; in _rtl_rc_get_highest_rix() 41 nss = 1; in _rtl_rc_get_highest_rix() 43 nss = 0; in _rtl_rc_get_highest_rix() 68 if (nss == 0) in _rtl_rc_get_highest_rix() 74 return AC_MODE_MCS8_RIX | (nss << 4); in _rtl_rc_get_highest_rix() 76 return AC_MODE_MCS9_RIX | (nss << 4); in _rtl_rc_get_highest_rix() 83 if (nss == 0) in _rtl_rc_get_highest_rix() 89 return AC_MODE_MCS8_RIX | (nss << 4); in _rtl_rc_get_highest_rix() [all …]
|
/Linux-v4.19/Documentation/devicetree/bindings/net/ |
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-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | tx.c | 82 u8 nss; in mt76x0_push_txwi() local 94 nss = wcid->tx_rate_nss; in mt76x0_push_txwi() 96 rate_ctl = mt76x0_mac_tx_rate_val(dev, rate, &nss); in mt76x0_push_txwi() 104 if ((info->flags & IEEE80211_TX_CTL_STBC) && nss == 1) in mt76x0_push_txwi() 106 if (nss > 1 && sta && sta->smps_mode == IEEE80211_SMPS_DYNAMIC) in mt76x0_push_txwi()
|
D | mac.c | 124 u8 nss = 1; in mt76x0_mac_tx_rate_val() local 129 nss = 1 + (rate->idx >> 4); in mt76x0_mac_tx_rate_val() 137 nss = 1 + (rate->idx >> 3); in mt76x0_mac_tx_rate_val() 165 *nss_val = nss; in mt76x0_mac_tx_rate_val() 480 status->nss = FIELD_GET(MT_RATE_INDEX_VHT_NSS, idx) + 1; in mt76_mac_process_rate()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2_mac_common.c | 316 u8 nss = 1; in mt76x2_mac_tx_rate_val() local 321 nss = 1 + (rate->idx >> 4); in mt76x2_mac_tx_rate_val() 329 nss = 1 + (rate->idx >> 3); in mt76x2_mac_tx_rate_val() 357 *nss_val = nss; in mt76x2_mac_tx_rate_val() 381 u8 nss; in mt76x2_mac_write_txwi() local 412 nss = wcid->tx_rate_nss; in mt76x2_mac_write_txwi() 414 txwi->rate = mt76x2_mac_tx_rate_val(dev, rate, &nss); in mt76x2_mac_write_txwi() 431 if ((info->flags & IEEE80211_TX_CTL_STBC) && nss == 1) in mt76x2_mac_write_txwi() 433 if (nss > 1 && sta && sta->smps_mode == IEEE80211_SMPS_DYNAMIC) in mt76x2_mac_write_txwi() 534 status->nss = FIELD_GET(MT_RATE_INDEX_VHT_NSS, idx) + 1; in mt76x2_mac_process_rate()
|
D | mt76x2_tx_common.c | 77 u8 nss, idx; in mt76x2_tx_get_max_txpwr_adj() local 79 nss = ieee80211_rate_get_vht_nss(rate); in mt76x2_tx_get_max_txpwr_adj() 80 idx = ((nss - 1) << 3) + mcs; in mt76x2_tx_get_max_txpwr_adj()
|
D | mac80211.c | 489 status->nss = mstat.nss; in mt76_rx_convert()
|
/Linux-v4.19/net/mac80211/ |
D | vht.c | 482 u8 nss; in __ieee80211_vht_handle_opmode() local 488 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode() 489 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in __ieee80211_vht_handle_opmode() 490 nss += 1; in __ieee80211_vht_handle_opmode() 492 if (sta->sta.rx_nss != nss) { in __ieee80211_vht_handle_opmode() 493 sta->sta.rx_nss = nss; in __ieee80211_vht_handle_opmode() 494 sta_opmode.rx_nss = nss; in __ieee80211_vht_handle_opmode()
|
D | rc80211_minstrel_ht.c | 213 minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map) in minstrel_get_valid_vht_rates() argument 218 if (nss != 3 && nss != 6) in minstrel_get_valid_vht_rates() 221 if (nss == 3 || nss == 7) in minstrel_get_valid_vht_rates() 223 else if (nss == 6) in minstrel_get_valid_vht_rates() 229 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { in minstrel_get_valid_vht_rates() 1190 int bw, nss; in minstrel_ht_update_caps() local 1212 nss = minstrel_mcs_groups[i].streams; in minstrel_ht_update_caps() 1215 if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1) in minstrel_ht_update_caps() 1224 mi->supported[i] = mcs->rx_mask[nss - 1]; in minstrel_ht_update_caps() 1251 mi->supported[i] = minstrel_get_valid_vht_rates(bw, nss, in minstrel_ht_update_caps()
|
D | mlme.c | 3283 u8 nss; in ieee80211_assoc_success() local 3285 nss = *elems.opmode_notif & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in ieee80211_assoc_success() 3286 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in ieee80211_assoc_success() 3287 nss += 1; in ieee80211_assoc_success() 3288 sta->sta.rx_nss = nss; in ieee80211_assoc_success() 4504 u8 nss; in ieee80211_ht_vht_rx_chains() local 4509 for (nss = 8; nss > 0; nss--) { in ieee80211_ht_vht_rx_chains() 4510 if (((tx_mcs_map >> (2 * (nss - 1))) & 3) != in ieee80211_ht_vht_rx_chains() 4515 chains = max(chains, nss); in ieee80211_ht_vht_rx_chains() 4543 u8 nss; in ieee80211_verify_sta_he_mcs_support() local [all …]
|
D | sta_info.h | 801 r |= STA_STATS_FIELD(VHT_NSS, s->nss); in sta_stats_encode_rate() 815 r |= STA_STATS_FIELD(HE_NSS, s->nss); in sta_stats_encode_rate()
|
/Linux-v4.19/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 159 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument 161 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map() 172 int nss; in ath10k_mac_max_ht_nss() local 174 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss() 175 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss() 176 return nss + 1; in ath10k_mac_max_ht_nss() 184 int nss; in ath10k_mac_max_vht_nss() local 186 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss() 187 if (vht_mcs_mask[nss]) in ath10k_mac_max_vht_nss() 188 return nss + 1; in ath10k_mac_max_vht_nss() [all …]
|
D | htt_rx.c | 758 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local 788 nss = mcs >> 3; in ath10k_htt_rx_h_rates() 810 nss = ((info2 >> 10) & 0x07) + 1; in ath10k_htt_rx_h_rates() 823 nss = 1; in ath10k_htt_rx_h_rates() 850 status->nss = nss; in ath10k_htt_rx_h_rates() 1032 status->nss = 0; in ath10k_htt_rx_h_ppdu() 1123 status->nss, in ath10k_process_rx() 2518 txrate.nss = ATH10K_HW_NSS(peer_stats->ratecode); in ath10k_update_per_peer_tx_stats() 2528 (txrate.mcs > 7 || txrate.nss < 1)) { in ath10k_update_per_peer_tx_stats() 2530 txrate.mcs, txrate.nss); in ath10k_update_per_peer_tx_stats() [all …]
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs-fw.c | 139 int nss) in rs_fw_vht_highest_rx_mcs_index() argument 142 (0x3 << (2 * (nss - 1))); in rs_fw_vht_highest_rx_mcs_index() 143 rx_mcs >>= (2 * (nss - 1)); in rs_fw_vht_highest_rx_mcs_index()
|
D | rs.c | 897 u8 nss; in rs_rate_from_ucode_rate() local 934 nss = ((ucode_rate & RATE_HT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 937 if (nss == 1) { in rs_rate_from_ucode_rate() 942 } else if (nss == 2) { in rs_rate_from_ucode_rate() 949 nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 952 if (nss == 1) { in rs_rate_from_ucode_rate() 957 } else if (nss == 2) { in rs_rate_from_ucode_rate() 964 nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 967 if (nss == 1) { in rs_rate_from_ucode_rate() 971 } else if (nss == 2) { in rs_rate_from_ucode_rate() [all …]
|
D | rxmq.c | 1280 rx_status->nss = in iwl_mvm_rx_mpdu_mq() 1291 rx_status->nss = in iwl_mvm_rx_mpdu_mq() 1343 switch (rx_status->nss) { in iwl_mvm_rx_mpdu_mq() 1364 rx_status->nss); in iwl_mvm_rx_mpdu_mq()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 149 u8 nss; in mt7601u_push_txwi() local 162 rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss); in mt7601u_push_txwi()
|
D | mac.c | 117 u8 nss = 1; in mt76_mac_tx_rate_val() local 122 nss = 1 + (rate->idx >> 3); in mt76_mac_tx_rate_val() 150 *nss_val = nss; in mt76_mac_tx_rate_val()
|
/Linux-v4.19/arch/s390/include/asm/ |
D | ipl.h | 117 } nss; member
|
/Linux-v4.19/fs/nilfs2/ |
D | cpfile.c | 322 int ret, ncps, nicps, nss, count, i; in nilfs_cpfile_delete_checkpoints() local 337 nss = 0; in nilfs_cpfile_delete_checkpoints() 356 nss++; in nilfs_cpfile_delete_checkpoints() 402 if (nss > 0) in nilfs_cpfile_delete_checkpoints()
|
/Linux-v4.19/net/wireless/ |
D | util.c | 1133 bitrate *= rate->nss; in cfg80211_calculate_bitrate_vht() 1142 rate->bw, rate->mcs, rate->nss); in cfg80211_calculate_bitrate_vht() 1181 if (WARN_ON_ONCE(rate->nss < 1 || rate->nss > 8)) in cfg80211_calculate_bitrate_he() 1218 result = (result * rate->nss) / 8; in cfg80211_calculate_bitrate_he()
|