|
@@ -207,9 +207,10 @@
|
|
|
* 3.83 Shrink seq_idx field in HTT PPDU ID from 3 bits to 2.
|
|
|
* 3.84 Add fisa_control_bits_v2 def.
|
|
|
* 3.85 Add HTT_RX_PEER_META_DATA defs.
|
|
|
+ * 3.86 Add HTT_T2H_MSG_TYPE_FSE_CMEM_BASE_SEND def.
|
|
|
*/
|
|
|
#define HTT_CURRENT_VERSION_MAJOR 3
|
|
|
-#define HTT_CURRENT_VERSION_MINOR 85
|
|
|
+#define HTT_CURRENT_VERSION_MINOR 86
|
|
|
|
|
|
#define HTT_NUM_TX_FRAG_DESC 1024
|
|
|
|
|
@@ -6917,6 +6918,8 @@ enum htt_t2h_msg_type {
|
|
|
*/
|
|
|
HTT_T2H_MSG_TYPE_TX_OFFLOAD_DELIVER_IND = 0x25,
|
|
|
HTT_T2H_MSG_TYPE_CHAN_CALDATA = 0x26,
|
|
|
+ HTT_T2H_MSG_TYPE_FSE_CMEM_BASE_SEND = 0x27,
|
|
|
+
|
|
|
|
|
|
HTT_T2H_MSG_TYPE_TEST,
|
|
|
/* keep this last */
|
|
@@ -14028,6 +14031,62 @@ PREPACK struct htt_chan_caldata_msg {
|
|
|
} while (0)
|
|
|
|
|
|
|
|
|
+/**
|
|
|
+ * @brief HTT_T2H_MSG_TYPE_FSE_CMEM_BASE_SEND Message
|
|
|
+ *
|
|
|
+ * @details
|
|
|
+ * HTT_T2H_MSG_TYPE_FSE_CMEM_BASE_SEND message is sent by the target when
|
|
|
+ * FSE placement in CMEM is enabled.
|
|
|
+ *
|
|
|
+ * This message sends the non-secure CMEM base address.
|
|
|
+ * It will be sent to host in response to message
|
|
|
+ * HTT_H2T_MSG_TYPE_RX_FSE_SETUP_CFG.
|
|
|
+ * The message would appear as follows:
|
|
|
+ *
|
|
|
+ * |31 24|23 16|15 8|7 0|
|
|
|
+ * |----------------+----------------+----------------+----------------|
|
|
|
+ * | reserved | num_entries | msg_type |
|
|
|
+ * |----------------+----------------+----------------+----------------|
|
|
|
+ * | base_address_lo |
|
|
|
+ * |----------------+----------------+----------------+----------------|
|
|
|
+ * | base_address_hi |
|
|
|
+ * |-------------------------------------------------------------------|
|
|
|
+ *
|
|
|
+ * The message is interpreted as follows:
|
|
|
+ * dword0 - b'0:7 - msg_type: This will be set to
|
|
|
+ * HTT_T2H_MSG_TYPE_FSE_CMEM_BASE_SEND
|
|
|
+ * b'8:15 - number_entries: Indicated the number of entries
|
|
|
+ * programmed.
|
|
|
+ * b'16:31 - reserved.
|
|
|
+ * dword1 - b'0:31 - base_address_lo: Indicate lower 32 bits of
|
|
|
+ * CMEM base address
|
|
|
+ * dword2 - b'0:31 - base_address_hi: Indicate upper 32 bits of
|
|
|
+ * CMEM base address
|
|
|
+ */
|
|
|
+
|
|
|
+PREPACK struct htt_cmem_base_send_t {
|
|
|
+ A_UINT32 msg_type: 8,
|
|
|
+ num_entries: 8,
|
|
|
+ reserved: 16;
|
|
|
+ A_UINT32 base_address_lo;
|
|
|
+ A_UINT32 base_address_hi;
|
|
|
+} POSTPACK;
|
|
|
+
|
|
|
+#define HTT_CMEM_BASE_SEND_SIZE (sizeof(struct htt_cmem_base_send_t))
|
|
|
+
|
|
|
+#define HTT_CMEM_BASE_SEND_NUM_ENTRIES_M 0x0000FF00
|
|
|
+#define HTT_CMEM_BASE_SEND_NUM_ENTRIES_S 8
|
|
|
+
|
|
|
+#define HTT_CMEM_BASE_SEND_NUM_ENTRIES_GET(_var) \
|
|
|
+ (((_var) & HTT_CMEM_BASE_SEND_NUM_ENTRIES_M) >> \
|
|
|
+ HTT_CMEM_BASE_SEND_NUM_ENTRIES_S)
|
|
|
+
|
|
|
+#define HTT_CMEM_BASE_SEND_NUM_ENTRIES_SET(_var, _val) \
|
|
|
+ do { \
|
|
|
+ HTT_CHECK_SET_VAL(HTT_CMEM_BASE_SEND_NUM_ENTRIES, _val); \
|
|
|
+ ((_var) |= ((_val) << HTT_SRING_SETUP_DONE_PDEV_ID_S)); \
|
|
|
+ } while (0)
|
|
|
+
|
|
|
/**
|
|
|
* @brief - HTT PPDU ID format
|
|
|
*
|