Home
last modified time | relevance | path

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

/drivers/net/wireless/mwifiex/
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()
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 …]
Dtdls.c249 u16 mcs_user, mcs_resp, nss; in mwifiex_tdls_add_vht_oper() local
323 for (nss = 1; nss <= 8; nss++) { in mwifiex_tdls_add_vht_oper()
324 mcs_user = GET_VHTNSSMCS(mcs_map_user, nss); in mwifiex_tdls_add_vht_oper()
325 mcs_resp = GET_VHTNSSMCS(mcs_map_resp, nss); in mwifiex_tdls_add_vht_oper()
329 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper()
332 SET_VHTNSSMCS(mcs_map_result, nss, in mwifiex_tdls_add_vht_oper()
Dfw.h290 #define GET_VHTNSSMCS(mcs_mapset, nss) ((mcs_mapset >> (2 * (nss - 1))) & 0x3) argument
291 #define SET_VHTNSSMCS(mcs_mapset, nss, value) (mcs_mapset |= (value & 0x3) << \ argument
292 (2 * (nss - 1)))
Dcfg80211.c1245 rate->nss = 2; in mwifiex_parse_htinfo()
1247 rate->nss = 1; in mwifiex_parse_htinfo()
/drivers/net/wireless/ath/ath10k/
Dmac.c123 static int ath10k_mac_get_max_vht_mcs_map(u16 mcs_map, int nss) in ath10k_mac_get_max_vht_mcs_map() argument
125 switch ((mcs_map >> (2 * nss)) & 0x3) { in ath10k_mac_get_max_vht_mcs_map()
136 int nss; in ath10k_mac_max_ht_nss() local
138 for (nss = IEEE80211_HT_MCS_MASK_LEN - 1; nss >= 0; nss--) in ath10k_mac_max_ht_nss()
139 if (ht_mcs_mask[nss]) in ath10k_mac_max_ht_nss()
140 return nss + 1; in ath10k_mac_max_ht_nss()
148 int nss; in ath10k_mac_max_vht_nss() local
150 for (nss = NL80211_VHT_NSS_MAX - 1; nss >= 0; nss--) in ath10k_mac_max_vht_nss()
151 if (vht_mcs_mask[nss]) in ath10k_mac_max_vht_nss()
152 return nss + 1; in ath10k_mac_max_vht_nss()
[all …]
Dhtt_rx.c664 u8 cck, rate, bw, sgi, mcs, nss; in ath10k_htt_rx_h_rates() local
695 nss = mcs >> 3; in ath10k_htt_rx_h_rates()
719 nss = (nsts_su >> 2) + 1; in ath10k_htt_rx_h_rates()
721 nss = (nsts_su + 1); in ath10k_htt_rx_h_rates()
734 nss = 1; in ath10k_htt_rx_h_rates()
761 status->vht_nss = nss; in ath10k_htt_rx_h_rates()
Dcore.h315 u32 nss; member
Dhtt.h1100 __le32 nss[4]; member
Dwmi.h4423 #define ATH10K_HW_RATECODE(rate, nss, preamble) \ argument
4424 (((preamble) << 6) | ((nss) << 4) | (rate))
4463 u32 nss; member
Dwmi-tlv.h1292 __le32 nss; member
Dwmi-tlv.c2152 cmd->nss = __cpu_to_le32(arg->peer_num_spatial_streams); in ath10k_wmi_tlv_op_gen_peer_assoc()
3386 .nss = WMI_TLV_VDEV_PARAM_NSS,
Dwmi.c746 .nss = WMI_VDEV_PARAM_NSS,
821 .nss = WMI_10X_VDEV_PARAM_NSS,
895 .nss = WMI_10X_VDEV_PARAM_NSS,
969 .nss = WMI_10_4_VDEV_PARAM_NSS,
/drivers/net/wireless/iwlwifi/mvm/
Drs.c830 u8 nss; in rs_rate_from_ucode_rate() local
866 nss = ((ucode_rate & RATE_HT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate()
869 if (nss == 1) { in rs_rate_from_ucode_rate()
874 } else if (nss == 2) { in rs_rate_from_ucode_rate()
881 nss = ((ucode_rate & RATE_VHT_MCS_NSS_MSK) >> in rs_rate_from_ucode_rate()
884 if (nss == 1) { in rs_rate_from_ucode_rate()
889 } else if (nss == 2) { in rs_rate_from_ucode_rate()
2842 int nss) in rs_vht_highest_rx_mcs_index() argument
2845 (0x3 << (2 * (nss - 1))); in rs_vht_highest_rx_mcs_index()
2846 rx_mcs >>= (2 * (nss - 1)); in rs_vht_highest_rx_mcs_index()
[all …]
/drivers/net/wireless/mediatek/mt7601u/
Dtx.c149 u8 nss; in mt7601u_push_txwi() local
162 rate_ctl = mt76_mac_tx_rate_val(dev, rate, &nss); in mt7601u_push_txwi()
Dmac.c101 u8 nss = 1; in mt76_mac_tx_rate_val() local
106 nss = 1 + (rate->idx >> 3); in mt76_mac_tx_rate_val()
134 *nss_val = nss; in mt76_mac_tx_rate_val()