Home
last modified time | relevance | path

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

12

/drivers/net/wireless/mediatek/mt76/mt7921/
Deeprom.c77 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()
Dmcu.c1107 .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()
Dmac.c524 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()
Dmain.c1001 phy->mt76->antenna_mask = tx_ant; in mt7921_set_antenna()
/drivers/net/wireless/mediatek/mt76/mt7615/
Dinit.c274 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()
Deeprom.c164 dev->mphy.antenna_mask = dev->chainmask; in mt7615_eeprom_parse_hw_cap()
Dtestmode.c52 int i, ret, n_chains = hweight8(mphy->antenna_mask); in mt7615_tm_set_tx_power()
Dmac.c491 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()
Dmcu.c2221 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/
Deeprom.c178 dev->mphy.antenna_mask = 3; in mt7603_eeprom_init()
182 dev->mphy.antenna_mask = 1; in mt7603_eeprom_init()
Dmcu.c389 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()
Dinit.c116 int rx_chains = dev->mphy.antenna_mask; in mt7603_phy_init()
475 if (dev->mphy.antenna_mask & BIT(1)) in mt7603_init_txpower()
Dmac.c639 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/
Deeprom.c111 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()
Dinit.c162 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()
Dmac.c488 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()
Dmain.c905 phy->mt76->antenna_mask = tx_ant; in mt7915_set_antenna()
/drivers/net/wireless/mediatek/mt76/
Dmac80211.c145 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()
Dtestmode.c180 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()
Dmt76x02_util.c195 dev->mphy.antenna_mask = 3; in mt76x02_init_device()
198 dev->mphy.antenna_mask = 1; in mt76x02_init_device()
Deeprom.c304 txs_delta = mt76_get_txs_delta(np, hweight8(phy->antenna_mask)); in mt76_get_rate_power_limits()
Dmt76.h624 u8 antenna_mask; member
/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_main.c120 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna()
Dpci_phy.c77 switch (dev->mphy.antenna_mask) { in mt76x2_phy_set_antenna()
/drivers/net/wireless/broadcom/b43/
Dmain.c1564 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()

12