net80211: rx_stats add 160Mhz channel width.

Add the missing receive stat(u)s flag for 160Mhz channel width.
While here correct the comment for c_phytype to reference the correct
flags.

MFC-after:	3 days
Sponsored-by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Bjoern A. Zeeb 2021-02-28 19:24:22 +00:00
parent e9071000c9
commit a9cc796fa7

View File

@ -580,6 +580,7 @@ struct ieee80211_mimo_info {
#define IEEE80211_RX_FW_20MHZ 1
#define IEEE80211_RX_FW_40MHZ 2
#define IEEE80211_RX_FW_80MHZ 3
#define IEEE80211_RX_FW_160MHZ 4
/* PHY type */
#define IEEE80211_RX_FP_11B 1
@ -619,7 +620,7 @@ struct ieee80211_rx_stats {
} evm;
/* 32 bits */
uint8_t c_phytype; /* PHY type, FP flags above */
uint8_t c_phytype; /* PHY type, FW flags above */
uint8_t c_vhtnss; /* VHT - number of spatial streams */
uint8_t c_pad2[2];
};