qcacmn: use right TLV tag header length for peach

In monitor mode, TLV tag header length should be 4 bytes for peach,
fix it.

Change-Id: I78beca168add8626c0fa99bfa407101ce4d36b30
CRs-Fixed: 3512227
This commit is contained in:
Jinwei Chen
2023-05-24 04:08:19 -07:00
committed by Rahul Choudhary
parent 6bb6eb3b88
commit 5e84f6fe25
3 changed files with 9 additions and 3 deletions

View File

@@ -54,6 +54,12 @@
#define HAL_RX_TLV64_HDR_SIZE 8
#ifdef CONFIG_4_BYTES_TLV_TAG
#define HAL_RX_TLV_HDR_SIZE HAL_RX_TLV32_HDR_SIZE
#else
#define HAL_RX_TLV_HDR_SIZE HAL_RX_TLV64_HDR_SIZE
#endif
#define HAL_RX_GET_USER_TLV64_TYPE(rx_status_tlv_ptr) \
((qdf_le64_to_cpu(*((uint64_t *)(rx_status_tlv_ptr))) & \
HAL_RX_USER_TLV64_TYPE_MASK) >> \