projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e24eedc
)
wcn36xx: Enable firmware link monitoring
author
Bryan O'Donoghue
<bryan.odonoghue@linaro.org>
Tue, 3 Nov 2020 12:17:34 +0000
(12:17 +0000)
committer
Kalle Valo
<kvalo@codeaurora.org>
Sat, 7 Nov 2020 08:09:18 +0000
(10:09 +0200)
This patch switches on CONNECTION_MONITOR. Once done it is up to the
firmware to send keep alive and to monitor the link state.
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link:
https://lore.kernel.org/r/20201103121735.291324-3-bryan.odonoghue@linaro.org
drivers/net/wireless/ath/wcn36xx/main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/wcn36xx/main.c
b/drivers/net/wireless/ath/wcn36xx/main.c
index 706728fba72d7d0534479c08a6b85b061bcc853c..e924cc4acde076822beff1a35c3172acdcd74a0e 100644
(file)
--- a/
drivers/net/wireless/ath/wcn36xx/main.c
+++ b/
drivers/net/wireless/ath/wcn36xx/main.c
@@
-1246,6
+1246,7
@@
static int wcn36xx_init_ieee80211(struct wcn36xx *wcn)
ieee80211_hw_set(wcn->hw, HAS_RATE_CONTROL);
ieee80211_hw_set(wcn->hw, SINGLE_SCAN_ON_ALL_BANDS);
ieee80211_hw_set(wcn->hw, REPORTS_TX_ACK_STATUS);
+ ieee80211_hw_set(wcn->hw, CONNECTION_MONITOR);
wcn->hw->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
BIT(NL80211_IFTYPE_AP) |