]> www.infradead.org Git - users/jedix/linux-maple.git/commit
wifi: ath12k: Fix endianness issue in struct hal_tlv_64_hdr
authorP Praneesh <quic_ppranees@quicinc.com>
Tue, 19 Nov 2024 16:45:16 +0000 (22:15 +0530)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 21 Nov 2024 15:52:49 +0000 (07:52 -0800)
commit1cfa6d4e5bd9bfb15d165d8d843163363929ba1b
tree42800c351193ec0722dde4ab4028a5583189c8ec
parentea58aae8458480d6391c404e62f1a4b30462b9c3
wifi: ath12k: Fix endianness issue in struct hal_tlv_64_hdr

struct hal_tlv_64_hdr has a 64-bit member that should be in little-endian
format, but the current definition uses host byte order. Fix this by
changing the definition and updating the corresponding helper functions
used for the byte order conversion.

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00173-QCAHKSWPL_SILICONZ-1

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Acked-by: Kalle Valo <kvalo@kernel.org>
Acked-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://patch.msgid.link/20241119164516.756478-1-quic_ppranees@quicinc.com
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath12k/dp_rx.c
drivers/net/wireless/ath/ath12k/hal_desc.h
drivers/net/wireless/ath/ath12k/hal_rx.c