wifi: ath11k: Include STA_KEEPALIVE_ARP_RESPONSE TLV header by default
authorBaochen Qiang <quic_bqiang@quicinc.com>
Tue, 13 Sep 2022 04:43:58 +0000 (12:43 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 19 Sep 2022 12:43:26 +0000 (15:43 +0300)
commitb7b6f86149a7e06269d61a7a5206360f5b642f80
tree68c5a64a58c419413e01be5578b0bc1ba7dccd14
parentbe327016a313084a4611c5e85a29b7d7bfec05da
wifi: ath11k: Include STA_KEEPALIVE_ARP_RESPONSE TLV header by default

In current code STA_KEEPALIVE_ARP_RESPONSE TLV header is included only
when ARP method is used, this causes firmware always to crash when wowlan
is enabled because firmware needs it to be present no matter ARP method
is used or not.

Fix this issue by including STA_KEEPALIVE_ARP_RESPONSE TLV header by
default.

Also fix below typo:
  s/WMI_TAG_STA_KEEPALVE_ARP_RESPONSE/WMI_TAG_STA_KEEPALIVE_ARP_RESPONSE/

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

Fixes: 0f84a156aa3b ("ath11k: Handle keepalive during WoWLAN suspend and resume")
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220913044358.2037-1-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath11k/wmi.c
drivers/net/wireless/ath/ath11k/wmi.h