Home
last modified time | relevance | path

Searched full:mphy (Results 1 – 25 of 113) sorted by relevance

12345

/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dinit.c228 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 Dtestmode.c51 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 Dmac.c202 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info() argument
205 if (!test_bit(MT76_HW_SCANNING, &mphy->state) && in mt7615_get_status_freq_info()
206 !test_bit(MT76_HW_SCHED_SCANNING, &mphy->state) && in mt7615_get_status_freq_info()
207 !test_bit(MT76_STATE_ROC, &mphy->state)) { in mt7615_get_status_freq_info()
208 status->freq = mphy->chandef.chan->center_freq; in mt7615_get_status_freq_info()
209 status->band = mphy->chandef.chan->band; in mt7615_get_status_freq_info()
336 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx() local
501 mphy = dev->mt76.phys[MT_BAND1]; in mt7615_mac_fill_rx()
509 mt7615_get_status_freq_info(dev, mphy, status, chfreq); in mt7615_mac_fill_rx()
511 sband = &mphy->sband_5g.sband; in mt7615_mac_fill_rx()
[all …]
H A Deeprom.c115 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 Dmcu.c191 if (test_bit(MT76_STATE_MCU_RUNNING, &dev->mphy.state)) in mt7615_mcu_send_message()
247 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_drv_pmctrl() local
276 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_drv_pmctrl()
287 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_lp_drv_pmctrl() local
293 if (!test_bit(MT76_STATE_PM, &mphy->state)) in mt7615_mcu_lp_drv_pmctrl()
308 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_lp_drv_pmctrl()
321 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_fw_pmctrl() local
328 if (mt76_connac_skip_fw_pmctrl(mphy, pm)) in mt7615_mcu_fw_pmctrl()
340 clear_bit(MT76_STATE_PM, &mphy->state); in mt7615_mcu_fw_pmctrl()
367 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mcu_rx_csa_notify() local
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt792x_mac.c15 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()
225 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx) in mt792x_phy_update_channel() argument
227 struct mt792x_dev *dev = container_of(mphy->dev, struct mt792x_dev, mt76); in mt792x_phy_update_channel()
[all …]
H A Dmt76x02_util.c90 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 Dmt76x02_mmio.c18 struct mt76_queue *q = dev->mphy.q_tx[MT_TXQ_PSD]; in mt76x02_pre_tbtt_tasklet()
25 if (dev->mphy.offchannel) in mt76x02_pre_tbtt_tasklet()
148 mt76_txq_schedule_all(&dev->mphy); in mt76x02_tx_worker()
161 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx()
168 mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[i], false); in mt76x02_poll_tx()
199 ret = mt76_init_tx_queue(&dev->mphy, i, mt76_ac_to_hwq(i), in mt76x02_dma_init()
206 ret = mt76_init_tx_queue(&dev->mphy, MT_TXQ_PSD, MT_TX_HW_QUEUE_MGMT, in mt76x02_dma_init()
267 if (!test_bit(MT76_STATE_INITIALIZED, &dev->mphy.state)) in mt76x02_irq_handler()
292 mt76_queue_kick(dev, dev->mphy.q_tx[MT_TXQ_PSD]); in mt76x02_irq_handler()
357 q = dev->mphy.q_tx[i]; in mt76x02_tx_hang()
[all …]
H A Dmt76x02_mac.c28 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()
690 u8 n_rxstream = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rate()
732 ether_addr_copy(dev->mphy.macaddr, addr); in mt76x02_mac_setaddr()
734 if (!is_valid_ether_addr(dev->mphy.macaddr)) { in mt76x02_mac_setaddr()
735 eth_random_addr(dev->mphy.macaddr); in mt76x02_mac_setaddr()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dusb_main.c18 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()
34 int mt76x2u_set_channel(struct mt76_phy *mphy) in mt76x2u_set_channel() argument
36 struct mt76x02_dev *dev = container_of(mphy->dev, struct mt76x02_dev, mt76); in mt76x2u_set_channel()
42 err = mt76x2u_phy_set_channel(dev, &mphy->chandef); in mt76x2u_set_channel()
69 struct mt76_phy *mphy = &dev->mphy; in mt76x2u_config() local
72 dev->txpower_conf = mt76_get_sar_power(mphy, in mt76x2u_config()
73 mphy->chandef.chan, in mt76x2u_config()
78 if (test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt76x2u_config()
[all …]
H A Dpci_main.c17 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()
73 struct mt76_phy *mphy = &dev->mphy; in mt76x2_config() local
76 dev->txpower_conf = mt76_get_sar_power(mphy, in mt76x2_config()
77 mphy->chandef.chan, in mt76x2_config()
82 if (test_bit(MT76_STATE_RUNNING, &dev->mphy.state)) { in mt76x2_config()
91 mt76_update_channel(&dev->mphy); in mt76x2_config()
112 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
113 dev->mphy.antenna_mask = tx_ant; in mt76x2_set_antenna()
[all …]
H A Dphy.c139 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 …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dinit.c238 struct mt76_phy *mphy; in mt7915_led_set_config() local
241 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7915_led_set_config()
242 dev = container_of(mphy->dev, struct mt7915_dev, mt76); in mt7915_led_set_config()
248 mt76_wr(dev, MT_LED_STATUS_0(mphy->band_idx), val); in mt7915_led_set_config()
249 mt76_wr(dev, MT_LED_STATUS_1(mphy->band_idx), val); in mt7915_led_set_config()
252 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7915_led_set_config()
256 if (dev->mphy.leds.al) in mt7915_led_set_config()
258 if (mphy->band_idx) in mt7915_led_set_config()
261 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7915_led_set_config()
262 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7915_led_set_config()
[all …]
H A Dtestmode.c41 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/mt7603/
H A Dinit.c117 int rx_chains = dev->mphy.antenna_mask; in mt7603_phy_init()
295 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7603_init_hardware()
341 static void mt7603_led_set_config(struct mt76_phy *mphy, u8 delay_on, in mt7603_led_set_config() argument
344 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, in mt7603_led_set_config()
352 addr = mt7603_reg_map(dev, MT_LED_STATUS_0(mphy->leds.pin)); in mt7603_led_set_config()
354 addr = mt7603_reg_map(dev, MT_LED_STATUS_1(mphy->leds.pin)); in mt7603_led_set_config()
357 val = MT_LED_CTRL_REPLAY(mphy->leds.pin) | in mt7603_led_set_config()
358 MT_LED_CTRL_KICK(mphy->leds.pin); in mt7603_led_set_config()
359 if (mphy->leds.al) in mt7603_led_set_config()
360 val |= MT_LED_CTRL_POLARITY(mphy->leds.pin); in mt7603_led_set_config()
[all …]
H A Dmain.c18 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()
134 int mt7603_set_channel(struct mt76_phy *mphy) in mt7603_set_channel() argument
136 struct mt7603_dev *dev = container_of(mphy->dev, struct mt7603_dev, mt76); in mt7603_set_channel()
137 struct cfg80211_chan_def *def = &mphy->chandef; in mt7603_set_channel()
175 ieee80211_queue_delayed_work(mt76_hw(dev), &dev->mphy.mac_work, in mt7603_set_channel()
185 dev->mphy.survey_time = ktime_get_boottime(); in mt7603_set_channel()
[all …]
H A Deeprom.c174 dev->mphy.cap.has_2ghz = true; in mt7603_eeprom_init()
175 memcpy(dev->mphy.macaddr, eeprom + MT_EE_MAC_ADDR, ETH_ALEN); in mt7603_eeprom_init()
178 dev->mphy.antenna_mask = 3; in mt7603_eeprom_init()
182 dev->mphy.antenna_mask = 1; in mt7603_eeprom_init()
184 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7603_eeprom_init()
185 mt76_eeprom_override(&dev->mphy); in mt7603_eeprom_init()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dinit.c259 struct mt76_phy *mphy; in mt7996_led_set_config() local
262 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7996_led_set_config()
263 dev = container_of(mphy->dev, struct mt7996_dev, mt76); in mt7996_led_set_config()
266 mt76_rmw_field(dev, MT_TMAC_TCR0(mphy->band_idx), MT_TMAC_TCR0_TX_BLINK, 2); in mt7996_led_set_config()
269 mt76_wr(dev, MT_LED_EN(mphy->band_idx), 1); in mt7996_led_set_config()
274 mt76_wr(dev, MT_LED_TX_BLINK(mphy->band_idx), val); in mt7996_led_set_config()
282 if (mphy->band_idx == MT_BAND1) in mt7996_led_set_config()
286 if (mphy->leds.al) in mt7996_led_set_config()
289 mt76_wr(dev, MT_LED_CTRL(mphy->band_idx), val); in mt7996_led_set_config()
290 mt76_clear(dev, MT_LED_CTRL(mphy->band_idx), MT_LED_CTRL_KICK); in mt7996_led_set_config()
[all …]
H A Dmac.c215 struct mt76_phy *mphy = mt76_vif_link_phy(mlink); in mt7996_mac_sta_poll() local
217 if (mphy) in mt7996_mac_sta_poll()
219 mt76_rx_signal(mphy->antenna_mask, in mt7996_mac_sta_poll()
452 struct mt76_phy *mphy = &dev->mt76.phy; in mt7996_mac_fill_rx() local
481 mphy = dev->mt76.phys[band_idx]; in mt7996_mac_fill_rx()
482 phy = mphy->priv; in mt7996_mac_fill_rx()
483 status->phy_idx = mphy->band_idx; in mt7996_mac_fill_rx()
485 if (!test_bit(MT76_STATE_RUNNING, &mphy->state)) in mt7996_mac_fill_rx()
512 status->freq = mphy->chandef.chan->center_freq; in mt7996_mac_fill_rx()
513 status->band = mphy->chandef.chan->band; in mt7996_mac_fill_rx()
[all …]
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/
H A Dtestmode.c43 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 Dinit.c202 mt76_eeprom_override(&dev->mphy); in __mt7921_init_hardware()
217 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7921_init_hardware()
245 mt76_set_stream_caps(&dev->mphy, true); in mt7921_init_work()
297 INIT_DELAYED_WORK(&dev->mphy.mac_work, mt792x_mac_work); in mt7921_register_device()
338 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7921_register_device()
341 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7921_register_device()
344 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
351 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7921_register_device()
355 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device()
356 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
H A Dmain.c226 struct mt76_phy *mphy = phy->mt76; in __mt7921_start() local
229 err = mt76_connac_mcu_set_mac_enable(mphy->dev, 0, true, false); in __mt7921_start()
233 err = mt76_connac_mcu_set_channel_domain(mphy); in __mt7921_start()
241 err = mt7921_set_tx_sar_pwr(mphy->hw, NULL); in __mt7921_start()
246 set_bit(MT76_STATE_RUNNING, &mphy->state); in __mt7921_start()
248 ieee80211_queue_delayed_work(mphy->hw, &mphy->mac_work, in __mt7921_start()
250 if (mt76_is_mmio(mphy->dev)) { in __mt7921_start()
262 wiphy_rfkill_start_polling(mphy->hw->wiphy); in __mt7921_start()
320 ret = mt76_connac_mcu_uni_add_dev(&dev->mphy, &vif->bss_conf, in mt7921_add_interface()
470 int mt7921_set_channel(struct mt76_phy *mphy) in mt7921_set_channel() argument
[all …]
H A Dsdio_mcu.c95 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/mt7925/
H A Dinit.c254 mt76_eeprom_override(&dev->mphy); in __mt7925_init_hardware()
272 set_bit(MT76_STATE_INITIALIZED, &dev->mphy.state); in mt7925_init_hardware()
300 mt76_set_stream_caps(&dev->mphy, true); in mt7925_init_work()
363 INIT_DELAYED_WORK(&dev->mphy.mac_work, mt792x_mac_work); in mt7925_register_device()
404 dev->mphy.sband_2g.sband.ht_cap.cap |= in mt7925_register_device()
407 dev->mphy.sband_2g.sband.ht_cap.ampdu_density = in mt7925_register_device()
409 dev->mphy.sband_5g.sband.ht_cap.cap |= in mt7925_register_device()
412 dev->mphy.sband_2g.sband.ht_cap.ampdu_density = in mt7925_register_device()
414 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
420 dev->mphy.sband_5g.sband.vht_cap.cap |= in mt7925_register_device()
[all …]
H A Dtestmode.c41 struct mt76_phy *phy = &dev->mphy; in mt7925_tm_set()
120 struct mt76_phy *mphy = hw->priv; in mt7925_testmode_cmd() local
121 struct mt792x_phy *phy = mphy->priv; in mt7925_testmode_cmd()
124 if (!test_bit(MT76_STATE_RUNNING, &mphy->state) || in mt7925_testmode_cmd()
157 struct mt76_phy *mphy = hw->priv; in mt7925_testmode_dump() local
158 struct mt792x_phy *phy = mphy->priv; in mt7925_testmode_dump()
161 if (!test_bit(MT76_STATE_RUNNING, &mphy->state) || in mt7925_testmode_dump()
163 !mt76_testmode_enabled(mphy)) in mt7925_testmode_dump()

12345