Home
last modified time | relevance | path

Searched refs:max_nss (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A 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()
H A Dmain.c928 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7615_set_antenna() local
931 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7615_set_antenna()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7615/
H A Deeprom.c147 u8 tx_mask, max_nss; in mt7615_eeprom_parse_hw_cap() local
152 max_nss = 2; in mt7615_eeprom_parse_hw_cap()
160 max_nss = val & MT_TOP_3NSS ? 3 : 4; in mt7615_eeprom_parse_hw_cap()
165 if (!tx_mask || tx_mask > max_nss) in mt7615_eeprom_parse_hw_cap()
166 tx_mask = max_nss; in mt7615_eeprom_parse_hw_cap()
H A Dmain.c1005 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7615_set_antenna() local
1008 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7615_set_antenna()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7915/
H A 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()
H A 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()
H A Dmain.c738 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7915_set_antenna() local
741 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7915_set_antenna()
H A 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()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c65 u8 max_nss = hweight8(dev->phy.antenna_mask); in mt76_testmode_tx_init() local
68 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init()
108 if (rate->idx > 8 * max_nss && in mt76_testmode_tx_init()
119 if (td->tx_rate_nss > max_nss) in mt76_testmode_tx_init()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dtestmode.c183 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init() local
194 max_nss = min_t(u8, max_nss, hweight8(td->tx_antenna_mask)); in mt76_testmode_tx_init()
219 if (rate->idx > 8 * max_nss && in mt76_testmode_tx_init()
230 if (td->tx_rate_nss > max_nss) in mt76_testmode_tx_init()
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Drs-fw.c142 u8 max_nss = link_sta->rx_nss; in rs_fw_vht_set_enabled_rates() local
150 max_nss = 1; in rs_fw_vht_set_enabled_rates()
152 for (i = 0; i < max_nss && i < IWL_TLC_NSS_MAX; i++) { in rs_fw_vht_set_enabled_rates()
258 u8 max_nss, u16 mcs_msk) in rs_fw_set_eht_mcs_nss()
260 if (max_nss >= 2) in rs_fw_set_eht_mcs_nss()
263 if (max_nss >= 1) in rs_fw_set_eht_mcs_nss()
256 rs_fw_set_eht_mcs_nss(__le16 ht_rates[][3], enum IWL_TLC_MCS_PER_BW bw, u8 max_nss, u16 mcs_msk) rs_fw_set_eht_mcs_nss() argument
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/
H A Dmac.c1875 u8 max_nss; in ath11k_peer_assoc_h_ht() local
1943 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath11k_peer_assoc_h_ht()
1946 max_nss = (i / 8) + 1; in ath11k_peer_assoc_h_ht()
1964 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath11k_peer_assoc_h_ht()
2034 u8 max_nss) in ath11k_get_nss_160mhz()
2041 max_sup_nss = max_nss >> 1; in ath11k_get_nss_160mhz()
2047 max_sup_nss = max_nss; in ath11k_get_nss_160mhz()
2072 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
2139 for (i = 0, max_nss = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath11k_peer_assoc_h_vht()
2145 max_nss in ath11k_peer_assoc_h_vht()
2033 ath11k_get_nss_160mhz(struct ath11k *ar, u8 max_nss) ath11k_get_nss_160mhz() argument
2269 u8 max_nss, he_mcs; ath11k_peer_assoc_h_he() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmain.c944 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7996_set_antenna() local
947 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7996_set_antenna()
958 if (hweight8(tx_ant) == max_nss && band_idx < MT_BAND2) in mt7996_set_antenna()
961 else if (hweight8(tx_ant) == max_nss) in mt7996_set_antenna()
H A Dmcu.c101 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_he_mcs() local
103 for (nss = 0; nss < max_nss; nss++) { in mt7996_mcu_set_sta_he_mcs()
148 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_vht_mcs() local
150 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7996_mcu_set_sta_vht_mcs()
173 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7996_mcu_set_sta_ht_mcs() local
175 for (nss = 0; nss < max_nss; nss++) in mt7996_mcu_set_sta_ht_mcs()
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmcu.c65 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_he_mcs() local
67 for (nss = 0; nss < max_nss; nss++) { in mt7915_mcu_set_sta_he_mcs()
119 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_vht_mcs() local
122 for (nss = 0; nss < max_nss; nss++, mcs_map >>= 2) { in mt7915_mcu_set_sta_vht_mcs()
150 int nss, max_nss = sta->deflink.rx_nss > 3 ? 4 : sta->deflink.rx_nss; in mt7915_mcu_set_sta_ht_mcs() local
152 for (nss = 0; nss < max_nss; nss++) in mt7915_mcu_set_sta_ht_mcs()
515 int max_nss = hweight8(phy->mt76->antenna_mask); in mt7915_mcu_bss_ra_tlv() local
525 ra->tx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
526 ra->rx_streams = max_nss; in mt7915_mcu_bss_ra_tlv()
H A Dmain.c1039 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7915_set_antenna() local
1043 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7915_set_antenna()
1052 band && hweight8(tx_ant) == max_nss) in mt7915_set_antenna()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath12k/
H A Dmac.c1365 u8 max_nss; in ath12k_peer_assoc_h_ht() local
1425 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath12k_peer_assoc_h_ht()
1428 max_nss = (i / 8) + 1; in ath12k_peer_assoc_h_ht()
1446 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath12k_peer_assoc_h_ht()
1527 u8 max_nss, vht_mcs; in ath12k_peer_assoc_h_vht() local
1574 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath12k_peer_assoc_h_vht()
1580 max_nss = i + 1; in ath12k_peer_assoc_h_vht()
1582 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath12k_peer_assoc_h_vht()
1617 u8 ampdu_factor, rx_mcs_80, rx_mcs_160, max_nss; in ath12k_peer_assoc_h_he() local
1655 max_nss in ath12k_peer_assoc_h_he()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c991 int max_nss = hweight8(hw->wiphy->available_antennas_tx); in mt7921_set_antenna() local
993 if (!tx_ant || tx_ant != rx_ant || ffs(tx_ant) > max_nss) in mt7921_set_antenna()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/
H A Dmac.c1021 u8 max_nss; in ath11k_peer_assoc_h_ht() local
1081 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath11k_peer_assoc_h_ht()
1084 max_nss = (i / 8) + 1; in ath11k_peer_assoc_h_ht()
1102 arg->peer_nss = min(sta->rx_nss, max_nss); in ath11k_peer_assoc_h_ht()
1182 u8 max_nss, vht_mcs; in ath11k_peer_assoc_h_vht() local
1229 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath11k_peer_assoc_h_vht()
1235 max_nss = i + 1; in ath11k_peer_assoc_h_vht()
1237 arg->peer_nss = min(sta->rx_nss, max_nss); in ath11k_peer_assoc_h_vht()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
H A Dmac.c2301 u8 max_nss; in ath10k_peer_assoc_h_ht() local
2364 for (i = 0, n = 0, max_nss = 0; i < IEEE80211_HT_MCS_MASK_LEN * 8; i++) in ath10k_peer_assoc_h_ht()
2367 max_nss = (i / 8) + 1; in ath10k_peer_assoc_h_ht()
2386 arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); in ath10k_peer_assoc_h_ht()
2550 u8 max_nss, vht_mcs; in ath10k_peer_assoc_h_vht() local
2594 for (i = 0, max_nss = 0, vht_mcs = 0; i < NL80211_VHT_NSS_MAX; i++) { in ath10k_peer_assoc_h_vht()
2600 max_nss = i + 1; in ath10k_peer_assoc_h_vht()
2602 arg->peer_num_spatial_streams = min(sta->rx_nss, max_nss); in ath10k_peer_assoc_h_vht()
H A 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/
H A 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()
H A 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()

Completed in 95 milliseconds