wifi: mt76: check txs format before getting skb by pid

The PPDU TxS does not include the error bit so it cannot use to report
status to mac80211.

Signed-off-by: Peter Chiu <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Peter Chiu
2024-01-17 16:41:22 +01:00
committed by Felix Fietkau
parent a7836e4c8a
commit a8571ebbcd
2 changed files with 8 additions and 0 deletions
+5
View File
@@ -32,6 +32,11 @@ enum {
MT_LMAC_PSMP0,
};
enum {
MT_TXS_MPDU_FMT = 0,
MT_TXS_PPDU_FMT = 2,
};
#define MT_TX_FREE_MSDU_CNT GENMASK(9, 0)
#define MT_TX_FREE_WLAN_ID GENMASK(23, 14)
#define MT_TX_FREE_COUNT GENMASK(12, 0)