summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhang Qian <zhangq@codeaurora.org>2019-03-27 11:47:13 +0800
committerZhang Qian <zhangq@codeaurora.org>2019-03-27 12:02:51 +0800
commitfc23666a2eda3859b8f330d7b84a55fbcc746289 (patch)
treed55507d67d0e19860ef1c77c5d9e61a8084e11e9
parentcd2b065f83e92d23bd9600c9521f53848a2e26ef (diff)
qcacld-2.0: Add smart antenna matrix
Propagate FW changes for smart antenna matrix. 1. CL 6707989 add rx antenna mask to htt_rx_ind_hl_rx_desc_t 2. CL 6795655 Add HTT_RX_IND_HL_SA_ANT_MATRIX_OFFSET macro def Change-Id: I7a4dcdef668c09c2976d8dbab9bbb4e73d001f2c CRs-Fixed: 2423985
-rw-r--r--CORE/CLD_TXRX/HTT/htt.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/CORE/CLD_TXRX/HTT/htt.h b/CORE/CLD_TXRX/HTT/htt.h
index 59c5864b0fc9..e5b59ccf97d9 100644
--- a/CORE/CLD_TXRX/HTT/htt.h
+++ b/CORE/CLD_TXRX/HTT/htt.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2011-2019 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -5288,6 +5288,14 @@ struct htt_rx_ind_hl_rx_desc_t {
udp: 1,
reserved: 1;
} flags;
+ /* sa_ant_matrix
+ * For cases where a single rx chain has options to be connected to
+ * different rx antennas, show which rx antennas were in use during
+ * receipt of a given PPDU.
+ * This sa_ant_matrix provides a bitmask of the antennas used while
+ * receiving this frame.
+ */
+ A_UINT8 sa_ant_matrix;
};
#define HTT_RX_IND_HL_RX_DESC_VER_OFFSET \
@@ -5303,6 +5311,10 @@ struct htt_rx_ind_hl_rx_desc_t {
(HTT_RX_IND_HL_RX_DESC_BASE_OFFSET \
+ offsetof(struct htt_rx_ind_hl_rx_desc_t, flags))
+#define HTT_RX_IND_HL_SA_ANT_MATRIX_OFFSET \
+ (HTT_RX_IND_HL_RX_DESC_BASE_OFFSET \
+ + offsetof(struct htt_rx_ind_hl_rx_desc_t, sa_ant_matrix))
+
#define HTT_RX_IND_HL_FLAG_FIRST_MSDU (0x01 << 0)
#define HTT_RX_IND_HL_FLAG_LAST_MSDU (0x01 << 1)
#define HTT_RX_IND_HL_FLAG_C3_FAILED (0x01 << 2) // L3 checksum failed