Home
last modified time | relevance | path

Searched refs:mt76_phy (Results 1 – 25 of 55) sorted by relevance

123

/freebsd-14.2/sys/contrib/dev/mediatek/mt76/
H A Dmt76.h50 struct mt76_phy;
454 void (*update_survey)(struct mt76_phy *phy);
721 struct mt76_phy { struct
775 struct mt76_phy phy; /* must be first */ argument
776 struct mt76_phy *phys[__MT_MAX_BAND];
1084 void mt76_unregister_phy(struct mt76_phy *phy);
1139 static inline struct mt76_phy *
1267 struct mt76_phy *phy = dev->phys[i]; in mt76_is_testmode_skb()
1297 void mt76_set_channel(struct mt76_phy *phy);
1298 void mt76_update_survey(struct mt76_phy *phy);
[all …]
H A Dmac80211.c480 struct mt76_phy *
486 struct mt76_phy *phy; in mt76_alloc_phy()
633 struct mt76_phy *phy; in mt76_alloc_device()
708 struct mt76_phy *phy = &dev->phy; in mt76_register_device()
966 struct mt76_phy *phy = hw->priv; in mt76_get_survey()
1489 struct mt76_phy *phy = hw->priv; in mt76_sta_state()
1512 struct mt76_phy *phy = hw->priv; in mt76_sta_pre_rcu_remove()
1527 struct mt76_phy *phy = hw->priv; in mt76_get_txpower()
1540 struct mt76_phy *phy = hw->priv; in mt76_init_sar_power()
1686 struct mt76_phy *phy = hw->priv; in mt76_sw_scan()
[all …]
H A Dmt76_connac.h312 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm);
313 void mt76_connac_power_save_sched(struct mt76_phy *phy,
325 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref()
342 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref()
355 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_skip_fw_pmctrl()
387 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc,
400 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy,
406 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy,
H A Dtestmode.c31 void mt76_testmode_tx_pending(struct mt76_phy *phy) in mt76_testmode_tx_pending()
71 mt76_testmode_max_mpdu_len(struct mt76_phy *phy, u8 tx_rate_mode) in mt76_testmode_max_mpdu_len()
93 mt76_testmode_free_skb(struct mt76_phy *phy) in mt76_testmode_free_skb()
101 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len) in mt76_testmode_alloc_skb()
178 mt76_testmode_tx_init(struct mt76_phy *phy) in mt76_testmode_tx_init()
270 mt76_testmode_tx_start(struct mt76_phy *phy) in mt76_testmode_tx_start()
282 mt76_testmode_tx_stop(struct mt76_phy *phy) in mt76_testmode_tx_stop()
312 mt76_testmode_init_defaults(struct mt76_phy *phy) in mt76_testmode_init_defaults()
410 struct mt76_phy *phy = hw->priv; in mt76_testmode_cmd()
537 mt76_testmode_dump_stats(struct mt76_phy *phy, struct sk_buff *msg) in mt76_testmode_dump_stats()
[all …]
H A Dtx.c260 struct mt76_phy *phy = hw->priv; in __mt76_tx_complete_skb()
329 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_tx()
370 mt76_txq_dequeue(struct mt76_phy *phy, struct mt76_txq *mtxq) in mt76_txq_dequeue()
387 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_queue_ps_skb()
408 struct mt76_phy *phy = hw->priv; in mt76_release_buffered_frames()
455 mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, in mt76_txq_send_burst()
521 mt76_txq_schedule_list(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule_list()
596 void mt76_txq_schedule_all(struct mt76_phy *phy) in mt76_txq_schedule_all()
607 struct mt76_phy *phy; in mt76_tx_worker_run()
662 struct mt76_phy *phy = hw->priv; in mt76_wake_tx_queue()
[all …]
H A Dmt792x_mac.c15 struct mt76_phy *mphy; in mt792x_mac_work()
17 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy, in mt792x_mac_work()
226 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx) in mt792x_phy_update_channel()
257 void mt792x_update_channel(struct mt76_phy *mphy) in mt792x_update_channel()
321 struct mt76_phy *mphy; in mt792x_pm_wake_work()
356 struct mt76_phy *mphy; in mt792x_pm_power_save_work()
H A Dmt76_connac_mcu.h1797 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy);
1831 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy,
1838 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy,
1841 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy,
1846 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy,
1858 int mt76_connac_mcu_get_nic_capability(struct mt76_phy *phy);
1862 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy,
1864 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy,
1867 int mt76_connac_mcu_sched_scan_enable(struct mt76_phy *phy,
1886 int mt76_connac_mcu_set_rate_txpower(struct mt76_phy *phy);
[all …]
H A Dmt792x.h98 struct mt76_phy *mt76;
161 struct mt76_phy mphy;
195 struct mt76_phy *phy = hw->priv; in mt792x_hw_dev()
203 struct mt76_phy *phy = hw->priv; in mt792x_hw_phy()
235 void mt792x_update_channel(struct mt76_phy *mphy);
H A Dmt76_connac_mcu.c78 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
1018 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1109 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1500 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_bss()
1735 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy, in mt76_connac_mcu_cancel_hw_scan()
1760 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy, in mt76_connac_mcu_sched_scan_req()
2131 mt76_connac_mcu_rate_txpower_band(struct mt76_phy *phy, in mt76_connac_mcu_rate_txpower_band()
2332 struct mt76_phy *phy = hw->priv; in mt76_connac_mcu_set_p2p_oppps()
2399 struct mt76_phy *phy = hw->priv; in mt76_connac_mcu_update_gtk_rekey()
2641 struct mt76_phy *phy = priv; in mt76_connac_mcu_set_suspend_iter()
[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()
115 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt76x02_led_set_blink()
131 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt76x02_led_set_brightness()
H A Dmt76_connac_mac.c33 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_wake()
59 void mt76_connac_power_save_sched(struct mt76_phy *phy, in mt76_connac_power_save_sched()
105 struct mt76_phy *phy = hw->priv; in mt76_connac_pm_queue_skb()
120 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy, in mt76_connac_pm_dequeue_skbs()
275 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc, in mt76_connac_init_tx_queues()
309 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy, in mt76_connac2_mac_tx_rate_val()
490 struct mt76_phy *mphy = &dev->phy; in mt76_connac2_mac_write_txwi()
604 struct mt76_phy *mphy; in mt76_connac2_mac_fill_txs()
H A Dmt792x_core.c58 struct mt76_phy *mphy = hw->priv; in mt792x_tx()
715 struct mt76_phy *mphy = &dev->mt76.phy; in mt792x_mcu_drv_pmctrl()
737 struct mt76_phy *mphy = &dev->mt76.phy; in mt792x_mcu_fw_pmctrl()
779 struct mt76_phy *mphy = &dev->mt76.phy; in mt792xe_mcu_drv_pmctrl()
800 struct mt76_phy *mphy = &dev->mt76.phy; in mt792xe_mcu_fw_pmctrl()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmt7996.h154 struct mt76_phy *mt76;
181 struct mt76_phy mphy;
285 struct mt76_phy *phy = hw->priv; in mt7996_hw_phy()
293 struct mt76_phy *phy = hw->priv; in mt7996_hw_dev()
301 struct mt76_phy *phy = dev->mt76.phys[band]; in __mt7996_phy()
486 void mt7996_update_channel(struct mt76_phy *mphy);
/freebsd-14.2/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()
152 struct mt76_phy *mphy = hw->priv; in mt7921_testmode_dump()
H A Dsdio_mcu.c103 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921s_mcu_drv_pmctrl()
139 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921s_mcu_fw_pmctrl()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dmt7615.h157 struct mt76_phy *mt76;
244 struct mt76_phy mphy;
327 struct mt76_phy *phy = hw->priv; in mt7615_hw_phy()
335 struct mt76_phy *phy = hw->priv; in mt7615_hw_dev()
343 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7615_ext_phy()
464 void mt7615_update_channel(struct mt76_phy *mphy);
H A Dtestmode.c51 struct mt76_phy *mphy = phy->mt76; 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()
296 mt7615_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7615_tm_set_params()
324 mt7615_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7615_tm_dump_stats()
H A Dinit.c338 struct mt76_phy *mphy = hw->priv; in mt7615_regd_notifier()
473 struct mt76_phy *mphy; in mt7615_led_set_config()
477 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7615_led_set_config()
533 struct mt76_phy *mphy; in mt7615_register_ext_phy()
606 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
H A Dmac.c339 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx()
664 struct mt76_phy *mphy, in mt7615_mac_tx_rate_val()
734 struct mt76_phy *mphy = &dev->mphy; in mt7615_mac_write_txwi()
974 struct mt76_phy *mphy = phy->mt76; in mt7615_mac_update_rate_desc()
1323 struct mt76_phy *mphy; in mt7615_fill_txs()
1498 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_add_txs()
1961 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7615_update_survey()
1982 void mt7615_update_channel(struct mt76_phy *mphy) in mt7615_update_channel()
2034 struct mt76_phy *mphy; in mt7615_pm_wake_work()
2105 struct mt76_phy *mphy; in mt7615_mac_work()
[all …]
H A Dpci_mac.c189 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons()
206 struct mt76_phy *ext_phy; in mt7615_mac_reset_work()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmt7915.h200 struct mt76_phy *mt76;
248 struct mt76_phy mphy;
355 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy()
363 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev()
371 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
583 void mt7915_update_channel(struct mt76_phy *mphy);
H A Dinit.c234 struct mt76_phy *mphy; in mt7915_led_set_config()
237 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7915_led_set_config()
332 struct mt76_phy *mphy = hw->priv; in mt7915_regd_notifier()
352 struct mt76_phy *mphy = phy->mt76; in mt7915_init_wiphy()
645 struct mt76_phy *mphy; in mt7915_alloc_ext_phy()
667 struct mt76_phy *mphy = phy->mt76; in mt7915_register_ext_phy()
1183 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7915_unregister_ext_phy()
H A Dtestmode.c41 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power()
257 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len()
648 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state()
690 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7915_tm_set_params()
721 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7915_tm_dump_stats()
/freebsd-14.2/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dinit.c333 static void mt7603_led_set_config(struct mt76_phy *mphy, u8 delay_on, in mt7603_led_set_config()
361 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt7603_led_set_blink()
375 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt7603_led_set_brightness()
H A Dmt7603.h105 struct mt76_phy mphy;
255 void mt7603_update_channel(struct mt76_phy *mphy);

123