소스 검색

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 년 전
부모
커밋
7e761c2015
1개의 변경된 파일13개의 추가작업 그리고 0개의 파일을 삭제
  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
  */