/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 423 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 …]
|
D | eeprom.c | 163 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()
|
D | testmode.c | 183 mask = phy->mt76->chainmask; in mt7615_tm_set_tx_antenna() 310 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
|
D | mt7615.h | 253 u16 chainmask; member
|
D | main.c | 987 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/ |
D | mcu.c | 24 __le16 chainmask; in mt76x2_mcu_set_channel() member 32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel()
|
D | pci_main.c | 123 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | eeprom.c | 216 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()
|
D | init.c | 709 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()
|
D | mcu.c | 488 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()
|
D | mt7915.h | 298 u16 chainmask; member
|
D | testmode.c | 708 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7915_tm_set_params()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | common.c | 354 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()
|
D | calib.c | 95 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()
|
D | common.h | 87 int ath9k_cmn_count_streams(unsigned int chainmask, int max);
|
D | beacon.c | 80 u8 chainmask = ah->txchainmask; in ath9k_beacon_setup() local 107 info.rates[0].ChSel = ath_txchainmask_reduction(sc, chainmask, rate); in ath9k_beacon_setup()
|
D | debug.c | 1022 u8 chainmask = (ah->rxchainmask << 3) | ah->rxchainmask; in read_file_dump_nfcal() local 1028 if (!(chainmask & (1 << i)) || in read_file_dump_nfcal()
|
D | ath9k.h | 1132 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
|
D | xmit.c | 2175 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/ |
D | mt76x02_phy.c | 19 switch (dev->mphy.chainmask & 0xf) { in mt76x02_phy_set_rxpath() 38 txpath = (dev->mphy.chainmask >> 8) & 0xf; in mt76x02_phy_set_txdac()
|
D | mt76x02_util.c | 194 dev->mphy.chainmask = 0x202; in mt76x02_init_device() 197 dev->mphy.chainmask = 0x101; in mt76x02_init_device()
|
D | mt76x02_mac.c | 348 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()
|
D | mt76.h | 717 u16 chainmask; member
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | init.c | 322 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()
|
D | main.c | 38 int nss = hweight8(phy->mt76->chainmask); in mt7921_init_he_caps() 1289 phy->mt76->chainmask = tx_ant; in mt7921_set_antenna()
|