wil6210: notify cqm packet loss on disable_ap_sme
authorAhmad Masri <amasri@codeaurora.org>
Wed, 31 Oct 2018 08:52:16 +0000 (10:52 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Nov 2018 16:03:11 +0000 (18:03 +0200)
commitb571e71bcb98d6b629b486b9af027a73fc6da3c3
tree8355ab56ffce8f17f6d4538fb43ca53bb16fdec8
parente1b43407c034650c11bc597bef319f03b8262b6c
wil6210: notify cqm packet loss on disable_ap_sme

wil6210 used to notify cfg80211_del_sta on every fw disconnect event.
In disable_ap_sme mode the userspace manages the protocol SME and
FW sends disconnect event only due to link loss.

In disable_ap_sme mode, indicate CQM packet loss to let the host
control the connection and disconnect the link if needed.

Signed-off-by: Ahmad Masri <amasri@codeaurora.org>
Signed-off-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wil6210/wmi.c