Home
last modified time | relevance | path

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

12

/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76.h62 struct mt76_phy;
300 int (*tx_queue_skb)(struct mt76_phy *phy, struct mt76_queue *q,
552 void (*update_survey)(struct mt76_phy *phy);
553 int (*set_channel)(struct mt76_phy *phy);
588 int (*vif_link_add)(struct mt76_phy *phy, struct ieee80211_vif *vif,
592 void (*vif_link_remove)(struct mt76_phy *phy,
781 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
782 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
784 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
852 struct mt76_phy *roc_phy;
[all …]
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()
112 struct mt76_phy *phy = ctx->phy; in mt76_assign_vif_chanctx()
161 struct mt76_phy *phy = ctx->phy; in mt76_unassign_vif_chanctx()
191 struct mt76_phy *old_phy, *phy = hw->priv; in mt76_switch_vif_chanctx()
268 struct mt76_vif_link *mt76_get_vif_phy_link(struct mt76_phy *phy, in mt76_get_vif_phy_link()
303 void mt76_put_vif_phy_link(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_put_vif_phy_link()
319 void mt76_roc_complete(struct mt76_phy *phy) in mt76_roc_complete()
[all …]
H A Dmac80211.c196 static int mt76_led_init(struct mt76_phy *phy) in mt76_led_init()
243 static void mt76_led_cleanup(struct mt76_phy *phy) in mt76_led_cleanup()
251 static void mt76_init_stream_cap(struct mt76_phy *phy, in mt76_init_stream_cap()
293 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps()
305 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband()
362 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_2g()
373 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_5g()
384 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_6g()
395 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband()
427 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) in mt76_phy_init()
[all …]
H A Dmt76_connac.h374 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm);
375 void mt76_connac_power_save_sched(struct mt76_phy *phy,
387 mt76_connac_pm_ref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_ref()
404 mt76_connac_pm_unref(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_unref()
417 mt76_connac_skip_fw_pmctrl(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_skip_fw_pmctrl()
449 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc,
451 void mt76_connac_set_txpower_cur(struct mt76_phy *phy, s8 max_power);
452 s8 mt76_connac_get_rate_power_limit(struct mt76_phy *phy,
466 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy,
472 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy,
H A Dtx.c287 struct mt76_phy *phy = hw->priv; in __mt76_tx_complete_skb()
326 __mt76_tx_queue_skb(struct mt76_phy *phy, int qid, struct sk_buff *skb, in __mt76_tx_queue_skb()
355 mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_tx()
397 mt76_txq_dequeue(struct mt76_phy *phy, struct mt76_txq *mtxq) in mt76_txq_dequeue()
414 mt76_queue_ps_skb(struct mt76_phy *phy, struct ieee80211_sta *sta, in mt76_queue_ps_skb()
442 struct mt76_phy *phy = hw->priv; in mt76_release_buffered_frames()
490 mt76_txq_send_burst(struct mt76_phy *phy, struct mt76_queue *q, in mt76_txq_send_burst()
564 mt76_txq_schedule_list(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule_list()
638 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid) in mt76_txq_schedule()
660 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()
60 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_send_probe()
105 struct mt76_phy *phy; in mt76_scan_rx_beacon()
130 struct mt76_phy *phy = dev->scan.phy; in mt76_scan_work()
198 struct mt76_phy *phy = hw->priv; in mt76_hw_scan()
240 struct mt76_phy *phy = hw->priv; in mt76_cancel_hw_scan()
H A Dmt76_connac_mcu.h1999 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy);
2017 u8 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif,
2023 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb,
2037 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy,
2045 int mt76_connac_mcu_uni_set_chctx(struct mt76_phy *phy,
2048 int mt76_connac_mcu_uni_add_bss(struct mt76_phy *phy,
2053 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy,
2071 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
2073 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy,
2075 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy,
[all …]
H A Dmt792x.h205 struct mt76_phy *mt76;
296 struct mt76_phy mphy;
413 struct mt76_phy *phy = hw->priv; in mt792x_hw_dev()
421 struct mt76_phy *phy = hw->priv; in mt792x_hw_phy()
454 void mt792x_update_channel(struct mt76_phy *mphy);
H A Dmt76_connac_mac.c36 int mt76_connac_pm_wake(struct mt76_phy *phy, struct mt76_connac_pm *pm) in mt76_connac_pm_wake()
62 void mt76_connac_power_save_sched(struct mt76_phy *phy, in mt76_connac_power_save_sched()
108 struct mt76_phy *phy = hw->priv; in mt76_connac_pm_queue_skb()
123 void mt76_connac_pm_dequeue_skbs(struct mt76_phy *phy, in mt76_connac_pm_dequeue_skbs()
261 int mt76_connac_init_tx_queues(struct mt76_phy *phy, int idx, int n_desc, in mt76_connac_init_tx_queues()
278 void mt76_connac_set_txpower_cur(struct mt76_phy *phy, s8 max_power) in mt76_connac_set_txpower_cur()
305 u16 mt76_connac2_mac_tx_rate_val(struct mt76_phy *mphy, in mt76_connac2_mac_tx_rate_val()
512 struct mt76_phy *mphy = &dev->phy; in mt76_connac2_mac_write_txwi()
629 struct mt76_phy *mphy; in mt76_connac2_mac_fill_txs()
1225 struct mt76_phy *phy = dev->phys[id]; in mt76_connac2_tx_token_put()
H A Dmt76_connac_mcu.c123 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy) in mt76_connac_mcu_set_channel_domain()
844 mt76_connac_get_phy_mode_v2(struct mt76_phy *mphy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_v2()
900 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, in mt76_connac_mcu_sta_tlv()
1094 int mt76_connac_mcu_sta_cmd(struct mt76_phy *phy, in mt76_connac_mcu_sta_cmd()
1194 int mt76_connac_mcu_uni_add_dev(struct mt76_phy *phy, in mt76_connac_mcu_uni_add_dev()
1388 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode()
1442 u8 mt76_connac_get_phy_mode_ext(struct mt76_phy *phy, struct ieee80211_bss_conf *conf, in mt76_connac_get_phy_mode_ext()
1477 mt76_connac_get_he_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_he_phy_cap()
1492 mt76_connac_get_eht_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_eht_phy_cap()
1506 mt76_connac_mcu_uni_bss_he_tlv(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_mcu_uni_bss_he_tlv()
[all …]
H A Dmt792x_core.c173 struct mt76_phy *mphy = hw->priv; in mt792x_tx()
430 struct mt76_phy *phy; in mt792x_get_txpower()
976 struct mt76_phy *mphy = &dev->mt76.phy; in mt792x_mcu_drv_pmctrl()
998 struct mt76_phy *mphy = &dev->mt76.phy; in mt792x_mcu_fw_pmctrl()
1044 struct mt76_phy *mphy = &dev->mt76.phy; in mt792xe_mcu_drv_pmctrl()
1065 struct mt76_phy *mphy = &dev->mt76.phy; in mt792xe_mcu_fw_pmctrl()
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dmain.c11 int mt76x0_set_channel(struct mt76_phy *mphy) in mt76x0_set_channel()
39 struct mt76_phy *mphy = &dev->mphy; in mt76x0_set_sar_specs()
70 struct mt76_phy *mphy = &dev->mphy; in mt76x0_config()
H A Dmt76x0.h52 int mt76x0_set_channel(struct mt76_phy *mphy);
/linux/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dmcu.h721 int mt7925_mcu_set_dbdc(struct mt76_phy *phy, bool enable);
722 int mt7925_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif,
724 int mt7925_mcu_cancel_hw_scan(struct mt76_phy *phy,
726 int mt7925_mcu_sched_scan_req(struct mt76_phy *phy,
730 int mt7925_mcu_sched_scan_enable(struct mt76_phy *phy,
751 int mt7925_mcu_set_channel_domain(struct mt76_phy *phy);
753 int mt7925_mcu_set_chctx(struct mt76_phy *phy, struct mt76_vif_link *mvif,
756 int mt7925_mcu_set_eht_pp(struct mt76_phy *phy, struct mt76_vif_link *mvif,
759 int mt7925_mcu_set_rate_txpower(struct mt76_phy *phy);
H A Dmcu.c180 mt7925_connac_mcu_set_wow_ctrl(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt7925_connac_mcu_set_wow_ctrl()
295 struct mt76_phy *phy = priv; in mt7925_mcu_set_suspend_iter()
334 struct mt76_phy *mphy = &dev->mt76.phy; in mt7925_mcu_connection_loss_event()
455 struct mt76_phy *mphy = &dev->mt76.phy; in mt7925_mcu_scan_event()
1025 struct mt76_phy *mphy = &dev->mt76.phy; in mt7925_mcu_parse_phy_cap()
1072 struct mt76_phy *mphy = &dev->mt76.phy; in mt7925_mcu_get_nic_capability()
1955 mt7925_mcu_sta_state_v2_tlv(struct mt76_phy *mphy, struct sk_buff *skb, in mt7925_mcu_sta_state_v2_tlv()
2124 mt7925_mcu_sta_cmd(struct mt76_phy *phy, in mt7925_mcu_sta_cmd()
2309 struct mt76_phy *mphy = vif->phy->mt76; in mt7925_mcu_config_sniffer()
2467 void mt7925_mcu_bss_rlm_tlv(struct sk_buff *skb, struct mt76_phy *phy, in mt7925_mcu_bss_rlm_tlv()
[all …]
/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Dmt7996.h370 struct mt76_phy *mt76;
408 struct mt76_phy mphy;
572 struct mt76_phy *phy = hw->priv; in mt7996_hw_dev()
580 struct mt76_phy *phy = dev->mt76.phys[band]; in __mt7996_phy()
612 struct mt76_phy *mphy; in mt7996_band_phy()
630 struct mt76_phy *mphy = mt76_vif_link_phy(&link->mt76); in mt7996_vif_link_phy()
681 int mt7996_vif_link_add(struct mt76_phy *mphy, struct ieee80211_vif *vif,
684 void mt7996_vif_link_remove(struct mt76_phy *mphy, struct ieee80211_vif *vif,
749 int mt7996_set_channel(struct mt76_phy *mphy);
916 void mt7996_update_channel(struct mt76_phy *mphy);
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmt7915.h201 struct mt76_phy *mt76;
251 struct mt76_phy mphy;
378 struct mt76_phy *phy = hw->priv; in mt7915_hw_phy()
386 struct mt76_phy *phy = hw->priv; in mt7915_hw_dev()
394 struct mt76_phy *phy = dev->mt76.phys[MT_BAND1]; in mt7915_ext_phy()
506 int mt7915_set_channel(struct mt76_phy *mphy);
631 void mt7915_update_channel(struct mt76_phy *mphy);
H A Dinit.c258 struct mt76_phy *mphy; in mt7915_led_set_config()
261 mphy = container_of(led_cdev, struct mt76_phy, leds.cdev); in mt7915_led_set_config()
372 struct mt76_phy *mphy = hw->priv; in mt7915_regd_notifier()
390 struct mt76_phy *mphy = phy->mt76; in mt7915_init_wiphy()
702 struct mt76_phy *mphy; in mt7915_alloc_ext_phy()
724 struct mt76_phy *mphy = phy->mt76; in mt7915_register_ext_phy()
1229 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()
650 mt7915_tm_set_state(struct mt76_phy *mphy, enum mt76_testmode_state state) in mt7915_tm_set_state()
692 mt7915_tm_set_params(struct mt76_phy *mphy, struct nlattr **tb, in mt7915_tm_set_params()
720 mt7915_tm_dump_stats(struct mt76_phy *mphy, struct sk_buff *msg) in mt7915_tm_dump_stats()
H A Dmac.c267 struct mt76_phy *mphy = &dev->mt76.phy; in mt7915_mac_fill_rx()
717 struct mt76_phy *mphy = &dev->phy; in mt7915_mac_write_txwi()
836 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7915_mac_tx_free_prepare()
1225 void mt7915_update_channel(struct mt76_phy *mphy) in mt7915_update_channel()
1275 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7915_update_beacons()
1293 struct mt76_phy *ext_phy; in mt7915_mac_restart()
1427 struct mt76_phy *ext_phy; in mt7915_mac_full_reset()
1485 struct mt76_phy *ext_phy; in mt7915_mac_reset_work()
2009 struct mt76_phy *mphy; in mt7915_mac_work()
2011 mphy = (struct mt76_phy *)container_of(work, struct mt76_phy, in mt7915_mac_work()
/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmt7603.h106 struct mt76_phy mphy;
217 int mt7603_set_channel(struct mt76_phy *mphy);
260 void mt7603_update_channel(struct mt76_phy *mphy);
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c199 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info()
333 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_fill_rx()
654 struct mt76_phy *mphy, in mt7615_mac_tx_rate_val()
724 struct mt76_phy *mphy = &dev->mphy; in mt7615_mac_write_txwi()
964 struct mt76_phy *mphy = phy->mt76; in mt7615_mac_update_rate_desc()
1298 struct mt76_phy *mphy; in mt7615_fill_txs()
1473 struct mt76_phy *mphy = &dev->mt76.phy; in mt7615_mac_add_txs()
1896 mt7615_phy_update_channel(struct mt76_phy *mphy, int idx) in mt7615_phy_update_channel()
1930 struct mt76_phy *mphy_ext = mdev->phys[MT_BAND1]; in mt7615_update_survey()
1951 void mt7615_update_channel(struct mt76_phy *mphy) in mt7615_update_channel()
[all …]
H A Dpci_mac.c187 struct mt76_phy *mphy_ext = dev->mt76.phys[MT_BAND1]; in mt7615_update_beacons()
204 struct mt76_phy *ext_phy; in mt7615_mac_reset_work()
H A Dmain.c284 int mt7615_set_channel(struct mt76_phy *mphy) in mt7615_set_channel()
753 struct mt76_phy *mphy = hw->priv; in mt7615_tx()
1093 struct mt76_phy *mphy = hw->priv; in mt7615_hw_scan()
1111 struct mt76_phy *mphy = hw->priv; in mt7615_cancel_hw_scan()
1124 struct mt76_phy *mphy = hw->priv; in mt7615_start_sched_scan()
1147 struct mt76_phy *mphy = hw->priv; in mt7615_stop_sched_scan()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
H A Dmain.c229 struct mt76_phy *mphy = phy->mt76; in __mt7921_start()
477 int mt7921_set_channel(struct mt76_phy *mphy) in mt7921_set_channel()
1059 struct mt76_phy *mphy = hw->priv; in mt7921_hw_scan()
1073 struct mt76_phy *mphy = hw->priv; in mt7921_cancel_hw_scan()
1086 struct mt76_phy *mphy = hw->priv; in mt7921_start_sched_scan()
1106 struct mt76_phy *mphy = hw->priv; in mt7921_stop_sched_scan()
1289 struct mt76_phy *mphy = hw->priv; in mt7921_set_tx_sar_pwr()

12