/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | init.c | 223 return test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7615_wait_for_mcu_init() 272 int i, n_chains = hweight8(dev->mphy.antenna_mask), target_chains; in mt7615_init_txpower() 305 target_power = mt76_get_rate_power_limits(&dev->mphy, chan, in mt7615_init_txpower() 333 struct mt76_phy *mphy = hw->priv; in mt7615_regd_notifier() local 334 struct mt7615_phy *phy = mphy->priv; in mt7615_regd_notifier() 335 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7615_regd_notifier() 340 mt7615_init_txpower(dev, &mphy->sband_2g.sband); in mt7615_regd_notifier() 341 mt7615_init_txpower(dev, &mphy->sband_5g.sband); in mt7615_regd_notifier() 349 mt76_connac_mcu_set_channel_domain(mphy); in mt7615_regd_notifier() 350 mt76_connac_mcu_set_rate_txpower(mphy); in mt7615_regd_notifier() [all …]
|
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() 260 mt7615_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7615_tm_set_state() argument 262 struct mt7615_phy *phy = mphy->priv; in mt7615_tm_set_state() 263 struct mt76_testmode_data *td = &mphy->test; in mt7615_tm_set_state() 266 mphy->test.state = state; in mt7615_tm_set_state() 297 mt7615_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7615_tm_set_params() argument [all …]
|
D | eeprom.c | 103 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 104 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 110 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() 124 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_cap() 127 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 133 dev->mphy.cap.has_2ghz = true; in mt7615_eeprom_parse_hw_band_cap() 134 dev->mphy.cap.has_5ghz = true; in mt7615_eeprom_parse_hw_band_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() [all …]
|
D | sdio_mcu.c | 57 struct mt76_phy *mphy = &dev->mt76.phy; in __mt7663s_mcu_drv_pmctrl() local 71 clear_bit(MT76_STATE_PM, &mphy->state); in __mt7663s_mcu_drv_pmctrl() 84 struct mt76_phy *mphy = &dev->mt76.phy; in mt7663s_mcu_drv_pmctrl() local 89 if (test_bit(MT76_STATE_PM, &mphy->state)) in mt7663s_mcu_drv_pmctrl() 100 struct mt76_phy *mphy = &dev->mt76.phy; in mt7663s_mcu_fw_pmctrl() local 107 if (mt76_connac_skip_fw_pmctrl(mphy, pm)) in mt7663s_mcu_fw_pmctrl() 118 clear_bit(MT76_STATE_PM, &mphy->state); in mt7663s_mcu_fw_pmctrl() 177 set_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt7663s_mcu_init()
|
D | mac.c | 203 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info() argument 206 if (!test_bit(MT76_HW_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 207 !test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) && in mt7615_get_status_freq_info() 208 !test_bit(MT76_STATE_ROC, &mphy->state)) { in mt7615_get_status_freq_info() 209 status->freq = mphy->chandef.chan->center_freq; in mt7615_get_status_freq_info() 210 status->band = mphy->chandef.chan->band; in mt7615_get_status_freq_info() 255 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx() local 411 mphy = dev->mt76.phy2; in mt7615_mac_fill_rx() 419 mt7615_get_status_freq_info(dev, mphy, status, chfreq); in mt7615_mac_fill_rx() 421 sband = &mphy->sband_5g.sband; in mt7615_mac_fill_rx() [all …]
|
D | dma.c | 27 ret = mt76_init_tx_queue(&dev->mphy, i, wmm_queue_map[i], in mt7622_init_tx_queues_multi() 34 ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT7622_TXQ_MGMT, in mt7622_init_tx_queues_multi() 57 ret = mt76_init_tx_queue(&dev->mphy, 0, 0, MT7615_TX_RING_SIZE, in mt7615_init_tx_queues() 63 dev->mphy.q_tx[i] = dev->mphy.q_tx[0]; in mt7615_init_tx_queues() 74 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7615_poll_tx() 84 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7615_poll_tx() 96 if (!mt76_connac_pm_ref(&dev->mphy, &dev->pm)) { in mt7615_poll_rx() 102 mt76_connac_pm_unref(&dev->mphy, &dev->pm); in mt7615_poll_rx()
|
D | usb.c | 28 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt7663u_stop() 38 clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7663u_cleanup() 105 set_bit(MT76_STATE_POWER_OFF, &dev->mphy.state); in mt7663u_probe() 151 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt7663u_disconnect() 168 if (!test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7663u_suspend() 198 if (!test_bit(MT76_STATE_SUSPEND, &dev->mphy.state) && in mt7663u_resume()
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt76x2/ |
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() 86 if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) { in mt76x2_config() 119 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna() 120 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna() [all …]
|
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() 86 if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) in mt76x2u_config()
|
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 …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | init.c | 160 int i, n_chains = hweight8(dev->mphy.antenna_mask); in mt7915_init_txpower() 178 target_power = mt76_get_rate_power_limits(&dev->mphy, chan, in mt7915_init_txpower() 195 struct mt76_phy *mphy = hw->priv; in mt7915_regd_notifier() local 196 struct mt7915_phy *phy = mphy->priv; in mt7915_regd_notifier() 197 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_regd_notifier() 202 mt7915_init_txpower(dev, &mphy->sband_2g.sband); in mt7915_regd_notifier() 203 mt7915_init_txpower(dev, &mphy->sband_5g.sband); in mt7915_regd_notifier() 334 struct mt76_phy *mphy; in mt7915_register_ext_phy() local 343 mphy = mt76_alloc_phy(&dev->mt76, sizeof(*phy), &mt7915_ops); in mt7915_register_ext_phy() 344 if (!mphy) in mt7915_register_ext_phy() [all …]
|
D | testmode.c | 55 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power() local 56 struct cfg80211_chan_def *chandef = &mphy->chandef; in mt7915_tm_set_tx_power() 258 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len() local 259 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_tx_len() 275 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7915_tm_set_tx_len() 276 sband = &mphy->sband_5g.sband; in mt7915_tm_set_tx_len() 278 sband = &mphy->sband_2g.sband; in mt7915_tm_set_tx_len() 307 switch (mphy->chandef.width) { in mt7915_tm_set_tx_len() 627 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state() argument 629 struct mt76_testmode_data *td = &mphy->test; in mt7915_tm_set_state() [all …]
|
D | mac.c | 314 struct mt76_phy *mphy = &dev->mt76.phy; in mt7915_mac_fill_rx() local 338 mphy = dev->mt76.phy2; in mt7915_mac_fill_rx() 339 if (!mphy) in mt7915_mac_fill_rx() 342 phy = mphy->priv; in mt7915_mac_fill_rx() 346 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7915_mac_fill_rx() 367 status->freq = mphy->chandef.chan->center_freq; in mt7915_mac_fill_rx() 368 status->band = mphy->chandef.chan->band; in mt7915_mac_fill_rx() 370 sband = &mphy->sband_5g.sband; in mt7915_mac_fill_rx() 372 sband = &mphy->sband_2g.sband; in mt7915_mac_fill_rx() 481 status->chains = mphy->antenna_mask; in mt7915_mac_fill_rx() [all …]
|
/Linux-v5.15/drivers/phy/ralink/ |
D | phy-mt7621-pci.c | 213 struct mt7621_pci_phy *mphy = phy_get_drvdata(phy); in mt7621_pci_phy_init() local 215 if (mphy->bypass_pipe_rst) in mt7621_pci_phy_init() 216 mt7621_bypass_pipe_rst(mphy); in mt7621_pci_phy_init() 218 return mt7621_set_phy_for_ssc(mphy); in mt7621_pci_phy_init() 223 struct mt7621_pci_phy *mphy = phy_get_drvdata(phy); in mt7621_pci_phy_power_on() local 226 mt7621_phy_rmw(mphy, RG_PE1_FRC_PHY_REG, in mt7621_pci_phy_power_on() 229 if (mphy->has_dual_port) { in mt7621_pci_phy_power_on() 230 mt7621_phy_rmw(mphy, RG_PE1_FRC_PHY_REG + RG_P0_TO_P1_WIDTH, in mt7621_pci_phy_power_on() 239 struct mt7621_pci_phy *mphy = phy_get_drvdata(phy); in mt7621_pci_phy_power_off() local 242 mt7621_phy_rmw(mphy, RG_PE1_FRC_PHY_REG, in mt7621_pci_phy_power_off() [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.c | 263 mt7921_get_status_freq_info(struct mt7921_dev *dev, struct mt76_phy *mphy, in mt7921_get_status_freq_info() argument 266 if (!test_bit(MT76_HW_SCANNING, &mphy->state) && in mt7921_get_status_freq_info() 267 !test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) && in mt7921_get_status_freq_info() 268 !test_bit(MT76_STATE_ROC, &mphy->state)) { in mt7921_get_status_freq_info() 269 status->freq = mphy->chandef.chan->center_freq; in mt7921_get_status_freq_info() 270 status->band = mphy->chandef.chan->band; in mt7921_get_status_freq_info() 316 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mac_fill_rx() local 335 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7921_mac_fill_rx() 357 mt7921_get_status_freq_info(dev, mphy, status, chfreq); in mt7921_mac_fill_rx() 360 sband = &mphy->sband_5g.sband; in mt7921_mac_fill_rx() [all …]
|
D | main.c | 178 struct mt76_phy *mphy = phy->mt76; in __mt7921_start() local 181 err = mt76_connac_mcu_set_mac_enable(mphy->dev, 0, true, false); in __mt7921_start() 185 err = mt76_connac_mcu_set_channel_domain(mphy); in __mt7921_start() 198 set_bit(MT76_STATE_RUNNING, &mphy->state); in __mt7921_start() 200 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, in __mt7921_start() 261 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, in mt7921_add_interface() 314 mt76_connac_mcu_uni_add_dev(&dev->mphy, vif, &mvif->sta.wcid, false); in mt7921_remove_interface() 629 ret = mt76_connac_pm_wake(&dev->mphy, &dev->pm); in mt7921_mac_sta_add() 644 mt76_connac_power_save_sched(&dev->mphy, &dev->pm); in mt7921_mac_sta_add() 659 mt76_connac_mcu_uni_add_bss(&dev->mphy, vif, &mvif->sta.wcid, in mt7921_mac_sta_assoc() [all …]
|
D | init.c | 141 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7921_init_hardware() 190 INIT_DELAYED_WORK(&dev->mphy.mac_work, mt7921_mac_work); in mt7921_register_device() 211 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7921_register_device() 214 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7921_register_device() 217 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device() 224 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device() 225 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device() 227 mt76_set_stream_caps(&dev->mphy, true); in mt7921_register_device()
|
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() 94 memcpy(dev->mphy.macaddr, dev->mt76.eeprom.data + MT_EE_MAC_ADDR, in mt7921_eeprom_init() 97 mt76_eeprom_override(&dev->mphy); in mt7921_eeprom_init()
|
D | mcu.c | 314 mt7921_mcu_tx_rate_parse(struct mt76_phy *mphy, in mt7921_mcu_tx_rate_parse() argument 349 if (mphy->chandef.chan->band == NL80211_BAND_5GHZ) in mt7921_mcu_tx_rate_parse() 350 sband = &mphy->sband_5g.sband; in mt7921_mcu_tx_rate_parse() 352 sband = &mphy->sband_2g.sband; in mt7921_mcu_tx_rate_parse() 383 bw = mt7921_mcu_chan_bw(&mphy->chandef) - FIELD_GET(MT_RA_RATE_BW, r); in mt7921_mcu_tx_rate_parse() 404 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_scan_event() local 405 struct mt7921_phy *phy = (struct mt7921_phy *)mphy->priv; in mt7921_mcu_scan_event() 411 ieee80211_queue_delayed_work(mphy->hw, &phy->scan_work, in mt7921_mcu_scan_event() 435 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_connection_loss_event() local 440 ieee80211_iterate_active_interfaces_atomic(mphy->hw, in mt7921_mcu_connection_loss_event() [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mmio.c | 18 struct mt76_queue *q = dev->mphy.q_tx[MT_TXQ_PSD]; in mt76x02_pre_tbtt_tasklet() 140 mt76_txq_schedule_all(&dev->mphy); in mt76x02_tx_worker() 153 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx() 160 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx() 192 ret = mt76_init_tx_queue(&dev->mphy, i, mt76_ac_to_hwq(i), in mt76x02_dma_init() 199 ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT_TX_HW_QUEUE_MGMT, in mt76x02_dma_init() 259 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt76x02_irq_handler() 284 mt76_queue_kick(dev, dev->mphy.q_tx[MT_TXQ_PSD]); in mt76x02_irq_handler() 349 q = dev->mphy.q_tx[i]; in mt76x02_tx_hang() 389 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x02_reset_state() [all …]
|
D | mt76x02_mac.c | 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() 496 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 502 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 506 dev->mphy.chandef.chan->band); in mt76x02_mac_fill_tx_status() 688 u8 n_rxstream = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rate() 730 ether_addr_copy(dev->mphy.macaddr, addr); in mt76x02_mac_setaddr() 732 if (!is_valid_ether_addr(dev->mphy.macaddr)) { in mt76x02_mac_setaddr() 733 eth_random_addr(dev->mphy.macaddr); in mt76x02_mac_setaddr() 736 dev->mphy.macaddr); in mt76x02_mac_setaddr() [all …]
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | usb.c | 75 clear_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0u_cleanup() 84 clear_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x0u_stop() 86 cancel_delayed_work_sync(&dev->mphy.mac_work); in mt76x0u_stop() 90 if (test_bit(MT76_REMOVED, &dev->mphy.state)) in mt76x0u_stop() 112 ieee80211_queue_delayed_work(dev->mt76.hw, &dev->mphy.mac_work, in mt76x0u_start() 116 set_bit(MT76_STATE_RUNNING, &dev->mphy.state); in mt76x0u_start() 199 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0u_register_device() 290 bool initialized = test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt76x0_disconnect() 310 clear_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state); in mt76x0_suspend()
|
D | eeprom.c | 55 dev->mphy.cap.has_2ghz, dev->mphy.cap.has_5ghz); in mt76x0_set_chip_cap() 58 dev->mphy.cap.has_2ghz = false; in mt76x0_set_chip_cap() 63 dev->mphy.cap.has_5ghz = false; in mt76x0_set_chip_cap() 112 struct ieee80211_channel *chan = dev->mphy.chandef.chan; in mt76x0_read_rx_gain() 132 struct cfg80211_chan_def *chandef = &dev->mphy.chandef; in mt76x0_get_delta() 345 memcpy(dev->mphy.macaddr, (u8 *)dev->mt76.eeprom.data + MT_EE_MAC_ADDR, in mt76x0_eeprom_init() 347 mt76_eeprom_override(&dev->mphy); in mt76x0_eeprom_init() 348 mt76x02_mac_setaddr(dev, dev->mphy.macaddr); in mt76x0_eeprom_init()
|
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7603/ |
D | beacon.c | 27 mt76_tx_queue_skb(dev, dev->mphy.q_tx[MT_TXQ_BEACON], skb, 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()
|
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() 140 cancel_delayed_work_sync(&dev->mphy.mac_work); in mt7603_set_channel() 144 set_bit(MT76_RESET, &dev->mphy.state); in mt7603_set_channel() 147 mt76_set_channel(&dev->mphy); in mt7603_set_channel() 153 dev->mphy.chandef = *def; in mt7603_set_channel() 177 clear_bit(MT76_RESET, &dev->mphy.state); in mt7603_set_channel() [all …]
|