/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | eeprom.c | 77 dev->mphy.antenna_mask = dev->chainmask; in mt7921_eeprom_parse_hw_cap() 78 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7921_eeprom_parse_hw_cap()
|
D | mcu.c | 1107 .tx_streams_num = hweight8(phy->mt76->antenna_mask), in mt7921_mcu_set_chan_info() 1108 .rx_streams = phy->mt76->antenna_mask, in mt7921_mcu_set_chan_info()
|
D | mac.c | 524 status->chains = mphy->antenna_mask; in mt7921_mac_fill_rx() 530 for (i = 0; i < hweight8(mphy->antenna_mask); i++) { in mt7921_mac_fill_rx()
|
D | main.c | 1001 phy->mt76->antenna_mask = tx_ant; in mt7921_set_antenna()
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 274 int i, n_chains = hweight8(dev->mphy.antenna_mask), target_chains; in mt7615_init_txpower() 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() 437 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable() 468 mphy->antenna_mask = BIT(hweight8(mphy->chainmask)) - 1; in mt7615_register_ext_phy()
|
D | eeprom.c | 164 dev->mphy.antenna_mask = dev->chainmask; in mt7615_eeprom_parse_hw_cap()
|
D | testmode.c | 52 int i, ret, n_chains = hweight8(mphy->antenna_mask); in mt7615_tm_set_tx_power()
|
D | mac.c | 491 status->chains = mphy->antenna_mask; in mt7615_mac_fill_rx() 498 for (i = 1; i < hweight8(mphy->antenna_mask); i++) { in mt7615_mac_fill_rx()
|
D | mcu.c | 2221 int n_chains = hweight8(mphy->antenna_mask); in mt7615_mcu_set_txpower_sku() 2349 .tx_streams = hweight8(phy->mt76->antenna_mask), in mt7615_mcu_set_chan_info()
|
/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | eeprom.c | 178 dev->mphy.antenna_mask = 3; in mt7603_eeprom_init() 182 dev->mphy.antenna_mask = 1; in mt7603_eeprom_init()
|
D | mcu.c | 389 int n_chains = hweight8(dev->mphy.antenna_mask); in mt7603_mcu_set_channel() 418 if (dev->mphy.antenna_mask == 3) in mt7603_mcu_set_channel()
|
D | init.c | 116 int rx_chains = dev->mphy.antenna_mask; in mt7603_phy_init() 475 if (dev->mphy.antenna_mask & BIT(1)) in mt7603_init_txpower()
|
D | mac.c | 639 status->chains = dev->mphy.antenna_mask; in mt7603_mac_fill_rx() 1668 if (dev->mphy.antenna_mask & BIT(1)) { in mt7603_edcca_check()
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | eeprom.c | 111 dev->mphy.antenna_mask = BIT(nss_band) - 1; in mt7915_eeprom_parse_hw_cap() 112 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7915_eeprom_parse_hw_cap()
|
D | init.c | 162 int i, n_chains = hweight8(dev->mphy.antenna_mask); in mt7915_init_txpower() 353 mphy->antenna_mask = BIT(hweight8(mphy->chainmask)) - 1; in mt7915_register_ext_phy()
|
D | mac.c | 488 status->chains = mphy->antenna_mask; in mt7915_mac_fill_rx() 495 for (i = 1; i < hweight8(mphy->antenna_mask); i++) { in mt7915_mac_fill_rx()
|
D | main.c | 905 phy->mt76->antenna_mask = tx_ant; in mt7915_set_antenna()
|
/drivers/net/wireless/mediatek/mt76/ |
D | mac80211.c | 145 int i, nstream = hweight8(phy->antenna_mask); in mt76_init_stream_cap() 310 wiphy->available_antennas_tx = dev->phy.antenna_mask; in mt76_phy_init() 311 wiphy->available_antennas_rx = dev->phy.antenna_mask; in mt76_phy_init() 1190 int n_chains = hweight8(phy->antenna_mask); in mt76_get_txpower() 1315 *tx_ant = phy->antenna_mask; in mt76_get_antenna() 1316 *rx_ant = phy->antenna_mask; in mt76_get_antenna()
|
D | testmode.c | 180 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init() 440 1, hweight8(phy->antenna_mask)) || in mt76_testmode_cmd() 446 1 << (ext_phy * 2), phy->antenna_mask << (ext_phy * 2)) || in mt76_testmode_cmd()
|
D | mt76x02_util.c | 195 dev->mphy.antenna_mask = 3; in mt76x02_init_device() 198 dev->mphy.antenna_mask = 1; in mt76x02_init_device()
|
D | eeprom.c | 304 txs_delta = mt76_get_txs_delta(np, hweight8(phy->antenna_mask)); in mt76_get_rate_power_limits()
|
D | mt76.h | 624 u8 antenna_mask; member
|
/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | pci_main.c | 120 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna()
|
D | pci_phy.c | 77 switch (dev->mphy.antenna_mask) { in mt76x2_phy_set_antenna()
|
/drivers/net/wireless/broadcom/b43/ |
D | main.c | 1564 u8 antenna_mask; in b43_ieee80211_antenna_sanitize() local 1573 antenna_mask = dev->dev->bus_sprom->ant_available_bg; in b43_ieee80211_antenna_sanitize() 1575 antenna_mask = dev->dev->bus_sprom->ant_available_a; in b43_ieee80211_antenna_sanitize() 1577 if (!(antenna_mask & (1 << (antenna_nr - 1)))) { in b43_ieee80211_antenna_sanitize()
|