qcacmn: Enable MLO Link Stats Support

1) Enable MLO Link Stats Support
2) Add Stats counter to capture Invalid Link ID
3) Fix the FW Recovery crash while ol_stats
   disable.

Change-Id: I1b5263ae024579c5ec2018f8082f0d03ffdf0030
CRs-Fixed: 3431319
This commit is contained in:
Kenvish Butani
2023-03-13 21:54:59 +05:30
committed by Madan Koyyalamudi
parent d1ddb7d4fe
commit 1e6fe4c3a2
11 changed files with 98 additions and 50 deletions

View File

@@ -1544,6 +1544,7 @@ struct protocol_trace_count {
* @rts_failure: RTS failure count
* @bar_cnt: Block ACK Request frame count
* @ndpa_cnt: NDP announcement frame count
* @inval_link_id_pkt_cnt: Counter to capture Invalid Link Id
* @wme_ac_type_bytes: Wireless Multimedia Type Bytes Count
* @tx_ucast_total: Total tx unicast count
* @tx_ucast_success: Total tx unicast success count
@@ -1668,6 +1669,7 @@ struct cdp_tx_stats {
uint32_t rts_failure;
uint32_t bar_cnt;
uint32_t ndpa_cnt;
uint32_t inval_link_id_pkt_cnt;
uint64_t wme_ac_type_bytes[WME_AC_MAX];
struct cdp_pkt_info tx_ucast_total;
struct cdp_pkt_info tx_ucast_success;
@@ -1760,6 +1762,7 @@ struct cdp_tx_stats {
* @mcast_3addr_drop:
* @bar_cnt: Block ACK Request frame count
* @ndpa_cnt: NDP announcement frame count
* @inval_link_id_pkt_cnt: Counter to capture Invalid Link Id
* @wme_ac_type_bytes: Wireless Multimedia type Byte Count
* @rx_total: Total rx count
*/
@@ -1853,6 +1856,7 @@ struct cdp_rx_stats {
uint32_t mcast_3addr_drop;
uint32_t bar_cnt;
uint32_t ndpa_cnt;
uint32_t inval_link_id_pkt_cnt;
uint64_t wme_ac_type_bytes[WME_AC_MAX];
#ifdef IPA_OFFLOAD
struct cdp_pkt_info rx_total;