Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dinit.c421 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 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()
A Dtestmode.c183 mask = phy->mt76->chainmask; in mt7615_tm_set_tx_antenna()
311 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
A Dmt7615.h253 u16 chainmask; member
A Dmain.c979 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 Dmcu.c24 __le16 chainmask; in mt76x2_mcu_set_channel() member
32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel()
A Dpci_main.c119 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
/linux/drivers/net/wireless/ath/ath9k/
A 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()
A 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()
A Dcommon.h87 int ath9k_cmn_count_streams(unsigned int chainmask, int max);
A 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()
A 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()
A Dxmit.c2134 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 Dath9k.h1131 u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate);
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dinit.c452 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 Deeprom.c110 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 Dmt7915.h255 u16 chainmask; member
A Dmain.c948 if (dev->chainmask == 0xf) in mt7915_set_antenna()
953 phy->mt76->chainmask = tx_ant; in mt7915_set_antenna()
A Dmcu.c864 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 Dtestmode.c706 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7915_tm_set_params()
/linux/drivers/net/wireless/mediatek/mt76/
A 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()
A Dmt76x02_util.c194 dev->mphy.chainmask = 0x202; in mt76x02_init_device()
197 dev->mphy.chainmask = 0x101; in mt76x02_init_device()
A 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()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dinit.c268 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 Dmain.c37 int nss = hweight8(phy->mt76->chainmask); in mt7921_init_he_caps()
1200 phy->mt76->chainmask = tx_ant; in mt7921_set_antenna()

Completed in 65 milliseconds

12