mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt7603: implement support for SMPS
The hardware needs to be notified of peers using dynamic SMPS mode Fixes using dual-stream rates on some clients (e.g. Intel) Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -78,6 +78,7 @@ struct mt7603_sta {
|
||||
u8 n_rates;
|
||||
|
||||
u8 rate_probe;
|
||||
u8 smps;
|
||||
|
||||
u8 ps;
|
||||
};
|
||||
@@ -235,6 +236,8 @@ int mt7603_wtbl_set_key(struct mt7603_dev *dev, int wcid,
|
||||
struct ieee80211_key_conf *key);
|
||||
void mt7603_wtbl_set_ps(struct mt7603_dev *dev, struct mt7603_sta *sta,
|
||||
bool enabled);
|
||||
void mt7603_wtbl_set_smps(struct mt7603_dev *dev, struct mt7603_sta *sta,
|
||||
bool enabled);
|
||||
void mt7603_filter_tx(struct mt7603_dev *dev, int idx, bool abort);
|
||||
|
||||
int mt7603_tx_prepare_skb(struct mt76_dev *mdev, void *txwi_ptr,
|
||||
|
||||
Reference in New Issue
Block a user