Lines Matching refs:mt76_phy
58 struct mt76_phy;
272 int (*tx_queue_skb)(struct mt76_phy *phy, struct mt76_queue *q,
512 void (*update_survey)(struct mt76_phy *phy);
513 int (*set_channel)(struct mt76_phy *phy);
544 int (*vif_link_add)(struct mt76_phy *phy, struct ieee80211_vif *vif,
548 void (*vif_link_remove)(struct mt76_phy *phy,
731 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
732 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
734 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
798 struct mt76_phy *roc_phy;
803 struct mt76_phy { struct
868 struct mt76_phy phy; /* must be first */ argument
869 struct mt76_phy *phys[__MT_MAX_BAND];
870 struct mt76_phy *band_phys[NUM_NL80211_BANDS];
960 struct mt76_phy *phy;
1092 struct mt76_phy *phy;
1226 void mt76_unregister_phy(struct mt76_phy *phy);
1228 struct mt76_phy *mt76_alloc_radio_phy(struct mt76_dev *dev, unsigned int size,
1230 struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size,
1233 int mt76_register_phy(struct mt76_phy *phy, bool vht,
1236 struct dentry *mt76_register_debugfs_fops(struct mt76_phy *phy,
1248 void mt76_eeprom_override(struct mt76_phy *phy);
1256 static inline int mt76_init_tx_queue(struct mt76_phy *phy, int qid, int idx, in mt76_init_tx_queue()
1285 static inline struct mt76_phy *
1399 static inline bool mt76_testmode_enabled(struct mt76_phy *phy) in mt76_testmode_enabled()
1416 struct mt76_phy *phy = dev->phys[i]; in mt76_is_testmode_skb()
1430 void mt76_tx(struct mt76_phy *dev, struct ieee80211_sta *sta,
1433 void mt76_stop_tx_queues(struct mt76_phy *phy, struct ieee80211_sta *sta,
1436 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid);
1437 void mt76_txq_schedule_all(struct mt76_phy *phy);
1445 bool mt76_has_tx_pending(struct mt76_phy *phy);
1446 int mt76_update_channel(struct mt76_phy *phy);
1447 void mt76_update_survey(struct mt76_phy *phy);
1448 void mt76_update_survey_active_time(struct mt76_phy *phy, ktime_t time);
1452 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht);
1486 void __mt76_sta_remove(struct mt76_phy *phy, struct ieee80211_vif *vif,
1497 int mt76_get_sar_power(struct mt76_phy *phy,
1517 enum mt76_dfs_state mt76_phy_dfs_state(struct mt76_phy *phy);
1546 int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state);
1547 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len);
1549 static inline void mt76_testmode_reset(struct mt76_phy *phy, bool disable) in mt76_testmode_reset()
1584 void mt76_testmode_tx_pending(struct mt76_phy *phy);
1587 int __mt76_set_channel(struct mt76_phy *phy, struct cfg80211_chan_def *chandef,
1589 int mt76_set_channel(struct mt76_phy *phy, struct cfg80211_chan_def *chandef,
1594 void mt76_abort_roc(struct mt76_phy *phy);
1595 struct mt76_vif_link *mt76_get_vif_phy_link(struct mt76_phy *phy,
1597 void mt76_put_vif_phy_link(struct mt76_phy *phy, struct ieee80211_vif *vif,
1733 s8 mt76_get_rate_power_limits(struct mt76_phy *phy,
1883 static inline struct mt76_phy *