/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | init.c | 228 return test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7615_wait_for_mcu_init() 277 int i, n_chains = hweight8(dev->mphy.antenna_mask), target_chains; in mt7615_init_txpower() 310 target_power = mt76_get_rate_power_limits(&dev->mphy, chan, in mt7615_init_txpower() 338 struct mt76_phy *mphy = hw->priv; in mt7615_regd_notifier() local 339 struct mt7615_phy *phy = mphy->priv; in mt7615_regd_notifier() 340 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7615_regd_notifier() 345 mt7615_init_txpower(dev, &mphy->sband_2g.sband); in mt7615_regd_notifier() 346 mt7615_init_txpower(dev, &mphy->sband_5g.sband); in mt7615_regd_notifier() 354 mt76_connac_mcu_set_channel_domain(mphy); in mt7615_regd_notifier() 355 mt76_connac_mcu_set_rate_txpower(mphy); in mt7615_regd_notifier() [all …]
|
H A D | eeprom.c | 115 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 116 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 122 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 128 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 136 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 142 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 145 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 146 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 176 dev->mphy.antenna_mask = dev->chainmask; in mt7615_eeprom_parse_hw_cap() 177 dev->mphy.chainmask = dev->chainmask; in mt7615_eeprom_parse_hw_cap() [all …]
|
H A D | testmode.c | 51 struct mt76_phy *mphy = phy->mt76; in mt7615_tm_set_tx_power() local 52 int i, ret, n_chains = hweight8(mphy->antenna_mask); in mt7615_tm_set_tx_power() 53 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7615_tm_set_tx_power() 70 if (mphy->test.state != MT76_TM_STATE_OFF) in mt7615_tm_set_tx_power() 71 tx_power = mphy->test.tx_power; in mt7615_tm_set_tx_power() 259 mt7615_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7615_tm_set_state() argument 261 struct mt7615_phy *phy = mphy->priv; in mt7615_tm_set_state() 262 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_state() 265 mphy->test.state = state; in mt7615_tm_set_state() 296 mt7615_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7615_tm_set_params() argument [all …]
|
H A D | mac.c | 205 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info() argument 208 if (!test_bit(MT76_HW_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 209 !test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 210 !test_bit(MT76_STATE_ROC, &mphy->state)) { in mt7615_get_status_freq_info() 211 status->freq = mphy->chandef.chan->center_freq; in mt7615_get_status_freq_info() 212 status->band = mphy->chandef.chan->band; in mt7615_get_status_freq_info() 339 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx() local 508 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_fill_rx() 516 mt7615_get_status_freq_info(dev, mphy, status, chfreq); in mt7615_mac_fill_rx() 518 sband = &mphy->sband_5g.sband; in mt7615_mac_fill_rx() [all …]
|
H A D | pci_init.c | 58 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7615_init_hardware() 81 dev->mphy.leds.cdev.brightness_set = mt7615_led_set_brightness; in mt7615_register_device() 82 dev->mphy.leds.cdev.blink_set = mt7615_led_set_blink; in mt7615_register_device() 105 mt7615_init_txpower(dev, &dev->mphy.sband_2g.sband); in mt7615_register_device() 106 mt7615_init_txpower(dev, &dev->mphy.sband_5g.sband); in mt7615_register_device()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt792x_mac.c | 15 struct mt76_phy *mphy; in mt792x_mac_work() local 17 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy, in mt792x_mac_work() 19 phy = mphy->priv; in mt792x_mac_work() 23 mt76_update_survey(mphy); in mt792x_mac_work() 24 if (++mphy->mac_work_count == 2) { in mt792x_mac_work() 25 mphy->mac_work_count = 0; in mt792x_mac_work() 32 mt76_tx_status_check(mphy->dev, false); in mt792x_mac_work() 33 ieee80211_queue_delayed_work(phy->mt76->hw, &mphy->mac_work, in mt792x_mac_work() 226 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx) in mt792x_phy_update_channel() argument 228 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_phy_update_channel() [all …]
|
H A D | mt76x02_util.c | 90 mt76x02_led_set_config(struct mt76_phy *mphy, u8 delay_on, u8 delay_off) in mt76x02_led_set_config() argument 92 struct mt76x02_dev *dev = container_of(mphy->dev, struct mt76x02_dev, in mt76x02_led_set_config() 100 mt76_wr(dev, MT_LED_S0(mphy->leds.pin), val); in mt76x02_led_set_config() 101 mt76_wr(dev, MT_LED_S1(mphy->leds.pin), val); in mt76x02_led_set_config() 103 val = MT_LED_CTRL_REPLAY(mphy->leds.pin) | in mt76x02_led_set_config() 104 MT_LED_CTRL_KICK(mphy->leds.pin); in mt76x02_led_set_config() 105 if (mphy->leds.al) in mt76x02_led_set_config() 106 val |= MT_LED_CTRL_POLARITY(mphy->leds.pin); in mt76x02_led_set_config() 115 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt76x02_led_set_blink() local 122 mt76x02_led_set_config(mphy, delta_on, delta_off); in mt76x02_led_set_blink() [all …]
|
H A D | mt76x02_mmio.c | 18 struct mt76_queue *q = dev->mphy.q_tx[MT_TXQ_PSD]; in mt76x02_pre_tbtt_tasklet() 141 mt76_txq_schedule_all(&dev->mphy); in mt76x02_tx_worker() 154 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx() 161 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx() 193 ret = mt76_init_tx_queue(&dev->mphy, i, mt76_ac_to_hwq(i), in mt76x02_dma_init() 200 ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT_TX_HW_QUEUE_MGMT, in mt76x02_dma_init() 260 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt76x02_irq_handler() 285 mt76_queue_kick(dev, dev->mphy.q_tx[MT_TXQ_PSD]); in mt76x02_irq_handler() 350 q = dev->mphy.q_tx[i]; in mt76x02_tx_hang() 392 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x02_reset_state() [all …]
|
H A D | mt76x02_mac.c | 28 memset(dev->mphy.aggr_stats, 0, sizeof(dev->mphy.aggr_stats)); in mt76x02_mac_reset_counters() 204 int band = dev->mphy.chandef.chan->band; in mt76x02_mac_tx_rate_val() 348 u8 ccmp_pn[8], nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_write_txwi() 497 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 503 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 507 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 692 u8 n_rxstream = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rate() 734 ether_addr_copy(dev->mphy.macaddr, addr); in mt76x02_mac_setaddr() 736 if (!is_valid_ether_addr(dev->mphy.macaddr)) { in mt76x02_mac_setaddr() 737 eth_random_addr(dev->mphy.macaddr); in mt76x02_mac_setaddr() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | pci_main.c | 17 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mphy.mac_work, in mt76x2_start() 22 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2_start() 31 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2_stop() 43 set_bit(MT76_RESET, &dev->mphy.state); in mt76x2_set_channel() 45 mt76_set_channel(&dev->mphy); in mt76x2_set_channel() 55 clear_bit(MT76_RESET, &dev->mphy.state); in mt76x2_set_channel() 61 mt76_txq_schedule_all(&dev->mphy); in mt76x2_set_channel() 81 struct mt76_phy *mphy = &dev->mphy; in mt76x2_config() local 84 dev->txpower_conf = mt76_get_sar_power(mphy, in mt76x2_config() 85 mphy->chandef.chan, in mt76x2_config() [all …]
|
H A D | usb_main.c | 18 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mphy.mac_work, in mt76x2u_start() 20 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2u_start() 29 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x2u_stop() 44 set_bit(MT76_RESET, &dev->mphy.state); in mt76x2u_set_channel() 46 mt76_set_channel(&dev->mphy); in mt76x2u_set_channel() 55 clear_bit(MT76_RESET, &dev->mphy.state); in mt76x2u_set_channel() 59 mt76_txq_schedule_all(&dev->mphy); in mt76x2u_set_channel() 81 struct mt76_phy *mphy = &dev->mphy; in mt76x2u_config() local 84 dev->txpower_conf = mt76_get_sar_power(mphy, in mt76x2u_config() 85 mphy->chandef.chan, in mt76x2u_config() [all …]
|
H A D | phy.c | 139 enum nl80211_chan_width width = dev->mphy.chandef.width; in mt76x2_phy_set_txpower() 140 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_set_txpower() 156 dev->mphy.txpower_cur = mt76x02_get_max_rate_power(&t); in mt76x2_phy_set_txpower() 205 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x2_phy_tssi_compensate() 255 dev->mphy.chandef.width >= NL80211_CHAN_WIDTH_40) in mt76x2_phy_set_gain_val() 259 dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ && in mt76x2_phy_set_gain_val() 260 dev->mphy.chandef.width < NL80211_CHAN_WIDTH_40) in mt76x2_phy_set_gain_val() 270 if (dev->mphy.chandef.chan->flags & IEEE80211_CHAN_RADAR) in mt76x2_phy_set_gain_val() 300 if (dev->mphy.chandef.width == NL80211_CHAN_WIDTH_80) { in mt76x2_phy_update_channel_gain() 318 if (dev->mphy.chandef.chan->band == NL80211_BAND_2GHZ) in mt76x2_phy_update_channel_gain() [all …]
|
H A D | init.c | 16 struct mt76_phy *mphy = &dev->mphy; in mt76x2_set_sar_specs() local 19 if (!cfg80211_chandef_valid(&mphy->chandef)) in mt76x2_set_sar_specs() 26 dev->txpower_conf = mt76_get_sar_power(mphy, mphy->chandef.chan, in mt76x2_set_sar_specs() 31 if (test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt76x2_set_sar_specs()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | init.c | 53 struct mt76_phy *mphy; in mt7996_led_set_config() local 56 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7996_led_set_config() 57 dev = container_of(mphy->dev, struct mt7996_dev, mt76); in mt7996_led_set_config() 72 if (mphy->leds.al) in mt7996_led_set_config() 110 int i, nss = hweight8(dev->mphy.antenna_mask); in mt7996_init_txpower() 120 target_power = mt76_get_rate_power_limits(&dev->mphy, chan, in mt7996_init_txpower() 296 i = dev->mphy.leds.pin ? MT_LED_GPIO_MUX3 : MT_LED_GPIO_MUX2; in mt7996_mac_init() 342 struct mt76_phy *mphy; in mt7996_register_phy() local 359 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7996_ops, band); in mt7996_register_phy() 360 if (!mphy) in mt7996_register_phy() [all …]
|
H A D | eeprom.c | 153 struct mt76_phy *mphy = phy->mt76; in mt7996_eeprom_parse_hw_cap() local 182 mphy->antenna_mask = BIT(nss) - 1; in mt7996_eeprom_parse_hw_cap() 183 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap() 184 dev->chainmask |= mphy->chainmask; in mt7996_eeprom_parse_hw_cap() 187 hweight16(mphy->chainmask); in mt7996_eeprom_parse_hw_cap() 216 memcpy(dev->mphy.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, ETH_ALEN); in mt7996_eeprom_init() 218 memcpy(dev->mphy.macaddr, (u8 *)dev->mt76.eeprom.data + MT_EE_MAC_ADDR, ETH_ALEN); in mt7996_eeprom_init() 220 mt76_eeprom_override(&dev->mphy); in mt7996_eeprom_init()
|
H A D | mac.c | 457 struct mt76_phy *mphy = &dev->mt76.phy; in mt7996_mac_fill_rx() local 483 mphy = dev->mt76.phys[band_idx]; in mt7996_mac_fill_rx() 484 phy = mphy->priv; in mt7996_mac_fill_rx() 485 status->phy_idx = mphy->band_idx; in mt7996_mac_fill_rx() 487 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7996_mac_fill_rx() 516 status->freq = mphy->chandef.chan->center_freq; in mt7996_mac_fill_rx() 517 status->band = mphy->chandef.chan->band; in mt7996_mac_fill_rx() 519 sband = &mphy->sband_5g.sband; in mt7996_mac_fill_rx() 521 sband = &mphy->sband_6g.sband; in mt7996_mac_fill_rx() 523 sband = &mphy->sband_2g.sband; in mt7996_mac_fill_rx() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | init.c | 234 struct mt76_phy *mphy; in mt7915_led_set_config() local 237 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7915_led_set_config() 238 dev = container_of(mphy->dev, struct mt7915_dev, mt76); in mt7915_led_set_config() 244 mt76_wr(dev, MT_LED_STATUS_0(mphy->band_idx), val); in mt7915_led_set_config() 245 mt76_wr(dev, MT_LED_STATUS_1(mphy->band_idx), val); in mt7915_led_set_config() 248 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7915_led_set_config() 252 if (dev->mphy.leds.al) in mt7915_led_set_config() 254 if (mphy->band_idx) in mt7915_led_set_config() 257 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7915_led_set_config() 258 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7915_led_set_config() [all …]
|
H A D | testmode.c | 41 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power() local 42 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_tm_set_tx_power() 257 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len() local 258 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_tx_len() 274 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len() 275 sband = &mphy->sband_5g.sband; in mt7915_tm_set_tx_len() 276 else if (mphy->chandef.chan->band == NL80211_BAND_6GHZ) in mt7915_tm_set_tx_len() 277 sband = &mphy->sband_6g.sband; in mt7915_tm_set_tx_len() 279 sband = &mphy->sband_2g.sband; in mt7915_tm_set_tx_len() 308 switch (mphy->chandef.width) { in mt7915_tm_set_tx_len() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 116 mt76_eeprom_override(&dev->mphy); in __mt7921_init_hardware() 131 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7921_init_hardware() 159 mt76_set_stream_caps(&dev->mphy, true); in mt7921_init_work() 209 INIT_DELAYED_WORK(&dev->mphy.mac_work, mt792x_mac_work); in mt7921_register_device() 250 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7921_register_device() 253 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7921_register_device() 256 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device() 263 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device() 267 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device() 268 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
|
H A D | sdio_mac.c | 63 clear_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7921s_wfsys_reset() 76 set_bit(MT76_MCU_RESET, &dev->mphy.state); in mt7921s_init_reset() 88 clear_bit(MT76_MCU_RESET, &dev->mphy.state); in mt7921s_init_reset() 99 mt76_txq_schedule_all(&dev->mphy); in mt7921s_mac_reset() 101 set_bit(MT76_RESET, &dev->mphy.state); in mt7921s_mac_reset() 102 set_bit(MT76_MCU_RESET, &dev->mphy.state); in mt7921s_mac_reset() 120 clear_bit(MT76_MCU_RESET, &dev->mphy.state); in mt7921s_mac_reset() 137 clear_bit(MT76_RESET, &dev->mphy.state); in mt7921s_mac_reset()
|
H A D | testmode.c | 43 struct mt76_phy *phy = &dev->mphy; in mt7921_tm_set() 115 struct mt76_phy *mphy = hw->priv; in mt7921_testmode_cmd() local 116 struct mt792x_phy *phy = mphy->priv; in mt7921_testmode_cmd() 119 if (!test_bit(MT76_STATE_RUNNING, &mphy->state) || in mt7921_testmode_cmd() 152 struct mt76_phy *mphy = hw->priv; in mt7921_testmode_dump() local 153 struct mt792x_phy *phy = mphy->priv; in mt7921_testmode_dump() 156 if (!test_bit(MT76_STATE_RUNNING, &mphy->state) || in mt7921_testmode_dump() 158 !mt76_testmode_enabled(mphy)) in mt7921_testmode_dump()
|
H A D | sdio_mcu.c | 95 set_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7921s_mcu_init() 103 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921s_mcu_drv_pmctrl() local 115 if (!err && test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state)) in mt7921s_mcu_drv_pmctrl() 127 clear_bit(MT76_STATE_PM, &mphy->state); in mt7921s_mcu_drv_pmctrl() 139 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921s_mcu_fw_pmctrl() local 146 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state)) { in mt7921s_mcu_fw_pmctrl() 166 clear_bit(MT76_STATE_PM, &mphy->state); in mt7921s_mcu_fw_pmctrl()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | init.c | 116 int rx_chains = dev->mphy.antenna_mask; in mt7603_phy_init() 287 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7603_init_hardware() 333 static void mt7603_led_set_config(struct mt76_phy *mphy, u8 delay_on, in mt7603_led_set_config() argument 336 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config() 344 addr = mt7603_reg_map(dev, MT_LED_STATUS_0(mphy->leds.pin)); in mt7603_led_set_config() 346 addr = mt7603_reg_map(dev, MT_LED_STATUS_1(mphy->leds.pin)); in mt7603_led_set_config() 349 val = MT_LED_CTRL_REPLAY(mphy->leds.pin) | in mt7603_led_set_config() 350 MT_LED_CTRL_KICK(mphy->leds.pin); in mt7603_led_set_config() 351 if (mphy->leds.al) in mt7603_led_set_config() 352 val |= MT_LED_CTRL_POLARITY(mphy->leds.pin); in mt7603_led_set_config() [all …]
|
H A D | main.c | 18 dev->mphy.survey_time = ktime_get_boottime(); in mt7603_start() 19 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt7603_start() 20 mt7603_mac_work(&dev->mphy.mac_work.work); in mt7603_start() 30 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt7603_stop() 31 cancel_delayed_work_sync(&dev->mphy.mac_work); in mt7603_stop() 146 cancel_delayed_work_sync(&dev->mphy.mac_work); in mt7603_set_channel() 150 set_bit(MT76_RESET, &dev->mphy.state); in mt7603_set_channel() 153 mt76_set_channel(&dev->mphy); in mt7603_set_channel() 159 dev->mphy.chandef = *def; in mt7603_set_channel() 183 clear_bit(MT76_RESET, &dev->mphy.state); in mt7603_set_channel() [all …]
|
H A D | beacon.c | 27 mt76_tx_queue_skb(dev, dev->mphy.q_tx[MT_TXQ_BEACON], in mt7603_update_beacon_iter() 34 dev->mphy.q_tx[MT_TXQ_CAB]->hw_idx) | in mt7603_update_beacon_iter() 84 q = dev->mphy.q_tx[MT_TXQ_BEACON]; in mt7603_pre_tbtt_tasklet() 95 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[MT_TXQ_CAB], false); in mt7603_pre_tbtt_tasklet() 101 q = dev->mphy.q_tx[MT_TXQ_CAB]; in mt7603_pre_tbtt_tasklet() 141 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[MT_TXQ_BEACON], false); in mt7603_pre_tbtt_tasklet() 142 if (dev->mphy.q_tx[MT_TXQ_BEACON]->queued > hweight8(mdev->beacon_mask)) in mt7603_pre_tbtt_tasklet()
|