/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76.h | 50 struct mt76_phy; 454 void (*update_survey)(struct mt76_phy *phy); 662 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state); 663 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb, 665 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg); 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); 1086 struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size, [all …]
|
H A D | mac80211.c | 206 static int mt76_led_init(struct mt76_phy *phy) in mt76_led_init() 244 static void mt76_led_cleanup(struct mt76_phy *phy) in mt76_led_cleanup() 253 static void mt76_init_stream_cap(struct mt76_phy *phy, in mt76_init_stream_cap() 295 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps() 307 mt76_init_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_init_sband() 364 mt76_init_sband_2g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_2g() 375 mt76_init_sband_5g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_5g() 386 mt76_init_sband_6g(struct mt76_phy *phy, struct ieee80211_rate *rates, in mt76_init_sband_6g() 397 mt76_check_sband(struct mt76_phy *phy, struct mt76_sband *msband, in mt76_check_sband() 426 mt76_phy_init(struct mt76_phy *phy, struct ieee80211_hw *hw) in mt76_phy_init() [all …]
|
H A D | mt76_connac.h | 312 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 D | testmode.c | 31 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 D | tx.c | 260 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 …]
|
H A D | mt792x_mac.c | 15 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 D | mt76_connac_mcu.h | 1797 int mt76_connac_mcu_set_channel_domain(struct mt76_phy *phy); 1817 void mt76_connac_mcu_sta_tlv(struct mt76_phy *mphy, struct sk_buff *skb, 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); 1860 int mt76_connac_mcu_hw_scan(struct mt76_phy *phy, struct ieee80211_vif *vif, 1862 int mt76_connac_mcu_cancel_hw_scan(struct mt76_phy *phy, 1864 int mt76_connac_mcu_sched_scan_req(struct mt76_phy *phy, [all …]
|
H A D | mt792x.h | 98 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 D | mt76_connac_mcu.c | 78 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() 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() 1282 u8 mt76_connac_get_phy_mode(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode() 1335 u8 mt76_connac_get_phy_mode_ext(struct mt76_phy *phy, struct ieee80211_vif *vif, in mt76_connac_get_phy_mode_ext() 1370 mt76_connac_get_he_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_he_phy_cap() 1382 mt76_connac_get_eht_phy_cap(struct mt76_phy *phy, struct ieee80211_vif *vif) in mt76_connac_get_eht_phy_cap() 1396 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 D | mt76x02_util.c | 90 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 D | mt76_connac_mac.c | 33 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 D | mt792x_core.c | 58 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/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mt7996.h | 154 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/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | testmode.c | 43 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 D | sdio_mcu.c | 103 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/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | mt7615.h | 157 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 D | testmode.c | 51 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 D | init.c | 338 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 D | mac.c | 205 mt7615_get_status_freq_info(struct mt7615_dev *dev, struct mt76_phy *mphy, in mt7615_get_status_freq_info() 339 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() 1927 mt7615_phy_update_channel(struct mt76_phy *mphy, int idx) in mt7615_phy_update_channel() 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() [all …]
|
H A D | pci_mac.c | 189 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/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mt7915.h | 200 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 D | init.c | 234 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 D | testmode.c | 41 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/sys/contrib/dev/mediatek/mt76/mt7603/ |
H A D | init.c | 333 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 D | mt7603.h | 105 struct mt76_phy mphy; 255 void mt7603_update_channel(struct mt76_phy *mphy);
|