/kernel/linux/linux-5.10/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 | 245 u16 mcs_user, mcs_resp, nss; in mwifiex_tdls_add_vht_oper() local 319 for (nss = 1; nss <= 8; nss++) { in mwifiex_tdls_add_vht_oper() 320 mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); in mwifiex_tdls_add_vht_oper() 321 mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); in mwifiex_tdls_add_vht_oper() 325 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper() 328 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/ |
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 …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
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()
|
D | main.c | 710 int i, nss; in get_vht_ra_mask() local 713 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { in get_vht_ra_mask() 717 ra_mask |= 0x3ffULL << nss; in get_vht_ra_mask() 720 ra_mask |= 0x1ffULL << nss; in get_vht_ra_mask() 723 ra_mask |= 0x0ffULL << nss; in get_vht_ra_mask() 926 if (efuse->hw_cap.nss == 1) in rtw_update_sta_info() 1160 if (efuse->hw_cap.nss > 1) { in rtw_init_ht_cap() 1208 if (efuse->hw_cap.nss > 1) { in rtw_init_vht_cap() 1458 efuse->hw_cap.nss = GET_EFUSE_HW_CAP_NSS(hw_feature); in rtw_dump_hw_feature() 1464 if (efuse->hw_cap.nss == EFUSE_HW_CAP_IGNORE || in rtw_dump_hw_feature() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
D | debugfs_sta.c | 21 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[1][nss] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 110 STATS_OP_FMT(FAIL).nss[0][nss] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 114 STATS_OP_FMT(FAIL).nss[1][nss] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 118 STATS_OP_FMT(RETRY).nss[0][nss] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 122 STATS_OP_FMT(RETRY).nss[1][nss] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() [all …]
|
D | mac.c | 337 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() 352 if (vht_mcs_mask[nss]) in ath11k_mac_max_vht_nss() 353 return nss + 1; in ath11k_mac_max_vht_nss() 989 int nss; in ath11k_peer_assoc_h_ht_masked() local 991 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath11k_peer_assoc_h_ht_masked() [all …]
|
D | hal_rx.c | 908 ppdu_info->nss = 1; in ath11k_hal_rx_parse_mon_status_tlv() 911 ppdu_info->nss = 2; in ath11k_hal_rx_parse_mon_status_tlv() 914 ppdu_info->nss = 3; in ath11k_hal_rx_parse_mon_status_tlv() 917 ppdu_info->nss = 4; in ath11k_hal_rx_parse_mon_status_tlv() 921 if (ppdu_info->nss > 1) in ath11k_hal_rx_parse_mon_status_tlv() 976 ppdu_info->nss = (nsts & VHT_SIG_SU_NSS_MASK) + 1; in ath11k_hal_rx_parse_mon_status_tlv() 1030 ppdu_info->nss = nsts + 1; in ath11k_hal_rx_parse_mon_status_tlv() 1090 ppdu_info->nss = in ath11k_hal_rx_parse_mon_status_tlv() 1106 ppdu_info->nss = in ath11k_hal_rx_parse_mon_status_tlv()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | init.c | 270 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() argument 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 <= max_nss; nss++) { in mt7915_gen_ppe_thresh() 376 val = (ppet16_ppet8_ru3_ru0[nss] >> (ru * 6)) & in mt7915_gen_ppe_thresh() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | rs-fw.c | 170 int nss) in rs_fw_vht_highest_rx_mcs_index() argument 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 && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_he_set_enabled_rates()
|
D | rs.c | 891 u8 nss; in rs_rate_from_ucode_rate() local 928 nss = ((ucode_rate & RATE_HT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 931 if (nss == 1) { in rs_rate_from_ucode_rate() 936 } else if (nss == 2) { in rs_rate_from_ucode_rate() 943 nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 946 if (nss == 1) { in rs_rate_from_ucode_rate() 951 } else if (nss == 2) { in rs_rate_from_ucode_rate() 958 nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate() 961 if (nss == 1) { in rs_rate_from_ucode_rate() 965 } else if (nss == 2) { in rs_rate_from_ucode_rate() [all …]
|
/kernel/linux/linux-5.10/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>;
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/ |
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() 346 u8 nss; in mt76x02_mac_write_txwi() local 386 nss = FIELD_GET(MT_WCID_TX_INFO_NSS, wcid_tx_info); in mt76x02_mac_write_txwi() [all …]
|
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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 166 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 = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss() 194 if (vht_mcs_mask[nss]) in ath10k_mac_max_vht_nss() 195 return nss + 1; in ath10k_mac_max_vht_nss() [all …]
|
D | htt_rx.c | 948 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local 979 nss = mcs >> 3; in ath10k_htt_rx_h_rates() 1004 nss = (nsts_su >> 2) + 1; in ath10k_htt_rx_h_rates() 1006 nss = (nsts_su + 1); in ath10k_htt_rx_h_rates() 1019 nss = 1; in ath10k_htt_rx_h_rates() 1046 status->nss = nss; in ath10k_htt_rx_h_rates() 1228 status->nss = 0; in ath10k_htt_rx_h_ppdu() 1326 status->nss, in ath10k_process_rx() 3544 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local 3555 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats() [all …]
|
D | debugfs_sta.c | 705 stats->nss[j][0], stats->nss[j][1], in ath10k_dbg_sta_dump_tx_stats() 706 stats->nss[j][2], stats->nss[j][3]); in ath10k_dbg_sta_dump_tx_stats()
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | vht.c | 561 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()
|
D | rc80211_minstrel_ht.c | 250 minstrel_get_valid_vht_rates(int bw, int nss, __le16 mcs_map) in minstrel_get_valid_vht_rates() argument 255 if (nss != 3 && nss != 6) in minstrel_get_valid_vht_rates() 258 if (nss == 3 || nss == 7) in minstrel_get_valid_vht_rates() 260 else if (nss == 6) in minstrel_get_valid_vht_rates() 266 switch ((le16_to_cpu(mcs_map) >> (2 * (nss - 1))) & 3) { in minstrel_get_valid_vht_rates() 1456 int bw, nss; in minstrel_ht_update_caps() local 1478 nss = minstrel_mcs_groups[i].streams; in minstrel_ht_update_caps() 1481 if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1) in minstrel_ht_update_caps() 1489 mi->supported[i] = mcs->rx_mask[nss - 1]; in minstrel_ht_update_caps() 1516 mi->supported[i] = minstrel_get_valid_vht_rates(bw, nss, in minstrel_ht_update_caps()
|
D | airtime.c | 437 streams = status->nss; in ieee80211_get_rate_duration() 447 streams = status->nss; in ieee80211_get_rate_duration() 520 stat->nss = ri->nss; in ieee80211_fill_rate_info() 585 stat->nss = ieee80211_rate_get_vht_nss(rate); in ieee80211_fill_rx_status()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | nfs4file.c | 143 struct nl4_server *nss = NULL; in __nfs4_copy_file_range() local 181 nss = &cn_resp->cnr_src; in __nfs4_copy_file_range() 185 nss, cnrs, sync); in __nfs4_copy_file_range()
|
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt7601u/ |
D | tx.c | 141 u8 nss; in mt7601u_push_txwi() local 154 rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss); in mt7601u_push_txwi()
|
D | mac.c | 109 u8 nss = 1; in mt76_mac_tx_rate_val() local 114 nss = 1 + (rate->idx >> 3); in mt76_mac_tx_rate_val() 142 *nss_val = nss; in mt76_mac_tx_rate_val()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | qcom-ipq8064.dtsi | 65 nss@40000000 { 634 qcom,nss-common = <&nss_common>; 657 qcom,nss-common = <&nss_common>; 680 qcom,nss-common = <&nss_common>; 703 qcom,nss-common = <&nss_common>;
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
D | ipl.h | 90 } nss; member
|