From 7e761c201519fa6b61e26b06dd47d202c3d970b4 Mon Sep 17 00:00:00 2001 From: jinbaoliu Date: Wed, 10 Aug 2022 19:50:21 -0700 Subject: [PATCH] qcacmn: Driver provides rx rates info instead of FW Driver is able to get rates info per MSDU, which can exclude special frames like ARP, DHCP, etc. This change is to refill the rates info parsing by rateflags from FW, including legacy rate, MCS, NSS, BW, preamble, GI, etc. Change-Id: I043c3ba5c2a06019f3e9bd1765e6b8430174cf6b CRs-Fixed: 3263832 --- dp/inc/cdp_txrx_cmn.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/dp/inc/cdp_txrx_cmn.h b/dp/inc/cdp_txrx_cmn.h index a8f617f418..700751fa43 100644 --- a/dp/inc/cdp_txrx_cmn.h +++ b/dp/inc/cdp_txrx_cmn.h @@ -138,6 +138,19 @@ enum { DP_VDEV_STATS_TX_ME, }; +/* + * BW types of used for RX PPDU + */ +enum rx_tlv_bw { + RX_TLV_BW_20MHZ, + RX_TLV_BW_40MHZ, + RX_TLV_BW_80MHZ, + RX_TLV_BW_160MHZ, + RX_TLV_BW_320MHZ, + RX_TLV_BW_240MHZ, + RX_TLV_BW_CNT, +}; + /* * typedef ipa_uc_op_cb_type - Register OP handler function */