Sfoglia il codice sorgente

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
jinbaoliu 2 anni fa
parent
commit
7e761c2015
1 ha cambiato i file con 13 aggiunte e 0 eliminazioni
  1. 13 0
      dp/inc/cdp_txrx_cmn.h

+ 13 - 0
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
  */