ath11k: add LDPC FEC type in 802.11 radiotap header
authorP Praneesh <quic_ppranees@quicinc.com>
Tue, 11 Jan 2022 14:42:52 +0000 (16:42 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 12 Jan 2022 08:06:14 +0000 (10:06 +0200)
commitb3febdccde3eb086b892485c923cd6b73b2ce9d7
tree5eda584a887a2cbba27bf383d1368f4d5a643a21
parentfbed57d897f6ea065c45806959337a6f28d2a94d
ath11k: add LDPC FEC type in 802.11 radiotap header

LDPC is one the FEC type advertised in msdu_start info2 for HT packet
type. Hence, add hardware specific callback for fetching LDPC
support from msdu start and enable RX_ENC_FLAG_LDPC flag while passing
rx status to mac80211.

Tested-on: IPQ8074 WLAN.HK.2.4.0.1-01467-QCAHKSWPL_SILICONZ-1

Signed-off-by: P Praneesh <quic_ppranees@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1638294648-844-3-git-send-email-quic_ppranees@quicinc.com
drivers/net/wireless/ath/ath11k/dp_rx.c
drivers/net/wireless/ath/ath11k/hw.c
drivers/net/wireless/ath/ath11k/hw.h