Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/net/wireless/mediatek/mt76/
Dmt76.h41 struct mt76_phy;
426 void (*update_survey)(struct mt76_phy *phy);
635 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
636 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
638 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
691 struct mt76_phy { struct
736 struct mt76_phy phy; /* must be first */ argument
737 struct mt76_phy *phys[__MT_MAX_BAND];
949 void mt76_unregister_phy(struct mt76_phy *phy);
951 struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size,
[all …]
Dmac80211.c233 static void mt76_init_stream_cap(struct mt76_phy *phy, in mt76_init_stream_cap()
275 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps()
287 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband()
344 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_2g()
355 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_5g()
366 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_6g()
377 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband()
406 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) in mt76_phy_init()
455 struct mt76_phy *
461 struct mt76_phy *phy; in mt76_alloc_phy()
[all …]
Dmt76_connac.h264 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm);
265 void mt76_connac_power_save_sched(struct mt76_phy *phy,
277 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref()
294 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref()
307 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_skip_fw_pmctrl()
338 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc,
351 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy,
Dtestmode.c30 void mt76_testmode_tx_pending(struct mt76_phy *phy) in mt76_testmode_tx_pending()
70 mt76_testmode_max_mpdu_len(struct mt76_phy *phy, u8 tx_rate_mode) in mt76_testmode_max_mpdu_len()
92 mt76_testmode_free_skb(struct mt76_phy *phy) in mt76_testmode_free_skb()
100 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len) in mt76_testmode_alloc_skb()
177 mt76_testmode_tx_init(struct mt76_phy *phy) in mt76_testmode_tx_init()
269 mt76_testmode_tx_start(struct mt76_phy *phy) in mt76_testmode_tx_start()
281 mt76_testmode_tx_stop(struct mt76_phy *phy) in mt76_testmode_tx_stop()
311 mt76_testmode_init_defaults(struct mt76_phy *phy) in mt76_testmode_init_defaults()
329 __mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) in __mt76_testmode_set_state()
363 int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state) in mt76_testmode_set_state()
[all …]
Dtx.c251 struct mt76_phy *phy = hw->priv; in __mt76_tx_complete_skb()
281 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, in __mt76_tx_queue_skb()
311 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_tx()
352 mt76_txq_dequeue(struct mt76_phy *phy, struct mt76_txq *mtxq) in mt76_txq_dequeue()
369 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_queue_ps_skb()
390 struct mt76_phy *phy = hw->priv; in mt76_release_buffered_frames()
437 mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, in mt76_txq_send_burst()
503 mt76_txq_schedule_list(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule_list()
557 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule()
578 void mt76_txq_schedule_all(struct mt76_phy *phy) in mt76_txq_schedule_all()
[all …]
Dmt76_connac_mcu.h1698 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy);
1718 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
1732 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy,
1739 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy,
1743 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy,
1755 int mt76_connac_mcu_get_nic_capability(struct mt76_phy *phy);
1757 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
1759 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy,
1761 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy,
1764 int mt76_connac_mcu_sched_scan_enable(struct mt76_phy *phy,
[all …]
Dmt76_connac_mcu.c77 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
748 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_v2()
793 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, in mt76_connac_mcu_sta_tlv()
983 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1074 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1226 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode()
1280 mt76_connac_get_he_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_he_phy_cap()
1294 mt76_connac_mcu_uni_bss_he_tlv(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_mcu_uni_bss_he_tlv()
1316 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_bss()
1515 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_mcu_hw_scan()
[all …]
Dmt76_connac_mac.c12 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_wake()
38 void mt76_connac_power_save_sched(struct mt76_phy *phy, in mt76_connac_power_save_sched()
84 struct mt76_phy *phy = hw->priv; in mt76_connac_pm_queue_skb()
99 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy, in mt76_connac_pm_dequeue_skbs()
254 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc, in mt76_connac_init_tx_queues()
271 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt76_connac2_mac_tx_rate_val()
460 struct mt76_phy *mphy = &dev->phy; in mt76_connac2_mac_write_txwi()
562 struct mt76_phy *mphy; in mt76_connac2_mac_fill_txs()
Deeprom.c106 mt76_eeprom_override(struct mt76_phy *phy) in mt76_eeprom_override()
272 s8 mt76_get_rate_power_limits(struct mt76_phy *phy, in mt76_get_rate_power_limits()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dtestmode.c43 struct mt76_phy *phy = &dev->mphy; in mt7921_tm_set()
116 struct mt76_phy *mphy = hw->priv; in mt7921_testmode_cmd()
153 struct mt76_phy *mphy = hw->priv; in mt7921_testmode_dump()
Dpci_mcu.c87 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921e_mcu_drv_pmctrl()
107 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921e_mcu_fw_pmctrl()
Dmt7921.h177 struct mt76_phy *mt76;
221 struct mt76_phy mphy;
282 struct mt76_phy *phy = hw->priv; in mt7921_hw_phy()
290 struct mt76_phy *phy = hw->priv; in mt7921_hw_dev()
415 void mt7921_update_channel(struct mt76_phy *mphy);
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()
Dmac.c168 mt7921_get_status_freq_info(struct mt7921_dev *dev, struct mt76_phy *mphy, in mt7921_get_status_freq_info()
230 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mac_fill_rx()
797 mt7921_phy_update_channel(struct mt76_phy *mphy, int idx) in mt7921_phy_update_channel()
828 void mt7921_update_channel(struct mt76_phy *mphy) in mt7921_update_channel()
993 struct mt76_phy *mphy; in mt7921_mac_work()
995 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy, in mt7921_mac_work()
1018 struct mt76_phy *mphy; in mt7921_pm_wake_work()
1052 struct mt76_phy *mphy; in mt7921_pm_power_save_work()
Dmcu.c145 struct mt76_phy *phy = priv; in mt7921_mcu_set_suspend_iter()
160 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_scan_event()
192 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_connection_loss_event()
205 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_bss_event()
851 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_drv_pmctrl()
873 struct mt76_phy *mphy = &dev->mt76.phy; in mt7921_mcu_fw_pmctrl()
/Linux-v6.1/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;
332 struct mt76_phy *phy = hw->priv; in mt7615_hw_phy()
340 struct mt76_phy *phy = hw->priv; in mt7615_hw_dev()
348 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7615_ext_phy()
470 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()
Dmac.c112 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_mac_reset_counters()
204 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info()
338 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx()
667 struct mt76_phy *mphy, in mt7615_mac_tx_rate_val()
737 struct mt76_phy *mphy = &dev->mphy; in mt7615_mac_write_txwi()
974 struct mt76_phy *mphy = phy->mt76; in mt7615_mac_update_rate_desc()
1336 struct mt76_phy *mphy; in mt7615_fill_txs()
1511 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_add_txs()
1929 mt7615_phy_update_channel(struct mt76_phy *mphy, int idx) in mt7615_phy_update_channel()
1963 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7615_update_survey()
[all …]
Dpci_mac.c186 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons()
203 struct mt76_phy *ext_phy; in mt7615_mac_reset_work()
Dinit.c336 struct mt76_phy *mphy = hw->priv; in mt7615_regd_notifier()
449 struct mt76_phy *mphy; in mt7615_register_ext_phy()
512 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
/Linux-v6.1/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-v6.1/drivers/net/wireless/mediatek/mt76/mt7915/
Dmt7915.h232 struct mt76_phy *mt76;
281 struct mt76_phy mphy;
373 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy()
381 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev()
389 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
583 void mt7915_update_channel(struct mt76_phy *mphy);
Dtestmode.c41 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_power()
256 struct mt76_phy *mphy = phy->mt76; in mt7915_tm_set_tx_len()
652 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state()
694 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7915_tm_set_params()
722 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7915_tm_dump_stats()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmt7603.h106 struct mt76_phy mphy;
259 void mt7603_update_channel(struct mt76_phy *mphy);

12