Home
last modified time | relevance | path

Searched refs:chainmask (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/
Dinit.c423 if (dev->chainmask == 0xf) in mt7615_cap_dbdc_enable()
424 dev->mphy.antenna_mask = dev->chainmask >> 2; in mt7615_cap_dbdc_enable()
426 dev->mphy.antenna_mask = dev->chainmask >> 1; in mt7615_cap_dbdc_enable()
427 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7615_cap_dbdc_enable()
428 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable()
429 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable()
439 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable()
440 dev->mphy.chainmask = dev->chainmask; in mt7615_cap_dbdc_disable()
441 dev->mphy.hw->wiphy->available_antennas_rx = dev->chainmask; in mt7615_cap_dbdc_disable()
442 dev->mphy.hw->wiphy->available_antennas_tx = dev->chainmask; in mt7615_cap_dbdc_disable()
[all …]
Deeprom.c163 dev->chainmask = BIT(tx_mask) - 1; in mt7615_eeprom_parse_hw_cap()
164 dev->mphy.antenna_mask = dev->chainmask; in mt7615_eeprom_parse_hw_cap()
165 dev->mphy.chainmask = dev->chainmask; in mt7615_eeprom_parse_hw_cap()
Dtestmode.c183 mask = phy->mt76->chainmask; in mt7615_tm_set_tx_antenna()
310 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
Dmt7615.h253 u16 chainmask; member
Dmain.c987 if (dev->chainmask == 0xf) in mt7615_set_antenna()
992 phy->mt76->chainmask = tx_ant; in mt7615_set_antenna()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Dmcu.c24 __le16 chainmask; in mt76x2_mcu_set_channel() member
32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel()
Dpci_main.c123 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/
Deeprom.c216 mphy->chainmask = BIT(path) - 1; in mt7915_eeprom_parse_hw_cap()
218 mphy->chainmask <<= dev->chainshift; in mt7915_eeprom_parse_hw_cap()
220 dev->chainmask |= mphy->chainmask; in mt7915_eeprom_parse_hw_cap()
221 dev->chainshift = hweight8(dev->mphy.chainmask); in mt7915_eeprom_parse_hw_cap()
Dinit.c709 nss = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps()
839 int i, idx = 0, nss = hweight8(phy->mt76->chainmask); in mt7915_init_he_caps()
Dmcu.c488 int max_nss = hweight8(phy->mt76->chainmask); in mt7915_mcu_bss_ra_tlv()
991 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_is_ebf_supported()
1054 bf->nrow = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_ht()
1067 u8 tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_vht()
1162 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_tlv()
1231 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfee_tlv()
Dmt7915.h298 u16 chainmask; member
Dtestmode.c708 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7915_tm_set_params()
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dcommon.c354 int ath9k_cmn_count_streams(unsigned int chainmask, int max) in ath9k_cmn_count_streams() argument
361 } while ((chainmask = chainmask & (chainmask - 1))); in ath9k_cmn_count_streams()
Dcalib.c95 u8 chainmask = (ah->rxchainmask << 3) | ah->rxchainmask; in ath9k_hw_update_nfcal_hist_buffer() local
102 if (!(chainmask & (1 << i)) || in ath9k_hw_update_nfcal_hist_buffer()
251 u8 chainmask = (ah->rxchainmask << 3) | ah->rxchainmask; in ath9k_hw_loadnf() local
261 if (chainmask & (1 << i)) { in ath9k_hw_loadnf()
356 if (chainmask & (1 << i)) { in ath9k_hw_loadnf()
Dcommon.h87 int ath9k_cmn_count_streams(unsigned int chainmask, int max);
Dbeacon.c80 u8 chainmask = ah->txchainmask; in ath9k_beacon_setup() local
107 info.rates[0].ChSel = ath_txchainmask_reduction(sc, chainmask, rate); in ath9k_beacon_setup()
Ddebug.c1022 u8 chainmask = (ah->rxchainmask << 3) | ah->rxchainmask; in read_file_dump_nfcal() local
1028 if (!(chainmask & (1 << i)) || in read_file_dump_nfcal()
Dath9k.h1132 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
Dxmit.c2175 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate) in ath_txchainmask_reduction() argument
2181 (chainmask == 0x7) && (rate < 0x90)) in ath_txchainmask_reduction()
2187 return chainmask; in ath_txchainmask_reduction()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_phy.c19 switch (dev->mphy.chainmask & 0xf) { in mt76x02_phy_set_rxpath()
38 txpath = (dev->mphy.chainmask >> 8) & 0xf; in mt76x02_phy_set_txdac()
Dmt76x02_util.c194 dev->mphy.chainmask = 0x202; in mt76x02_init_device()
197 dev->mphy.chainmask = 0x101; in mt76x02_init_device()
Dmt76x02_mac.c348 u8 ccmp_pn[8], nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_write_txwi()
689 u8 n_rxstream = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rate()
782 int pad_len = 0, nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rx()
Dmt76.h717 u16 chainmask; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dinit.c322 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device()
323 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
Dmain.c38 int nss = hweight8(phy->mt76->chainmask); in mt7921_init_he_caps()
1289 phy->mt76->chainmask = tx_ant; in mt7921_set_antenna()

12