qcacmn: add 11be TX/RX rate statistic support
Currently 11be msdu rate statistic is not supported yet. Another issue is: HW reported pkt type value 6, while host SW defined 11be type DOT11_BE (value 5), they are not matching. DOT11_BE value 5 is referred in monitor mode and otherwhere, so do map and conversion in host sw side. Change-Id: Ic5c2dd2a35cbe0ecd6430f007b6e7e02ece40998 CRs-Fixed: 3230900
This commit is contained in:

committed by
Madan Koyyalamudi

parent
56d67b3e32
commit
9d2b26795a
@@ -51,8 +51,11 @@
|
||||
#else
|
||||
#define MAX_MCS (14 + 1)
|
||||
#endif
|
||||
|
||||
#define MCS_INVALID_ARRAY_INDEX MAX_MCS
|
||||
#define MAX_MCS_11A 8
|
||||
#define MAX_MCS_11B 7
|
||||
#define MAX_MCS_11N 8
|
||||
#define MAX_MCS_11AC 12
|
||||
#define MAX_MCS_11AX 14
|
||||
/* 1 additional GI is for invalid values */
|
||||
@@ -428,6 +431,16 @@ enum cdp_packet_type {
|
||||
#define MCS_VALID 1
|
||||
#define MCS_INVALID 0
|
||||
|
||||
#ifdef WLAN_FEATURE_11BE
|
||||
#define CDP_IS_PKT_TYPE_SUPPORT_NSS(_pkt_type) \
|
||||
(DOT11_N == (_pkt_type) || DOT11_AC == (_pkt_type) || \
|
||||
DOT11_AX == (_pkt_type) || DOT11_BE == (_pkt_type))
|
||||
#else
|
||||
#define CDP_IS_PKT_TYPE_SUPPORT_NSS(_pkt_type) \
|
||||
(DOT11_N == (_pkt_type) || DOT11_AC == (_pkt_type) || \
|
||||
DOT11_AX == (_pkt_type))
|
||||
#endif /* WLAN_FEATURE_11BE */
|
||||
|
||||
#define CDP_MAX_MCS_STRING_LEN 34
|
||||
/*
|
||||
* struct cdp_rate_debug
|
||||
|
Reference in New Issue
Block a user