Lines Matching full:nss
654 * @brief Fetch the allowable MCS mask for the given channel bandwidth and NSS
662 * @param nss number of spatial streams, 1..8
666 ieee80211_phy_vht_get_mcs_mask(enum net80211_sta_rx_bw bw, uint8_t nss) in ieee80211_phy_vht_get_mcs_mask() argument
668 if (nss == 0 || nss > 8) in ieee80211_phy_vht_get_mcs_mask()
673 return (ieee80211_vht_mcs_allowed_list_20[nss - 1]); in ieee80211_phy_vht_get_mcs_mask()
675 return (ieee80211_vht_mcs_allowed_list_40[nss - 1]); in ieee80211_phy_vht_get_mcs_mask()
677 return (ieee80211_vht_mcs_allowed_list_80[nss - 1]); in ieee80211_phy_vht_get_mcs_mask()
679 return (ieee80211_vht_mcs_allowed_list_160[nss - 1]); in ieee80211_phy_vht_get_mcs_mask()
687 * @brief Check if the given NSS/MCS combination is valid for the given channel
693 * @param nss number of spatial streams, 1..8
695 * @retval true if the NSS / MCS / bandwidth combination is valid
696 * @retval false if the NSS / MCS / bandwidth combination is not valid
699 ieee80211_phy_vht_validate_mcs(enum net80211_sta_rx_bw bw, uint8_t nss, in ieee80211_phy_vht_validate_mcs() argument
704 mask = ieee80211_phy_vht_get_mcs_mask(bw, nss); in ieee80211_phy_vht_validate_mcs()
719 * (VHT-MCSs for Mandatory 20 MHZ, Nss=1).
741 * @param nss Number of spatial streams, 1..8
750 uint8_t nss, uint8_t mcs, bool is_shortgi) in ieee80211_phy_vht_get_mcs_kbit() argument
754 /* Validate MCS 0..9, NSS 1..8 */ in ieee80211_phy_vht_get_mcs_kbit()
757 if (nss == 0 || nss > 8) in ieee80211_phy_vht_get_mcs_kbit()
793 nss * 10000) / (mcs_entries[mcs].cod_d * sym_len)); in ieee80211_phy_vht_get_mcs_kbit()