| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | 11ac.c | 18 {0x124, 0x15F, 0x186}, /* NSS = 1 */ 19 {0x249, 0x2BE, 0x30C}, /* NSS = 2 */ 20 {0x36D, 0x41D, 0x492}, /* NSS = 3 */ 21 {0x492, 0x57C, 0x618}, /* NSS = 4 */ 22 {0x5B6, 0x6DB, 0x79E}, /* NSS = 5 */ 23 {0x6DB, 0x83A, 0x0}, /* NSS = 6 */ 24 {0x7FF, 0x999, 0xAAA}, /* NSS = 7 */ 25 {0x924, 0xAF8, 0xC30} /* NSS = 8 */ 29 {0x249, 0x2BE, 0x30C}, /* NSS = 1 */ 30 {0x492, 0x57C, 0x618}, /* NSS = 2 */ [all …]
|
| /linux/Documentation/devicetree/bindings/clock/ |
| H A D | qcom,ipq9574-nsscc.yaml | 28 - description: CMN_PLL NSS 1200MHz (Bias PLL cc) clock source 31 - description: Uniphy0 NSS Rx clock source 32 - description: Uniphy0 NSS Tx clock source 33 - description: Uniphy1 NSS Rx clock source 34 - description: Uniphy1 NSS Tx clock source 35 - description: Uniphy2 NSS Rx clock source 36 - description: Uniphy2 NSS Tx clock source
|
| H A D | qcom,qca8k-nsscc.yaml | 7 title: Qualcomm NSS Clock & Reset Controller on QCA8386/QCA8084 14 Qualcomm NSS clock control module provides the clocks and resets
|
| /linux/drivers/net/wireless/realtek/rtlwifi/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/ath/ath11k/ |
| H A D | debugfs_sta.c | 23 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 D | mac.c | 436 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 D | dp_tx.c | 488 /* This is to prefer choose the real NSS value arsta->last_txrate.nss, in ath11k_dp_tx_update_txcompl() 489 * if it is invalid, then choose the NSS value while assoc. in ath11k_dp_tx_update_txcompl() 491 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()
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A 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() 105 *nss = 0; in rtw_desc_to_mcsrate()
|
| H A D | main.c | 1013 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 …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | nft_interface_stress.sh | 22 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/Documentation/devicetree/bindings/net/ |
| H A 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/drivers/net/wireless/mediatek/mt76/ |
| H A 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 …]
|
| H A D | mt76_connac_mac.c | 12 void mt76_connac_gen_ppe_thresh(u8 *he_ppet, int nss, enum nl80211_band band) in mt76_connac_gen_ppe_thresh() argument 20 he_ppet[0] = FIELD_PREP(IEEE80211_PPE_THRES_NSS_MASK, nss - 1) | in mt76_connac_gen_ppe_thresh() 25 nss * hweight8(ru_bit_mask) * 2; in mt76_connac_gen_ppe_thresh() 281 for (nss = 0; i < ARRAY_SIZE(mask->control[band]._mcs); i++) { \ 290 nss = i + 1; \ 303 u8 nss = 0, mode = 0, band = chandef->chan->band; in mt76_connac2_mac_tx_rate_val() local 352 return FIELD_PREP(MT_TX_RATE_NSS, nss) | in mt76_connac2_mac_tx_rate_val() 649 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt76_connac2_mac_fill_txs() 652 if (stbc && rate.nss > 1) in mt76_connac2_mac_fill_txs() 653 rate.nss >>= 1; in mt76_connac2_mac_fill_txs() [all …]
|
| H A 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()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | debugfs_sta.c | 25 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 D | debugfs.c | 349 static u16 ath12k_get_ratecode(u16 pream_idx, u16 nss, u16 mcs_rate) in ath12k_get_ratecode() argument 397 return ((mode_type << 8) | ((nss & 0x7) << 5) | (mcs_rate & 0x1F)); in ath12k_get_ratecode() 425 int nss, rates, chains; in ath12k_tpc_fill_pream() local 457 for (nss = 0; nss < max_nss; nss++) { in ath12k_tpc_fill_pream() 474 rate_code = ath12k_get_ratecode(pream_bw, nss, rates); in ath12k_tpc_fill_pream() 480 if (nss > chains) { in ath12k_tpc_fill_pream() 520 u8 nss, active_tx_chains; in ath12k_tpc_stats_print() local 627 nss = (max_nss[i - 1] < num_tx_chain ? in ath12k_tpc_stats_print() 630 rate_idx[i] = rate_idx[i - 1] + max_rates[i - 1] * nss; in ath12k_tpc_stats_print() 633 eht_rate_idx[j] = eht_rate_idx[j - 1] + max_rates[i] * nss; in ath12k_tpc_stats_print() [all …]
|
| H A D | mac.c | 503 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/net/mac80211/ |
| H A D | vht.c | 563 /* get the max nss for EHT over all possible bandwidths and mcs */ in ieee80211_sta_init_nss() 654 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() [all …]
|
| H A D | debugfs_sta.c | 674 struct ieee80211_he_mcs_nss_supp *nss = &hec->he_mcs_nss_supp; 866 PFLAG(PHY, 3, DCM_MAX_TX_NSS_1, "DCM-MAX-TX-NSS-1"); in link_sta_he_capa_read() 867 PFLAG(PHY, 3, DCM_MAX_TX_NSS_2, "DCM-MAX-TX-NSS-2"); in link_sta_he_capa_read() 884 PFLAG(PHY, 3, DCM_MAX_RX_NSS_1, "DCM-MAX-RX-NSS-1"); in link_sta_he_capa_read() 885 PFLAG(PHY, 3, DCM_MAX_RX_NSS_2, "DCM-MAX-RX-NSS-2"); in link_sta_he_capa_read() 983 u16 v = le16_to_cpu(nss->f); \ in link_sta_he_capa_read() 1048 struct ieee80211_eht_mcs_nss_supp *nss = &bec->eht_mcs_nss_supp; in link_sta_eht_capa_read() 1113 PRINT("BEAMFORMEE-80-NSS: %i", i); in link_sta_eht_capa_read() 1114 PRINT("BEAMFORMEE-160-NSS: %i", (cap[1] >> 2) & 0x7); in link_sta_eht_capa_read() 1115 PRINT("BEAMFORMEE-320-NSS in link_sta_eht_capa_read() 682 struct ieee80211_he_mcs_nss_supp *nss = &hec->he_mcs_nss_supp; link_sta_he_capa_read() local 1056 struct ieee80211_eht_mcs_nss_supp *nss = &bec->eht_mcs_nss_supp; link_sta_eht_capa_read() local [all...] |
| H A D | eht.c | 52 /* we calculate as if NSS > 8 are valid, but don't handle that */ in ieee80211_eht_cap_ie_to_sta_eht_cap() 64 /* Copy MCS/NSS which depends on the peer capabilities */ in ieee80211_eht_cap_ie_to_sta_eht_cap()
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | htt_rx.c | 989 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 …]
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | mac.c | 254 u8 stbc, gi, bw, dcm, nss; in mt7925_mac_fill_rx_rate() local 263 nss = FIELD_GET(MT_PRXV_NSTS, v0) + 1; in mt7925_mac_fill_rx_rate() 287 status->nss = nss; in mt7925_mac_fill_rx_rate() 298 status->nss = nss; in mt7925_mac_fill_rx_rate() 310 status->nss = nss; in mt7925_mac_fill_rx_rate() 922 rate.nss = FIELD_GET(MT_TX_RATE_NSS, txrate) + 1; in mt7925_mac_add_txs_skb() 925 if (stbc && rate.nss > 1) in mt7925_mac_add_txs_skb() 926 rate.nss >>= 1; in mt7925_mac_add_txs_skb() 928 if (rate.nss - 1 < ARRAY_SIZE(stats->tx_nss)) in mt7925_mac_add_txs_skb() 929 stats->tx_nss[rate.nss - 1]++; in mt7925_mac_add_txs_skb()
|
| /linux/drivers/clk/qcom/ |
| H A D | ipq-cmn-pll.c | 20 * and an output clock to NSS (network subsystem) at 300 MHZ. The other output 38 * GCC PCS NSS/PPE 124 CLK_PLL_OUTPUT(IPQ5424_NSS_300MHZ_CLK, "nss-300mhz", 300000000UL), 137 CLK_PLL_OUTPUT(NSS_1200MHZ_CLK, "nss-1200mhz", 1200000000UL),
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | mcu.c | 111 u8 nss; in mt7996_mcu_get_sta_nss() local 113 for (nss = 8; nss > 0; nss--) { in mt7996_mcu_get_sta_nss() 114 u8 nss_mcs = (mcs_map >> (2 * (nss - 1))) & 3; in mt7996_mcu_get_sta_nss() 120 return nss - 1; in mt7996_mcu_get_sta_nss() 128 int nss, max_nss = link_sta->rx_nss > 3 ? 4 : link_sta->rx_nss; in mt7996_mcu_set_sta_he_mcs() local 132 for (nss = 0; nss < max_nss; nss++) { in mt7996_mcu_set_sta_he_mcs() 135 switch ((mcs_map >> (2 * nss)) & 0x3) { in mt7996_mcu_set_sta_he_mcs() 149 mcs = mcs ? fls(mcs & mask[nss]) - 1 : -1; in mt7996_mcu_set_sta_he_mcs() 165 mcs_map &= ~(0x3 << (nss * 2)); in mt7996_mcu_set_sta_he_mcs() 166 mcs_map |= mcs << (nss * 2); in mt7996_mcu_set_sta_he_mcs() [all …]
|
| /linux/Documentation/arch/s390/ |
| H A D | monreader.rst | 30 location of the monitor DCSS with the Class E privileged CP command Q NSS MAP 34 on the DEF STOR and Q NSS MAP commands, as well as "Saved Segments Planning 173 module. You can also use the (Class E privileged) CP command Q NSS MAP to
|