/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
A D | init.c | 421 if (dev->chainmask == 0xf) in mt7615_cap_dbdc_enable() 422 dev->mphy.antenna_mask = dev->chainmask >> 2; in mt7615_cap_dbdc_enable() 424 dev->mphy.antenna_mask = dev->chainmask >> 1; in mt7615_cap_dbdc_enable() 425 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7615_cap_dbdc_enable() 426 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable() 437 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable() 438 dev->mphy.chainmask = dev->chainmask; in mt7615_cap_dbdc_disable() 439 dev->mphy.hw->wiphy->available_antennas_rx = dev->chainmask; in mt7615_cap_dbdc_disable() 440 dev->mphy.hw->wiphy->available_antennas_tx = dev->chainmask; in mt7615_cap_dbdc_disable() 467 mphy->chainmask = dev->chainmask & ~dev->mphy.chainmask; in mt7615_register_ext_phy() [all …]
|
A 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()
|
A D | testmode.c | 183 mask = phy->mt76->chainmask; in mt7615_tm_set_tx_antenna() 311 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
|
A D | mt7615.h | 253 u16 chainmask; member
|
A D | main.c | 979 if (dev->chainmask == 0xf) in mt7615_set_antenna() 984 phy->mt76->chainmask = tx_ant; in mt7615_set_antenna()
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A 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()
|
A D | pci_main.c | 119 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
|
/linux/drivers/net/wireless/ath/ath9k/ |
A 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()
|
A 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()
|
A D | common.h | 87 int ath9k_cmn_count_streams(unsigned int chainmask, int max);
|
A 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()
|
A 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()
|
A D | xmit.c | 2134 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate) in ath_txchainmask_reduction() argument 2140 (chainmask == 0x7) && (rate < 0x90)) in ath_txchainmask_reduction() 2146 return chainmask; in ath_txchainmask_reduction()
|
A D | ath9k.h | 1131 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | init.c | 452 mphy->chainmask = dev->chainmask & ~dev->mphy.chainmask; in mt7915_register_ext_phy() 453 mphy->antenna_mask = BIT(hweight8(mphy->chainmask)) - 1; in mt7915_register_ext_phy() 608 nss = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps() 721 int i, idx = 0, nss = hweight8(phy->mt76->chainmask); in mt7915_init_he_caps() 931 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7915_register_device() 932 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7915_register_device()
|
A D | eeprom.c | 110 dev->chainmask = BIT(nss) - 1; in mt7915_eeprom_parse_hw_cap() 112 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7915_eeprom_parse_hw_cap()
|
A D | mt7915.h | 255 u16 chainmask; member
|
A D | main.c | 948 if (dev->chainmask == 0xf) in mt7915_set_antenna() 953 phy->mt76->chainmask = tx_ant; in mt7915_set_antenna()
|
A D | mcu.c | 864 int max_nss = hweight8(phy->mt76->chainmask); in mt7915_mcu_bss_ra_tlv() 1787 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_is_ebf_supported() 1850 bf->nrow = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_ht() 1863 u8 tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_vht() 1958 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_tlv() 2025 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfee_tlv()
|
A D | testmode.c | 706 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7915_tm_set_params()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
A 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()
|
A D | mt76x02_util.c | 194 dev->mphy.chainmask = 0x202; in mt76x02_init_device() 197 dev->mphy.chainmask = 0x101; in mt76x02_init_device()
|
A 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()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
A D | init.c | 268 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device() 269 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
|
A D | main.c | 37 int nss = hweight8(phy->mt76->chainmask); in mt7921_init_he_caps() 1200 phy->mt76->chainmask = tx_ant; in mt7921_set_antenna()
|