]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: add a condition to fill the LDPC capability correctly
authorSurabhi Vishnoi <svishnoi@codeaurora.org>
Fri, 1 Feb 2019 05:34:22 +0000 (11:04 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 7 Feb 2019 14:57:06 +0000 (16:57 +0200)
commitb0ab9d11deeb2f9fc78926fea716578f2eadce11
treed4adc64ddc0d9fe814e5d794c340c8ff7bb7e137
parent5a980744f9657c65abffb2beee7cbcc2cf35386a
ath10k: add a condition to fill the LDPC capability correctly

The firmware advertises the LDPC support information for HT in
HT capability info in the wmi service ready event. To provide
granularity, firmware now advertises WMI_HT_CAP_RX_LDPC and
WMI_HT_CAP_TX_LDPC separately. To support LDPC, host should
also check for WMI_HT_CAP_RX_LDPC and WMI_HT_CAP_TX_LDPC in HT
capabilities.

Add a condition to existing logic in host to know whether firmware
supports LDPC or not.

Tested HW: WCN3990
Tested FW: WLAN.HL.3.1-00784-QCAHLSWMTPLZ-1,
           WLAN.HL.2.0-01617-QCAHLSWMTPLZ-1

Signed-off-by: Surabhi Vishnoi <svishnoi@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.h