Home
last modified time | relevance | path

Searched refs:nss (Results 1 – 25 of 92) sorted by relevance

1234

/linux/drivers/net/wireless/marvell/mwifiex/
A D11ac.c58 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()
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()
132 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv()
135 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv()
149 for (nss = 1; nss <= 8; nss++) { in mwifiex_fill_vht_cap_tlv()
154 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_fill_vht_cap_tlv()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Deeprom.c89 u8 nss, nss_band, *eeprom = dev->mt76.eeprom.data; in mt7915_eeprom_parse_hw_cap() local
94 nss = FIELD_GET(MT_EE_WIFI_CONF0_TX_PATH, eeprom[MT_EE_WIFI_CONF]); in mt7915_eeprom_parse_hw_cap()
95 if (!nss || nss > 4) in mt7915_eeprom_parse_hw_cap()
96 nss = 4; in mt7915_eeprom_parse_hw_cap()
98 nss_band = nss; in mt7915_eeprom_parse_hw_cap()
106 if (nss_band >= nss) in mt7915_eeprom_parse_hw_cap()
107 nss = 4; in mt7915_eeprom_parse_hw_cap()
110 dev->chainmask = BIT(nss) - 1; in mt7915_eeprom_parse_hw_cap()
A Dinit.c602 int nss; in mt7915_set_stream_vht_txbf_caps() local
608 nss = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps()
619 if (nss < 2) in mt7915_set_stream_vht_txbf_caps()
625 nss - 1); in mt7915_set_stream_vht_txbf_caps()
630 int vif, int nss) in mt7915_set_stream_he_txbf_caps() argument
672 if (nss < 2) in mt7915_set_stream_he_txbf_caps()
687 c = (nss - 1) | in mt7915_set_stream_he_txbf_caps()
697 mt7915_gen_ppe_thresh(u8 *he_ppet, int nss) in mt7915_gen_ppe_thresh() argument
707 nss * hweight8(ru_bit_mask) * 2; in mt7915_gen_ppe_thresh()
726 if (i < nss) in mt7915_init_he_caps()
[all …]
A Dmcu.c200 u8 nss; in mt7915_mcu_get_sta_nss() local
202 for (nss = 8; nss > 0; nss--) { in mt7915_mcu_get_sta_nss()
209 return nss - 1; in mt7915_mcu_get_sta_nss()
233 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs()
266 mcs_map &= ~(0x3 << (nss * 2)); in mt7915_mcu_set_sta_he_mcs()
267 mcs_map |= mcs << (nss * 2); in mt7915_mcu_set_sta_he_mcs()
285 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
300 vht_mcs[nss] = cpu_to_le16(mcs & mask[nss]); in mt7915_mcu_set_sta_vht_mcs()
314 for (nss = 0; nss < max_nss; nss++) in mt7915_mcu_set_sta_ht_mcs()
315 ht_mcs[nss] = sta->ht_cap.mcs.rx_mask[nss] & mask[nss]; in mt7915_mcu_set_sta_ht_mcs()
[all …]
A Dmac.c600 status->nss = in mt7915_mac_fill_rx()
612 status->nss = in mt7915_mac_fill_rx()
760 u8 bw, mode, nss = td->tx_rate_nss; in mt7915_mac_write_txwi_tm() local
772 nss = 1 + (rate_idx >> 3); in mt7915_mac_write_txwi_tm()
825 if (td->tx_rate_stbc && nss == 1) { in mt7915_mac_write_txwi_tm()
826 nss++; in mt7915_mac_write_txwi_tm()
832 FIELD_PREP(MT_TX_RATE_NSS, nss - 1); in mt7915_mac_write_txwi_tm()
1384 stats->tx_nss[rate.nss - 1]++; in mt7915_mac_add_txs_skb()
1408 rate.mcs += (rate.nss - 1) * 8; in mt7915_mac_add_txs_skb()
1681 int nss, i; in mt7915_phy_get_nf() local
[all …]
/linux/drivers/net/wireless/realtek/rtlwifi/
A Drc.c23 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/ath/ath11k/
A Ddebugfs_sta.c30 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()
122 STATS_OP_FMT(RETRY).nss[1][nss] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
200 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_debugfs_sta_update_txcompl()
273 stats->nss[j][0], stats->nss[j][1], in ath11k_dbg_sta_dump_tx_stats()
[all …]
A Dmac.c341 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
353 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss()
365 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_he_nss()
1400 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath11k_peer_assoc_h_ht_masked()
1412 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) in ath11k_peer_assoc_h_vht_masked()
1547 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { in ath11k_peer_assoc_h_vht_limit()
1766 for (nss = 0; nss < NL80211_HE_NSS_MAX; nss++) { in ath11k_peer_assoc_h_he_limit()
1807 for (nss = 0; nss < NL80211_HE_NSS_MAX; nss++) in ath11k_peer_assoc_h_he_masked()
1895 for (nss = 0; nss <= arg->peer_ppet.numss_m1; nss++) { in ath11k_peer_assoc_h_he()
3814 nss = arsta->nss; in ath11k_sta_rc_update_wk()
[all …]
A Dhal_rx.c873 ppdu_info->nss = 1; in ath11k_hal_rx_parse_mon_status_tlv()
876 ppdu_info->nss = 2; in ath11k_hal_rx_parse_mon_status_tlv()
879 ppdu_info->nss = 3; in ath11k_hal_rx_parse_mon_status_tlv()
882 ppdu_info->nss = 4; in ath11k_hal_rx_parse_mon_status_tlv()
886 if (ppdu_info->nss > 1) in ath11k_hal_rx_parse_mon_status_tlv()
941 ppdu_info->nss = (nsts & VHT_SIG_SU_NSS_MASK) + 1; in ath11k_hal_rx_parse_mon_status_tlv()
995 ppdu_info->nss = nsts + 1; in ath11k_hal_rx_parse_mon_status_tlv()
1055 ppdu_info->nss = in ath11k_hal_rx_parse_mon_status_tlv()
1071 ppdu_info->nss = in ath11k_hal_rx_parse_mon_status_tlv()
/linux/drivers/net/wireless/realtek/rtw88/
A Dutil.c82 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()
A Dmain.c862 int i, nss; in get_vht_ra_mask() local
865 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { in get_vht_ra_mask()
869 ra_mask |= 0x3ffULL << nss; in get_vht_ra_mask()
872 ra_mask |= 0x1ffULL << nss; in get_vht_ra_mask()
875 ra_mask |= 0x0ffULL << nss; in get_vht_ra_mask()
1079 if (efuse->hw_cap.nss == 1) in rtw_update_sta_info()
1360 if (efuse->hw_cap.nss > 1) { in rtw_init_ht_cap()
1408 if (efuse->hw_cap.nss > 1) { in rtw_init_vht_cap()
1675 if (efuse->hw_cap.nss == EFUSE_HW_CAP_IGNORE || in rtw_dump_hw_feature()
1677 efuse->hw_cap.nss = rtwdev->hal.rf_path_num; in rtw_dump_hw_feature()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/
A Drs.c103 u32 nss = 0; in iwl_new_rate_from_v1() local
108 nss = (rate_v1 & RATE_HT_MCS_MIMO2_MSK) >> in iwl_new_rate_from_v1()
110 rate_v2 |= nss << RATE_MCS_NSS_POS; in iwl_new_rate_from_v1()
192 u8 mcs = 0, nss = 0; in rs_pretty_print_rate() local
224 nss = ((rate & RATE_MCS_NSS_MSK) in rs_pretty_print_rate()
232 rate, type, iwl_rs_pretty_ant(ant), iwl_rs_pretty_bw(bw), mcs, nss, in rs_pretty_print_rate()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Drs-fw.c108 int nss) in rs_fw_vht_highest_rx_mcs_index() argument
111 (0x3 << (2 * (nss - 1))); in rs_fw_vht_highest_rx_mcs_index()
112 rx_mcs >>= (2 * (nss - 1)); in rs_fw_vht_highest_rx_mcs_index()
147 int nss = i + 1; in rs_fw_vht_set_enabled_rates() local
149 highest_mcs = rs_fw_vht_highest_rx_mcs_index(vht_cap, nss); in rs_fw_vht_set_enabled_rates()
166 0, true, nss) >= nss) in rs_fw_vht_set_enabled_rates()
202 u8 nss = sta->rx_nss; in rs_fw_he_set_enabled_rates() local
206 nss = 1; in rs_fw_he_set_enabled_rates()
208 for (i = 0; i < nss && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_he_set_enabled_rates()
A Drs.c848 u8 nss; in rs_rate_from_ucode_rate() local
888 if (nss == 1) { in rs_rate_from_ucode_rate()
893 } else if (nss == 2) { in rs_rate_from_ucode_rate()
903 if (nss == 1) { in rs_rate_from_ucode_rate()
908 } else if (nss == 2) { in rs_rate_from_ucode_rate()
918 if (nss == 1) { in rs_rate_from_ucode_rate()
2735 int nss) in rs_vht_highest_rx_mcs_index() argument
2857 u8 nss = 0; in iwl_mvm_update_frame_stats() local
2894 if (nss == 1) in iwl_mvm_update_frame_stats()
2896 else if (nss == 2) in iwl_mvm_update_frame_stats()
[all …]
/linux/Documentation/devicetree/bindings/net/
A Dipq806x-dwmac.txt12 - 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/
A Dmt76x02_mac.c183 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 …]
A Dmt76x02_txrx.c67 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()
A Deeprom.c209 mt76_get_txs_delta(struct device_node *np, u8 nss) in mt76_get_txs_delta() argument
214 val = mt76_get_of_array(np, "txs-delta", &len, nss); in mt76_get_txs_delta()
218 return be32_to_cpu(val[nss - 1]); in mt76_get_txs_delta()
/linux/drivers/net/wireless/ath/ath10k/
A Dmac.c190 int nss; in ath10k_mac_max_ht_nss() local
192 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss()
202 int nss; in ath10k_mac_max_vht_nss() local
204 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss()
2275 for (nss = 0; nss < IEEE80211_HT_MCS_MASK_LEN; nss++) in ath10k_peer_assoc_h_ht_masked()
2287 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) in ath10k_peer_assoc_h_vht_masked()
2477 for (nss = 0; nss < NL80211_VHT_NSS_MAX; nss++) { in ath10k_peer_assoc_h_vht_limit()
6680 nss = arsta->nss; in ath10k_sta_rc_update_wk()
6687 nss = max_t(u32, 1, nss); in ath10k_sta_rc_update_wk()
6718 ar->wmi.peer_param->nss, nss); in ath10k_sta_rc_update_wk()
[all …]
A Dhtt_rx.c1019 nss = 1; in ath10k_htt_rx_h_rates()
1046 status->nss = nss; in ath10k_htt_rx_h_rates()
3553 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats()
3601 STATS_OP_FMT(AMPDU).nss[0][nss - 1] += in ath10k_accumulate_per_peer_tx_stats()
3609 STATS_OP_FMT(AMPDU).nss[1][nss - 1] += in ath10k_accumulate_per_peer_tx_stats()
3621 STATS_OP_FMT(SUCC).nss[0][nss - 1] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats()
3625 STATS_OP_FMT(SUCC).nss[1][nss - 1] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats()
3629 STATS_OP_FMT(FAIL).nss[0][nss - 1] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats()
3633 STATS_OP_FMT(FAIL).nss[1][nss - 1] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats()
3641 STATS_OP_FMT(RETRY).nss[1][nss - 1] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats()
[all …]
/linux/net/mac80211/
A Dvht.c568 u8 nss; in __ieee80211_vht_handle_opmode() local
574 nss = opmode & IEEE80211_OPMODE_NOTIF_RX_NSS_MASK; in __ieee80211_vht_handle_opmode()
575 nss >>= IEEE80211_OPMODE_NOTIF_RX_NSS_SHIFT; in __ieee80211_vht_handle_opmode()
576 nss += 1; in __ieee80211_vht_handle_opmode()
578 if (sta->sta.rx_nss != nss) { in __ieee80211_vht_handle_opmode()
579 sta->sta.rx_nss = nss; in __ieee80211_vht_handle_opmode()
580 sta_opmode.rx_nss = nss; in __ieee80211_vht_handle_opmode()
A Drc80211_minstrel_ht.c288 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()
1638 int bw, nss; in minstrel_ht_update_caps() local
1658 nss = minstrel_mcs_groups[i].streams; in minstrel_ht_update_caps()
1661 if (sta->smps_mode == IEEE80211_SMPS_STATIC && nss > 1) in minstrel_ht_update_caps()
1669 mi->supported[i] = mcs->rx_mask[nss - 1]; in minstrel_ht_update_caps()
1696 mi->supported[i] = minstrel_get_valid_vht_rates(bw, nss, in minstrel_ht_update_caps()
A Dairtime.c437 streams = status->nss; in ieee80211_get_rate_duration()
447 streams = status->nss; in ieee80211_get_rate_duration()
517 stat->nss = ri->nss; in ieee80211_fill_rate_info()
582 stat->nss = ieee80211_rate_get_vht_nss(rate); in ieee80211_fill_rx_status()
/linux/drivers/net/wireless/realtek/rtw89/
A Dphy.c54 int i, nss; in get_mcs_ra_mask() local
56 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 12) { in get_mcs_ra_mask()
60 ra_mask |= GENMASK_ULL(highest_mcs, 0) << nss; in get_mcs_ra_mask()
63 ra_mask |= GENMASK_ULL(highest_mcs - gap, 0) << nss; in get_mcs_ra_mask()
66 ra_mask |= GENMASK_ULL(highest_mcs - gap * 2, 0) << nss; in get_mcs_ra_mask()
1019 #define _byr_idx(rs, nss, idx) ((nss) * rtw89_rs_idx_max[rs] + (idx)) argument
1020 #define _byr_chk(rs, nss, idx) \ argument
1021 ((nss) < rtw89_rs_nss_max[rs] && (idx) < rtw89_rs_idx_max[rs])
1037 idx = _byr_idx(cfg->rs, cfg->nss, (cfg->shf + i)); in rtw89_phy_load_txpwr_byrate()
1062 rate_desc->rs, rate_desc->nss, rate_desc->idx); in rtw89_phy_read_txpwr_byrate()
[all …]
/linux/fs/nfs/
A Dnfs4file.c141 struct nl4_server *nss = NULL; in __nfs4_copy_file_range() local
177 nss = &cn_resp->cnr_src; in __nfs4_copy_file_range()
181 nss, cnrs, sync); in __nfs4_copy_file_range()

Completed in 139 milliseconds

1234