Parcourir la source

qcacld-3.0: Correct fw common references in dp layer

FW common files needs to be in sync with host and fw.
Correct fw common references in dp layer with latest copy
of fw common files.

Change-Id: I194c25045ca978634027a94bc74f22253b1afc86
CRs-Fixed: 1012542
Govind Singh il y a 9 ans
Parent
commit
8c46db9759
4 fichiers modifiés avec 16 ajouts et 14 suppressions
  1. 13 13
      core/dp/htt/htt_fw_stats.c
  2. 1 1
      core/dp/htt/htt_rx.c
  3. 1 0
      core/dp/txrx/ol_txrx.c
  4. 1 0
      core/wma/inc/wma.h

+ 13 - 13
core/dp/htt/htt_fw_stats.c

@@ -855,11 +855,11 @@ htt_t2h_tx_ppdu_log_print(struct ol_fw_tx_dbg_ppdu_msg_hdr *hdr,
 
 		/* fields used for both concise and complete printouts */
 		start_seq_num =
-			((*(msg_word + OL_FW_TX_DBG_PPDU_START_SEQ_NUM_16)) &
+			((*(msg_word + OL_FW_TX_DBG_PPDU_START_SEQ_NUM_WORD)) &
 			 OL_FW_TX_DBG_PPDU_START_SEQ_NUM_M) >>
 			OL_FW_TX_DBG_PPDU_START_SEQ_NUM_S;
 		complete =
-			((*(msg_word + OL_FW_TX_DBG_PPDU_COMPLETE_16)) &
+			((*(msg_word + OL_FW_TX_DBG_PPDU_COMPLETE_WORD)) &
 			 OL_FW_TX_DBG_PPDU_COMPLETE_M) >>
 			OL_FW_TX_DBG_PPDU_COMPLETE_S;
 
@@ -878,31 +878,31 @@ htt_t2h_tx_ppdu_log_print(struct ol_fw_tx_dbg_ppdu_msg_hdr *hdr,
 			start_pn_lsbs =
 				((*
 				  (msg_word +
-				   OL_FW_TX_DBG_PPDU_START_PN_LSBS_16)) &
+				   OL_FW_TX_DBG_PPDU_START_PN_LSBS_WORD)) &
 				 OL_FW_TX_DBG_PPDU_START_PN_LSBS_M) >>
 				OL_FW_TX_DBG_PPDU_START_PN_LSBS_S;
 			num_mpdus =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_NUM_MPDUS_16))&
+				((*(msg_word + OL_FW_TX_DBG_PPDU_NUM_MPDUS_WORD))&
 				 OL_FW_TX_DBG_PPDU_NUM_MPDUS_M) >>
 				OL_FW_TX_DBG_PPDU_NUM_MPDUS_S;
 			peer_id =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_PEER_ID_16)) &
+				((*(msg_word + OL_FW_TX_DBG_PPDU_PEER_ID_WORD)) &
 				 OL_FW_TX_DBG_PPDU_PEER_ID_M) >>
 				OL_FW_TX_DBG_PPDU_PEER_ID_S;
 			ext_tid =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_EXT_TID_16)) &
+				((*(msg_word + OL_FW_TX_DBG_PPDU_EXT_TID_WORD)) &
 				 OL_FW_TX_DBG_PPDU_EXT_TID_M) >>
 				OL_FW_TX_DBG_PPDU_EXT_TID_S;
 			rate_code =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_RATE_CODE_16))&
+				((*(msg_word + OL_FW_TX_DBG_PPDU_RATE_CODE_WORD))&
 				 OL_FW_TX_DBG_PPDU_RATE_CODE_M) >>
 				OL_FW_TX_DBG_PPDU_RATE_CODE_S;
 			rate_flags =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_RATEFLAGS_16))&
+				((*(msg_word + OL_FW_TX_DBG_PPDU_RATE_FLAGS_WORD))&
 				 OL_FW_TX_DBG_PPDU_RATE_FLAGS_M) >>
 				OL_FW_TX_DBG_PPDU_RATE_FLAGS_S;
 			tries =
-				((*(msg_word + OL_FW_TX_DBG_PPDU_TRIES_16)) &
+				((*(msg_word + OL_FW_TX_DBG_PPDU_TRIES_WORD)) &
 				 OL_FW_TX_DBG_PPDU_TRIES_M) >>
 				OL_FW_TX_DBG_PPDU_TRIES_S;
 
@@ -929,9 +929,9 @@ htt_t2h_tx_ppdu_log_print(struct ol_fw_tx_dbg_ppdu_msg_hdr *hdr,
 				qdf_print
 				      ("  enqueued and acked MPDU bitmaps:");
 				htt_t2h_tx_ppdu_bitmaps_pr(msg_word +
-					   OL_FW_TX_DBG_PPDU_ENQUEUED_LSBS_16,
+					   OL_FW_TX_DBG_PPDU_ENQUEUED_LSBS_WORD,
 							   msg_word +
-					   OL_FW_TX_DBG_PPDU_BLOCK_ACK_LSBS_16);
+					   OL_FW_TX_DBG_PPDU_BLOCK_ACK_LSBS_WORD);
 			} else {
 				qdf_print
 				      ("  enqueued: %d us, not yet completed",
@@ -968,9 +968,9 @@ htt_t2h_tx_ppdu_log_print(struct ol_fw_tx_dbg_ppdu_msg_hdr *hdr,
 			qdf_print("enqueued and acked MPDU bitmaps:");
 			if (complete) {
 				htt_t2h_tx_ppdu_bitmaps_pr(msg_word +
-					OL_FW_TX_DBG_PPDU_ENQUEUED_LSBS_16,
+					OL_FW_TX_DBG_PPDU_ENQUEUED_LSBS_WORD,
 							   msg_word +
-					OL_FW_TX_DBG_PPDU_BLOCK_ACK_LSBS_16);
+					OL_FW_TX_DBG_PPDU_BLOCK_ACK_LSBS_WORD);
 			} else {
 				qdf_print("(not completed)");
 			}

+ 1 - 1
core/dp/htt/htt_rx.c

@@ -2029,7 +2029,7 @@ htt_rx_amsdu_rx_in_order_pop_ll(htt_pdev_handle pdev,
 		msdu_count--;
 
 		if (qdf_unlikely((*((u_int8_t *) &rx_desc->fw_desc.u.val)) &
-				    FW_RX_DESC_MIC_ERR_M)) {
+				    FW_RX_DESC_ANY_ERR_M)) {
 			uint8_t tid =
 				HTT_RX_IN_ORD_PADDR_IND_EXT_TID_GET(
 					*(u_int32_t *)rx_ind_data);

+ 1 - 0
core/dp/txrx/ol_txrx.c

@@ -80,6 +80,7 @@
 #endif
 #include <cds_concurrency.h>
 #include "epping_main.h"
+#include <a_types.h>
 
 #ifdef CONFIG_HL_SUPPORT
 

+ 1 - 0
core/wma/inc/wma.h

@@ -49,6 +49,7 @@
 #include "wmi_unified_api.h"
 #include "cdp_txrx_cmn.h"
 #include "ol_defines.h"
+#include "dbglog.h"
 
 /* Platform specific configuration for max. no. of fragments */
 #define QCA_OL_11AC_TX_MAX_FRAGS            2