Home
last modified time | relevance | path

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

123

/src/sys/contrib/dev/mediatek/mt76/
H A Dchannel.c22 mt76_phy_update_channel(struct mt76_phy *phy, in mt76_phy_update_channel()
36 struct mt76_phy *phy = hw->priv; in mt76_add_chanctx()
62 struct mt76_phy *phy = hw->priv; in mt76_remove_chanctx()
84 struct mt76_phy *phy = ctx->phy; in mt76_change_chanctx()
109 struct mt76_phy *phy = ctx->phy; in mt76_assign_vif_chanctx()
160 struct mt76_phy *phy = ctx->phy; in mt76_unassign_vif_chanctx()
198 struct mt76_phy *old_phy = old_ctx->phy; in mt76_switch_vif_chanctx()
199 struct mt76_phy *phy = hw->priv; in mt76_switch_vif_chanctx()
266 struct mt76_vif_link *mt76_get_vif_phy_link(struct mt76_phy *phy, in mt76_get_vif_phy_link()
301 void mt76_put_vif_phy_link(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_put_vif_phy_link()
[all …]
H A Dmt76.h67 struct mt76_phy;
305 int (*tx_queue_skb)(struct mt76_phy *phy, struct mt76_queue *q,
554 void (*update_survey)(struct mt76_phy *phy);
555 int (*set_channel)(struct mt76_phy *phy);
590 int (*vif_link_add)(struct mt76_phy *phy, struct ieee80211_vif *vif,
594 void (*vif_link_remove)(struct mt76_phy *phy,
782 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
783 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
785 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
851 struct mt76_phy *roc_phy;
[all …]
H A Dmac80211.c205 static int mt76_led_init(struct mt76_phy *phy) in mt76_led_init()
252 static void mt76_led_cleanup(struct mt76_phy *phy) in mt76_led_cleanup()
261 static void mt76_init_stream_cap(struct mt76_phy *phy, in mt76_init_stream_cap()
303 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps()
315 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband()
372 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_2g()
383 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_5g()
394 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_6g()
405 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband()
437 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) in mt76_phy_init()
[all …]
H A Dmt76_connac.h339 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm);
340 void mt76_connac_power_save_sched(struct mt76_phy *phy,
352 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref()
369 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref()
382 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_skip_fw_pmctrl()
414 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc,
428 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy,
434 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()
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 …]
H A Dtx.c259 struct mt76_phy *phy = hw->priv; in __mt76_tx_complete_skb()
298 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, in __mt76_tx_queue_skb()
331 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_tx()
373 mt76_txq_dequeue(struct mt76_phy *phy, struct mt76_txq *mtxq) in mt76_txq_dequeue()
390 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_queue_ps_skb()
411 struct mt76_phy *phy = hw->priv; in mt76_release_buffered_frames()
458 mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, in mt76_txq_send_burst()
524 mt76_txq_schedule_list(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule_list()
580 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule()
602 mt76_txq_schedule_pending_wcid(struct mt76_phy *phy, struct mt76_wcid *wcid, in mt76_txq_schedule_pending_wcid()
[all …]
H A Dscan.c9 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_complete()
42 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_send_probe()
88 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_work()
129 struct mt76_phy *phy = hw->priv; in mt76_hw_scan()
170 struct mt76_phy *phy = hw->priv; in mt76_cancel_hw_scan()
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()
225 mt792x_phy_update_channel(struct mt76_phy *mphy, int idx) in mt792x_phy_update_channel()
256 void mt792x_update_channel(struct mt76_phy *mphy) in mt792x_update_channel()
320 struct mt76_phy *mphy; in mt792x_pm_wake_work()
355 struct mt76_phy *mphy; in mt792x_pm_power_save_work()
H A Dmt76_connac_mcu.h1923 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy);
1941 u8 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif,
1947 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
1961 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy,
1969 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy,
1972 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy,
1977 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy,
1992 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
1994 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy,
1996 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy,
[all …]
H A Dmt792x.h154 struct mt76_phy *mt76;
221 struct mt76_phy mphy;
330 struct mt76_phy *phy = hw->priv; in mt792x_hw_dev()
338 struct mt76_phy *phy = hw->priv; in mt792x_hw_phy()
371 void mt792x_update_channel(struct mt76_phy *mphy);
H A Dmt76_connac_mcu.c79 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
791 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_v2()
847 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, in mt76_connac_mcu_sta_tlv()
1041 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1141 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1319 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode()
1373 u8 mt76_connac_get_phy_mode_ext(struct mt76_phy *phy, struct ieee80211_bss_conf *conf, in mt76_connac_get_phy_mode_ext()
1408 mt76_connac_get_he_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_he_phy_cap()
1423 mt76_connac_get_eht_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_eht_phy_cap()
1437 mt76_connac_mcu_uni_bss_he_tlv(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_mcu_uni_bss_he_tlv()
[all …]
/src/sys/contrib/dev/mediatek/mt76/mt7925/
H A Dmcu.h677 int mt7925_mcu_set_dbdc(struct mt76_phy *phy, bool enable);
678 int mt7925_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
680 int mt7925_mcu_cancel_hw_scan(struct mt76_phy *phy,
682 int mt7925_mcu_sched_scan_req(struct mt76_phy *phy,
686 int mt7925_mcu_sched_scan_enable(struct mt76_phy *phy,
700 int mt7925_mcu_set_channel_domain(struct mt76_phy *phy);
702 int mt7925_mcu_set_chctx(struct mt76_phy *phy, struct mt76_vif_link *mvif,
705 int mt7925_mcu_set_eht_pp(struct mt76_phy *phy, struct mt76_vif_link *mvif,
708 int mt7925_mcu_set_rate_txpower(struct mt76_phy *phy);
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()
157 struct mt76_phy *mphy = hw->priv; in mt7925_testmode_dump()
/src/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmt7996.h351 struct mt76_phy *mt76;
388 struct mt76_phy mphy;
549 struct mt76_phy *phy = hw->priv; in mt7996_hw_dev()
557 struct mt76_phy *phy = dev->mt76.phys[band]; in __mt7996_phy()
589 struct mt76_phy *mphy; in mt7996_band_phy()
607 struct mt76_phy *mphy = mt76_vif_link_phy(&link->mt76); in mt7996_vif_link_phy()
639 int mt7996_vif_link_add(struct mt76_phy *mphy, struct ieee80211_vif *vif,
642 void mt7996_vif_link_remove(struct mt76_phy *mphy, struct ieee80211_vif *vif,
704 int mt7996_set_channel(struct mt76_phy *mphy);
851 void mt7996_update_channel(struct mt76_phy *mphy);
/src/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()
459 int mt7615_set_channel(struct mt76_phy *mphy);
463 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()
609 struct mt76_phy *mphy = dev->mt76.phys[MT_BAND1]; in mt7615_unregister_ext_phy()
/src/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dmt7915.h202 struct mt76_phy *mt76;
251 struct mt76_phy mphy;
377 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy()
385 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev()
393 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
485 int mt7915_set_channel(struct mt76_phy *mphy);
610 void mt7915_update_channel(struct mt76_phy *mphy);
/src/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()
/src/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Dmt76x2.h50 int mt76x2e_set_channel(struct mt76_phy *phy);
51 int mt76x2u_set_channel(struct mt76_phy *phy);
H A Dusb_main.c34 int mt76x2u_set_channel(struct mt76_phy *mphy) in mt76x2u_set_channel()
69 struct mt76_phy *mphy = &dev->mphy; in mt76x2u_config()
H A Dpci_main.c35 int mt76x2e_set_channel(struct mt76_phy *phy) in mt76x2e_set_channel()
73 struct mt76_phy *mphy = &dev->mphy; in mt76x2_config()
/src/sys/contrib/dev/mediatek/mt76/mt7603/
H A Dmt7603.h105 struct mt76_phy mphy;
216 int mt7603_set_channel(struct mt76_phy *mphy);
256 void mt7603_update_channel(struct mt76_phy *mphy);
H A Dinit.c341 static void mt7603_led_set_config(struct mt76_phy *mphy, u8 delay_on, in mt7603_led_set_config()
369 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt7603_led_set_blink()
383 struct mt76_phy *mphy = container_of(led_cdev, struct mt76_phy, in mt7603_led_set_brightness()

123