Home
last modified time | relevance | path

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

123

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/
Dmt76.h43 struct mt76_phy;
447 void (*update_survey)(struct mt76_phy *phy);
654 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
655 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
657 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
714 struct mt76_phy { struct
768 struct mt76_phy phy; /* must be first */ argument
769 struct mt76_phy *phys[__MT_MAX_BAND];
1077 void mt76_unregister_phy(struct mt76_phy *phy);
1079 struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size,
[all …]
Dmac80211.c196 static int mt76_led_init(struct mt76_phy *phy) in mt76_led_init()
232 static void mt76_led_cleanup(struct mt76_phy *phy) in mt76_led_cleanup()
240 static void mt76_init_stream_cap(struct mt76_phy *phy, in mt76_init_stream_cap()
282 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps()
294 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband()
351 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_2g()
362 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_5g()
373 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_6g()
384 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband()
413 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) in mt76_phy_init()
[all …]
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,
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()
330 __mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) in __mt76_testmode_set_state()
364 int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) in mt76_testmode_set_state()
[all …]
Dtx.c260 struct mt76_phy *phy = hw->priv; in __mt76_tx_complete_skb()
299 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, in __mt76_tx_queue_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()
575 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule()
596 void mt76_txq_schedule_all(struct mt76_phy *phy) in mt76_txq_schedule_all()
[all …]
Dmt792x_mac.c12 struct mt76_phy *mphy; in mt792x_mac_work()
14 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy, in mt792x_mac_work()
223 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx) in mt792x_phy_update_channel()
254 void mt792x_update_channel(struct mt76_phy *mphy) in mt792x_update_channel()
318 struct mt76_phy *mphy; in mt792x_pm_wake_work()
353 struct mt76_phy *mphy; in mt792x_pm_power_save_work()
Dmt792x.h97 struct mt76_phy *mt76;
160 struct mt76_phy mphy;
194 struct mt76_phy *phy = hw->priv; in mt792x_hw_dev()
202 struct mt76_phy *phy = hw->priv; in mt792x_hw_phy()
234 void mt792x_update_channel(struct mt76_phy *mphy);
Dmt76_connac_mcu.h1793 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy);
1813 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
1827 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy,
1834 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy,
1837 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy,
1842 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy,
1854 int mt76_connac_mcu_get_nic_capability(struct mt76_phy *phy);
1856 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
1858 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy,
1860 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy,
[all …]
Dmt76_connac_mcu.c78 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
782 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_v2()
827 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, in mt76_connac_mcu_sta_tlv()
1020 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1111 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1284 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode()
1337 u8 mt76_connac_get_phy_mode_ext(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_ext()
1372 mt76_connac_get_he_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_he_phy_cap()
1387 mt76_connac_get_eht_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_eht_phy_cap()
1401 mt76_connac_mcu_uni_bss_he_tlv(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_mcu_uni_bss_he_tlv()
[all …]
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()
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()
258 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc, in mt76_connac_init_tx_queues()
292 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy, in mt76_connac2_mac_tx_rate_val()
476 struct mt76_phy *mphy = &dev->phy; in mt76_connac2_mac_write_txwi()
590 struct mt76_phy *mphy; in mt76_connac2_mac_fill_txs()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio_mcu.c58 struct mt76_phy *mphy = &dev->mt76.phy; in __mt7663s_mcu_drv_pmctrl()
85 struct mt76_phy *mphy = &dev->mt76.phy; in mt7663s_mcu_drv_pmctrl()
101 struct mt76_phy *mphy = &dev->mt76.phy; in mt7663s_mcu_fw_pmctrl()
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);
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()
Dinit.c336 struct mt76_phy *mphy = hw->priv; in mt7615_regd_notifier()
471 struct mt76_phy *mphy; in mt7615_led_set_config()
475 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7615_led_set_config()
531 struct mt76_phy *mphy; in mt7615_register_ext_phy()
600 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
Dmac.c202 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info()
336 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx()
661 struct mt76_phy *mphy, in mt7615_mac_tx_rate_val()
731 struct mt76_phy *mphy = &dev->mphy; in mt7615_mac_write_txwi()
971 struct mt76_phy *mphy = phy->mt76; in mt7615_mac_update_rate_desc()
1320 struct mt76_phy *mphy; in mt7615_fill_txs()
1495 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_add_txs()
1916 mt7615_phy_update_channel(struct mt76_phy *mphy, int idx) in mt7615_phy_update_channel()
1950 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7615_update_survey()
1971 void mt7615_update_channel(struct mt76_phy *mphy) in mt7615_update_channel()
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7921/
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()
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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmt7996.h151 struct mt76_phy *mt76;
178 struct mt76_phy mphy;
282 struct mt76_phy *phy = hw->priv; in mt7996_hw_phy()
290 struct mt76_phy *phy = hw->priv; in mt7996_hw_dev()
298 struct mt76_phy *phy = dev->mt76.phys[band]; in __mt7996_phy()
483 void mt7996_update_channel(struct mt76_phy *mphy);
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x0/
Dmain.c39 struct mt76_phy *mphy = &dev->mphy; in mt76x0_set_sar_specs()
73 struct mt76_phy *mphy = &dev->mphy; in mt76x0_config()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h197 struct mt76_phy *mt76;
245 struct mt76_phy mphy;
352 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy()
360 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev()
368 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
582 void mt7915_update_channel(struct mt76_phy *mphy);
Dinit.c226 struct mt76_phy *mphy; in mt7915_led_set_config()
229 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7915_led_set_config()
319 struct mt76_phy *mphy = hw->priv; in mt7915_regd_notifier()
339 struct mt76_phy *mphy = phy->mt76; in mt7915_init_wiphy()
628 struct mt76_phy *mphy; in mt7915_alloc_ext_phy()
650 struct mt76_phy *mphy = phy->mt76; in mt7915_register_ext_phy()
1156 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7915_unregister_ext_phy()
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()
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7603/
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()
Dmt7603.h105 struct mt76_phy mphy;
255 void mt7603_update_channel(struct mt76_phy *mphy);

123