Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7615/ !
Dinit.c275 int i, n_chains = hweight8(dev->mphy.antenna_mask), target_chains; in mt7615_init_txpower()
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()
439 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable()
470 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()
Dmcu.c2017 int n_chains = hweight8(mphy->antenna_mask); in mt7615_mcu_set_txpower_sku()
2144 .tx_streams = hweight8(phy->mt76->antenna_mask), in mt7615_mcu_set_chan_info()
Dmain.c985 phy->mt76->antenna_mask = tx_ant; in mt7615_set_antenna()
/linux-6.1.9/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.c642 status->chains = dev->mphy.antenna_mask; in mt7603_mac_fill_rx()
1654 if (dev->mphy.antenna_mask & BIT(1)) { in mt7603_edcca_check()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/ !
Dpci_main.c124 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna()
Dpci_phy.c77 switch (dev->mphy.antenna_mask) { in mt76x2_phy_set_antenna()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ !
Dmac80211.c238 int i, nstream = hweight8(phy->antenna_mask); in mt76_init_stream_cap()
423 wiphy->available_antennas_tx = phy->antenna_mask; in mt76_phy_init()
424 wiphy->available_antennas_rx = phy->antenna_mask; in mt76_phy_init()
1409 int n_chains = hweight8(phy->antenna_mask); in mt76_get_txpower()
1587 *tx_ant = phy->antenna_mask; in mt76_get_antenna()
1588 *rx_ant = phy->antenna_mask; in mt76_get_antenna()
Dtestmode.c182 u8 max_nss = hweight8(phy->antenna_mask); in mt76_testmode_tx_init()
445 1, hweight8(phy->antenna_mask)) || in mt76_testmode_cmd()
Deeprom.c323 txs_delta = mt76_get_txs_delta(np, hweight8(phy->antenna_mask)); in mt76_get_rate_power_limits()
Dmt76x02_util.c195 dev->mphy.antenna_mask = 3; in mt76x02_init_device()
198 dev->mphy.antenna_mask = 1; in mt76x02_init_device()
Dmt76_connac_mcu.c1384 .tx_streams = hweight8(phy->antenna_mask), in mt76_connac_mcu_uni_add_bss()
1852 dev->phy.antenna_mask = BIT(cap->nss) - 1; in mt76_connac_mcu_parse_phy_cap()
1853 dev->phy.chainmask = dev->phy.antenna_mask; in mt76_connac_mcu_parse_phy_cap()
Dmt76.h716 u8 antenna_mask; member
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ !
Dinit.c269 int i, n_chains = hweight8(dev->mphy.antenna_mask); in mt7915_init_txpower()
412 wiphy->available_antennas_rx = phy->mt76->antenna_mask; in mt7915_init_wiphy()
413 wiphy->available_antennas_tx = phy->mt76->antenna_mask; in mt7915_init_wiphy()
Deeprom.c219 mphy->antenna_mask = BIT(nss) - 1; in mt7915_eeprom_parse_hw_cap()
Dmcu.c2556 req.tx_stream = hweight8(mphy->antenna_mask); in mt7915_mcu_background_chain_ctrl()
2557 req.rx_stream = mphy->antenna_mask; in mt7915_mcu_background_chain_ctrl()
2637 .tx_streams_num = hweight8(phy->mt76->antenna_mask), in mt7915_mcu_set_chan_info()
2638 .rx_streams = phy->mt76->antenna_mask, in mt7915_mcu_set_chan_info()
3064 int i, idx, n_chains = hweight8(mphy->antenna_mask); in mt7915_mcu_set_txpower_sku()
Dmain.c966 phy->mt76->antenna_mask = tx_ant; in mt7915_set_antenna()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ !
Dmcu.c665 .tx_streams_num = hweight8(phy->mt76->antenna_mask), in mt7921_mcu_set_chan_info()
666 .rx_streams = phy->mt76->antenna_mask, in mt7921_mcu_set_chan_info()
Dmac.c420 status->chains = mphy->antenna_mask; in mt7921_mac_fill_rx()
426 for (i = 0; i < hweight8(mphy->antenna_mask); i++) { in mt7921_mac_fill_rx()
Dmain.c1288 phy->mt76->antenna_mask = tx_ant; in mt7921_set_antenna()
/linux-6.1.9/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