Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jul 2021 00:35:43 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fa76753cef17 - stable/13 - net80211: rx_stats add 160Mhz channel width.
Message-ID:  <202107180035.16I0Zhcq048174@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=fa76753cef171c90fac6452e3e6925ad913a2720

commit fa76753cef171c90fac6452e3e6925ad913a2720
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2021-02-28 19:24:22 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2021-07-18 00:34:57 +0000

    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.
    
    (cherry picked from commit a9cc796fa73de2e80a2d989ba7c2c5a7c7ce9f2e)
---
 sys/net80211/_ieee80211.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/net80211/_ieee80211.h b/sys/net80211/_ieee80211.h
index 928d7b0fd957..dc6773afac09 100644
--- a/sys/net80211/_ieee80211.h
+++ b/sys/net80211/_ieee80211.h
@@ -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];
 };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107180035.16I0Zhcq048174>