Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/marvell/mwifiex/
H A D11ac.c46 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()
71 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
74 max_rate = max_rate_lgi_160MHZ[nss - 1][mcs - 1]; in mwifiex_convert_mcsmap_to_maxrate()
76 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs]; in mwifiex_convert_mcsmap_to_maxrate()
79 max_rate = max_rate_lgi_80MHZ[nss - 1][mcs - 1]; 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()
[all …]
H A Dtdls.c245 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()
/linux/drivers/net/wireless/realtek/rtlwifi/
H 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/realtek/rtw88/
H 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()
105 *nss = 0; in rtw_desc_to_mcsrate()
H A Dmain.c1013 int i, nss; in get_vht_ra_mask() local
1016 for (i = 0, nss = 12; i < 4; i++, mcs_map >>= 2, nss += 10) { in get_vht_ra_mask()
1020 ra_mask |= 0x3ffULL << nss; in get_vht_ra_mask()
1023 ra_mask |= 0x1ffULL << nss; in get_vht_ra_mask()
1026 ra_mask |= 0x0ffULL << nss; in get_vht_ra_mask()
1248 if (efuse->hw_cap.nss == 1 || rtwdev->hal.txrx_1ss) in rtw_update_sta_info()
1250 else if (efuse->hw_cap.nss == 2) in rtw_update_sta_info()
1313 tx_num = efuse->hw_cap.nss; in rtw_update_sta_info()
1596 for (i = 0; i < efuse->hw_cap.nss; i++) in rtw_init_ht_cap()
1599 ht_cap->mcs.rx_highest = cpu_to_le16(150 * efuse->hw_cap.nss); in rtw_init_ht_cap()
[all …]
H A Ddebug.c697 u8 nss = rtwdev->efuse.hw_cap.nss; in rtw_debugfs_get_tx_pwr_tbl() local
712 max_ht_rate = DESC_RATEMCS0 + nss * 8 - 1; in rtw_debugfs_get_tx_pwr_tbl()
715 max_rate = DESC_RATEVHT1SS_MCS0 + nss * 10 - 1; in rtw_debugfs_get_tx_pwr_tbl()
828 for (ss = 0; ss < efuse->hw_cap.nss; ss++) { in rtw_debugfs_get_phy_info()
842 for (ss = 0; ss < efuse->hw_cap.nss; ss++) { in rtw_debugfs_get_phy_info()
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_interface_stress.sh22 setup_ns nsc nsr nss
29 ip -net $nss link add sr0 type veth peer name rs0 netns $nsr
30 ip -net $nss addr add 10.1.0.1/24 dev sr0
31 ip -net $nss link set sr0 up
32 ip -net $nss route add default via 10.1.0.2
91 ip netns exec $nss iperf3 --server --daemon -1
/linux/drivers/net/wireless/ath/ath11k/
H A Ddebugfs_sta.c23 int gi, mcs, bw, nss; in ath11k_debugfs_sta_add_tx_stats() local
32 nss = txrate->nss - 1; in ath11k_debugfs_sta_add_tx_stats()
89 STATS_OP_FMT(AMPDU).nss[0][nss] += in ath11k_debugfs_sta_add_tx_stats()
95 STATS_OP_FMT(AMPDU).nss[1][nss] += in ath11k_debugfs_sta_add_tx_stats()
104 STATS_OP_FMT(SUCC).nss[0][nss] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats()
108 STATS_OP_FMT(SUCC).nss[1][nss] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats()
112 STATS_OP_FMT(FAIL).nss[0][nss] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats()
116 STATS_OP_FMT(FAIL).nss[1][nss] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats()
120 STATS_OP_FMT(RETRY).nss[0][nss] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats()
124 STATS_OP_FMT(RETRY).nss[1][nss] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats()
[all …]
H A Dmac.c436 int nss; in ath11k_mac_max_ht_nss() local
438 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath11k_mac_max_ht_nss()
439 if (ht_mcs_mask[nss]) in ath11k_mac_max_ht_nss()
440 return nss + 1; in ath11k_mac_max_ht_nss()
448 int nss; in ath11k_mac_max_vht_nss() local
450 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_vht_nss()
451 if (vht_mcs_mask[nss]) in ath11k_mac_max_vht_nss()
452 return nss + 1; in ath11k_mac_max_vht_nss()
460 int nss; in ath11k_mac_max_he_nss() local
462 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath11k_mac_max_he_nss()
[all …]
H A Ddp_tx.c491 if (arsta->last_txrate.nss) in ath11k_dp_tx_update_txcompl()
492 arsta->txrate.nss = arsta->last_txrate.nss; in ath11k_dp_tx_update_txcompl()
494 arsta->txrate.nss = arsta->peer_nss; in ath11k_dp_tx_update_txcompl()
511 if (arsta->txrate.nss != 0) in ath11k_dp_tx_update_txcompl()
512 arsta->txrate.mcs = mcs + 8 * (arsta->txrate.nss - 1); in ath11k_dp_tx_update_txcompl()
H A Dhal_rx.h79 nss:3, member
139 u8 nss; member
/linux/drivers/net/wireless/ath/ath12k/
H A Ddebugfs_sta.c25 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 Dmac.c503 int nss; in ath12k_mac_max_ht_nss() local
505 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath12k_mac_max_ht_nss()
506 if (ht_mcs_mask[nss]) in ath12k_mac_max_ht_nss()
507 return nss + 1; in ath12k_mac_max_ht_nss()
515 int nss; in ath12k_mac_max_vht_nss() local
517 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath12k_mac_max_vht_nss()
518 if (vht_mcs_mask[nss]) in ath12k_mac_max_vht_nss()
519 return nss + 1; in ath12k_mac_max_vht_nss()
527 int nss; in ath12k_mac_max_he_nss() local
529 for (nss = NL80211_HE_NSS_MAX - 1; nss >= 0; nss--) in ath12k_mac_max_he_nss()
[all …]
/linux/Documentation/devicetree/bindings/net/
H 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/net/mac80211/
H A Dvht.c654 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()
677 nss, link_sta->pub->addr); in __ieee80211_vht_handle_opmode()
H A Dairtime.c538 streams = status->nss; in ieee80211_get_rate_duration()
548 streams = status->nss; in ieee80211_get_rate_duration()
553 streams = status->nss; in ieee80211_get_rate_duration()
636 stat->nss = ri->nss; in ieee80211_fill_rate_info()
710 stat->nss = ieee80211_rate_get_vht_nss(rate); in ieee80211_fill_rx_status()
H A Dsta_info.h1049 r |= STA_STATS_FIELD(VHT_NSS, s->nss); in sta_stats_encode_rate()
1063 r |= STA_STATS_FIELD(HE_NSS, s->nss); in sta_stats_encode_rate()
1071 r |= STA_STATS_FIELD(EHT_NSS, s->nss); in sta_stats_encode_rate()
H A Dmlme.c392 int nss; in ieee80211_verify_sta_vht_mcs_support() local
431 for (nss = 8; nss > 0; nss--) { in ieee80211_verify_sta_vht_mcs_support()
432 u8 ap_op_val = (ap_min_req_set >> (2 * (nss - 1))) & 3; in ieee80211_verify_sta_vht_mcs_support()
439 sta_rx_val = (sta_rx_mcs_map >> (2 * (nss - 1))) & 3; in ieee80211_verify_sta_vht_mcs_support()
440 sta_tx_val = (sta_tx_mcs_map >> (2 * (nss - 1))) & 3; in ieee80211_verify_sta_vht_mcs_support()
447 nss, sta_rx_val, sta_tx_val, ap_op_val); in ieee80211_verify_sta_vht_mcs_support()
464 int nss; in ieee80211_verify_peer_he_mcs_support() local
517 for (nss = 8; nss > 0; nss--) { in ieee80211_verify_peer_he_mcs_support()
518 u8 ap_op_val = (ap_min_req_set >> (2 * (nss - 1))) & 3; in ieee80211_verify_peer_he_mcs_support()
525 ap_rx_val = (mcs_80_map_rx >> (2 * (nss - 1))) & 3; in ieee80211_verify_peer_he_mcs_support()
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c989 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local
1029 nss = mcs >> 3; in ath10k_htt_rx_h_rates()
1054 nss = (nsts_su >> 2) + 1; in ath10k_htt_rx_h_rates()
1056 nss = (nsts_su + 1); in ath10k_htt_rx_h_rates()
1069 nss = 1; in ath10k_htt_rx_h_rates()
1096 status->nss = nss; in ath10k_htt_rx_h_rates()
1298 status->nss = 0; in ath10k_htt_rx_h_ppdu()
1396 status->nss, in ath10k_process_rx()
3672 int idx, ht_idx, gi, mcs, bw, nss; in ath10k_accumulate_per_peer_tx_stats() local
3683 nss = txrate->nss; in ath10k_accumulate_per_peer_tx_stats()
[all …]
H A Ddebugfs_sta.c707 stats->nss[j][0], stats->nss[j][1], in ath10k_dbg_sta_dump_tx_stats()
708 stats->nss[j][2], stats->nss[j][3]); in ath10k_dbg_sta_dump_tx_stats()
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dtx.c141 u8 nss; in mt7601u_push_txwi() local
154 rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss); in mt7601u_push_txwi()
H A Dmac.c109 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()
/linux/arch/s390/include/asm/
H A Dipl.h101 } nss; member
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dutils.c1274 u32 nss; in iwl_mvm_v3_rate_from_fw() local
1279 nss = u32_get_bits(rate_v1, RATE_HT_MCS_MIMO2_MSK); in iwl_mvm_v3_rate_from_fw()
1280 rate_v3 |= u32_encode_bits(nss, RATE_MCS_NSS_MSK); in iwl_mvm_v3_rate_from_fw()
1283 u32 nss = u32_get_bits(rate_v1, RATE_VHT_MCS_NSS_MSK); in iwl_mvm_v3_rate_from_fw() local
1287 rate_v3 |= u32_encode_bits(nss, RATE_MCS_NSS_MSK); in iwl_mvm_v3_rate_from_fw()
/linux/fs/nilfs2/
H A Dcpfile.c468 int ret, ncps, nicps, nss, count, i; in nilfs_cpfile_delete_checkpoints() local
483 nss = 0; in nilfs_cpfile_delete_checkpoints()
501 nss++; in nilfs_cpfile_delete_checkpoints()
546 if (nss > 0) in nilfs_cpfile_delete_checkpoints()

123