Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Deeprom.c141 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local
146 max_nss = 2; in mt7615_eeprom_parse_hw_cap()
154 max_nss = val & MT_TOP_3NSS ? 3 : 4; in mt7615_eeprom_parse_hw_cap()
159 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap()
160 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap()
Dmain.c919 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7615_set_antenna() local
922 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7615_set_antenna()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7915/
Deeprom.c54 u8 tx_mask, max_nss = 4; in mt7915_eeprom_parse_hw_cap() local
74 if (!tx_mask || tx_mask > max_nss) in mt7915_eeprom_parse_hw_cap()
75 tx_mask = max_nss; in mt7915_eeprom_parse_hw_cap()
Dinit.c359 int ru, nss, max_nss = 1, max_ru = 3; in mt7915_gen_ppe_thresh() local
363 he_ppet[0] = max_nss & IEEE80211_PPE_THRES_NSS_MASK; in mt7915_gen_ppe_thresh()
368 for (nss = 0; nss <= max_nss; nss++) { in mt7915_gen_ppe_thresh()
Dmain.c732 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7915_set_antenna() local
735 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7915_set_antenna()
Dmcu.c904 int max_nss = hweight8(phy->chainmask); in mt7915_mcu_bss_ra_tlv() local
912 ra->tx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
913 ra->rx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dtestmode.c64 u8 max_nss = hweight8(dev->phy.antenna_mask); in mt76_testmode_tx_init() local
67 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init()
107 if (rate->idx > 8 * max_nss && in mt76_testmode_tx_init()
118 if (td->tx_rate_nss > max_nss) in mt76_testmode_tx_init()
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Drs-fw.c198 u8 max_nss = sta->rx_nss; in rs_fw_vht_set_enabled_rates() local
206 max_nss = 1; in rs_fw_vht_set_enabled_rates()
208 for (i = 0; i < max_nss && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_vht_set_enabled_rates()
/Linux-v5.10/drivers/net/wireless/ath/ath11k/
Dmac.c1016 u8 max_nss; in ath11k_peer_assoc_h_ht() local
1076 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath11k_peer_assoc_h_ht()
1079 max_nss = (i / 8) + 1; in ath11k_peer_assoc_h_ht()
1097 arg->peer_nss = min(sta->rx_nss, max_nss); in ath11k_peer_assoc_h_ht()
1177 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
1224 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath11k_peer_assoc_h_vht()
1230 max_nss = i + 1; in ath11k_peer_assoc_h_vht()
1232 arg->peer_nss = min(sta->rx_nss, max_nss); in ath11k_peer_assoc_h_vht()
/Linux-v5.10/drivers/net/wireless/ath/ath10k/
Dmac.c2290 u8 max_nss; in ath10k_peer_assoc_h_ht() local
2353 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath10k_peer_assoc_h_ht()
2356 max_nss = (i / 8) + 1; in ath10k_peer_assoc_h_ht()
2375 arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); in ath10k_peer_assoc_h_ht()
2539 u8 max_nss, vht_mcs; in ath10k_peer_assoc_h_vht() local
2583 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath10k_peer_assoc_h_vht()
2589 max_nss = i + 1; in ath10k_peer_assoc_h_vht()
2591 arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); in ath10k_peer_assoc_h_vht()
Dwmi.c7627 int max_mcs, max_nss; in ath10k_wmi_peer_assoc_fill_10_2() local
7632 max_nss = 0xf; in ath10k_wmi_peer_assoc_fill_10_2()
7635 SM(max_nss, WMI_PEER_ASSOC_INFO0_MAX_NSS); in ath10k_wmi_peer_assoc_fill_10_2()