mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
Enabling CPTCFG_ATH11K_MEM_PROFILE_512M will change the layout of struct hal_rx_desc_ipq8074. This broke monitor mode. Fix it by not modifying the struct even if the 512MB profile is enabled. Fixes: WIFI-12102 Signed-off-by: John Crispin <john@phrozen.org>
27 lines
754 B
Diff
27 lines
754 B
Diff
--- a/drivers/net/wireless/ath/ath11k/rx_desc.h
|
|
+++ b/drivers/net/wireless/ath/ath11k/rx_desc.h
|
|
@@ -1375,11 +1375,9 @@ struct hal_rx_desc_ipq8074 {
|
|
__le32 mpdu_end_tag;
|
|
struct rx_mpdu_end mpdu_end;
|
|
u8 rx_padding1[HAL_RX_DESC_PADDING1_BYTES];
|
|
-#ifndef CPTCFG_ATH11K_MEM_PROFILE_512M
|
|
__le32 hdr_status_tag;
|
|
__le32 phy_ppdu_id;
|
|
u8 hdr_status[HAL_RX_DESC_HDR_STATUS_LEN];
|
|
-#endif
|
|
u8 msdu_payload[0];
|
|
} __packed;
|
|
|
|
@@ -1396,11 +1394,9 @@ struct hal_rx_desc_qcn9074 {
|
|
__le32 mpdu_end_tag;
|
|
struct rx_mpdu_end mpdu_end;
|
|
u8 rx_padding1[HAL_RX_DESC_PADDING1_BYTES];
|
|
-#ifndef CPTCFG_ATH11K_MEM_PROFILE_512M
|
|
__le32 hdr_status_tag;
|
|
__le32 phy_ppdu_id;
|
|
u8 hdr_status[HAL_RX_DESC_HDR_STATUS_LEN];
|
|
-#endif
|
|
u8 msdu_payload[0];
|
|
} __packed;
|
|
|