Lines Matching refs:mt76_phy
30 struct mt76_phy;
364 void (*update_survey)(struct mt76_phy *phy);
567 int (*set_state)(struct mt76_phy *phy, enum mt76_testmode_state state);
568 int (*set_params)(struct mt76_phy *phy, struct nlattr **tb,
570 int (*dump_stats)(struct mt76_phy *phy, struct sk_buff *msg);
620 struct mt76_phy { struct
663 struct mt76_phy phy; /* must be first */ argument
665 struct mt76_phy *phy2;
905 void mt76_unregister_phy(struct mt76_phy *phy);
907 struct mt76_phy *mt76_alloc_phy(struct mt76_dev *dev, unsigned int size,
909 int mt76_register_phy(struct mt76_phy *phy, bool vht,
912 struct dentry *mt76_register_debugfs_fops(struct mt76_phy *phy,
924 void mt76_eeprom_override(struct mt76_phy *phy);
930 u16 mt76_calculate_default_rate(struct mt76_phy *phy, int rateidx);
931 static inline int mt76_init_tx_queue(struct mt76_phy *phy, int qid, int idx, in mt76_init_tx_queue()
961 static inline struct mt76_phy *
1069 static inline bool mt76_testmode_enabled(struct mt76_phy *phy) in mt76_testmode_enabled()
1096 void mt76_tx(struct mt76_phy *dev, struct ieee80211_sta *sta,
1099 void mt76_stop_tx_queues(struct mt76_phy *phy, struct ieee80211_sta *sta,
1102 void mt76_txq_schedule(struct mt76_phy *phy, enum mt76_txq_id qid);
1103 void mt76_txq_schedule_all(struct mt76_phy *phy);
1111 bool mt76_has_tx_pending(struct mt76_phy *phy);
1112 void mt76_set_channel(struct mt76_phy *phy);
1113 void mt76_update_survey(struct mt76_phy *phy);
1114 void mt76_update_survey_active_time(struct mt76_phy *phy, ktime_t time);
1117 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht);
1178 int mt76_testmode_set_state(struct mt76_phy *phy, enum mt76_testmode_state state);
1179 int mt76_testmode_alloc_skb(struct mt76_phy *phy, u32 len);
1181 static inline void mt76_testmode_reset(struct mt76_phy *phy, bool disable) in mt76_testmode_reset()
1215 void mt76_testmode_tx_pending(struct mt76_phy *phy);
1330 s8 mt76_get_rate_power_limits(struct mt76_phy *phy,