Home
last modified time | relevance | path

Searched refs:max_nss (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Deeprom.c142 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local
147 max_nss = 2; in mt7615_eeprom_parse_hw_cap()
155 max_nss = val & MT_TOP_3NSS ? 3 : 4; in mt7615_eeprom_parse_hw_cap()
160 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap()
161 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap()
Dmain.c974 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7615_set_antenna() local
977 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7615_set_antenna()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dtestmode.c182 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init() local
193 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init()
218 if (rate->idx > 8 * max_nss && in mt76_testmode_tx_init()
229 if (td->tx_rate_nss > max_nss) in mt76_testmode_tx_init()
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c139 u8 max_nss = sta->deflink.rx_nss; in rs_fw_vht_set_enabled_rates() local
147 max_nss = 1; in rs_fw_vht_set_enabled_rates()
149 for (i = 0; i < max_nss && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_vht_set_enabled_rates()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Dmcu.c58 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() local
60 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs()
112 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() local
115 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
143 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs() local
145 for (nss = 0; nss < max_nss; nss++) in mt7915_mcu_set_sta_ht_mcs()
488 int max_nss = hweight8(phy->mt76->chainmask); in mt7915_mcu_bss_ra_tlv() local
498 ra->tx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
499 ra->rx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
Dmain.c955 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7915_set_antenna() local
958 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7915_set_antenna()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dmac.c1691 u8 max_nss; in ath11k_peer_assoc_h_ht() local
1759 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath11k_peer_assoc_h_ht()
1762 max_nss = (i / 8) + 1; in ath11k_peer_assoc_h_ht()
1780 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath11k_peer_assoc_h_ht()
1850 u8 max_nss) in ath11k_get_nss_160mhz() argument
1857 max_sup_nss = max_nss >> 1; in ath11k_get_nss_160mhz()
1863 max_sup_nss = max_nss; in ath11k_get_nss_160mhz()
1888 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
1955 for (i = 0, max_nss = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath11k_peer_assoc_h_vht()
1961 max_nss = i + 1; in ath11k_peer_assoc_h_vht()
[all …]
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmain.c1278 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7921_set_antenna() local
1280 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7921_set_antenna()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dmac.c2313 u8 max_nss; in ath10k_peer_assoc_h_ht() local
2376 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath10k_peer_assoc_h_ht()
2379 max_nss = (i / 8) + 1; in ath10k_peer_assoc_h_ht()
2399 max_nss); in ath10k_peer_assoc_h_ht()
2563 u8 max_nss, vht_mcs; in ath10k_peer_assoc_h_vht() local
2607 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath10k_peer_assoc_h_vht()
2613 max_nss = i + 1; in ath10k_peer_assoc_h_vht()
2615 arg->peer_num_spatial_streams = min(sta->deflink.rx_nss, max_nss); in ath10k_peer_assoc_h_vht()
Dwmi.c7636 int max_mcs, max_nss; in ath10k_wmi_peer_assoc_fill_10_2() local
7641 max_nss = 0xf; in ath10k_wmi_peer_assoc_fill_10_2()
7644 SM(max_nss, WMI_PEER_ASSOC_INFO0_MAX_NSS); in ath10k_wmi_peer_assoc_fill_10_2()