diff --git a/patches.suse/wcn36xx-disable-HW_CONNECTION_MONITOR.patch b/patches.suse/wcn36xx-disable-HW_CONNECTION_MONITOR.patch new file mode 100644 index 0000000..d3d7d13 --- /dev/null +++ b/patches.suse/wcn36xx-disable-HW_CONNECTION_MONITOR.patch @@ -0,0 +1,38 @@ +From f998f9fcf9033b1e7f76bf4c17969b74be664dce Mon Sep 17 00:00:00 2001 +From: Eduardo Abinader +Date: Tue, 17 Dec 2019 15:12:47 +0100 +Subject: [PATCH] wcn36xx: disable HW_CONNECTION_MONITOR +Git-commit: f998f9fcf9033b1e7f76bf4c17969b74be664dce +References: git-fixes +Patch-mainline: v5.10-rc1 + +Whenever the signal stregth decays smoothly and physical connnection +is already gone and no deauth has arrived, the qcom soc is not +able to indicate neither WCN36XX_HAL_MISSED_BEACON_IND nor +WCN36XX_HAL_MISSED_BEACON_IND. It was noticed that such situation gets +even more reproducible, when the driver fails to enter bmps mode - which is +highly likely to occur. Thus, in order to provide proper disconnection +of the connected STA, let mac80211 handle it, instead of wcn3xx driver. + +Signed-off-by: Eduardo Abinader +Signed-off-by: Kalle Valo +Signed-off-by: Oliver Neukum +--- + drivers/net/wireless/ath/wcn36xx/main.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/drivers/net/wireless/ath/wcn36xx/main.c b/drivers/net/wireless/ath/wcn36xx/main.c +index c30fdd0cbf1e..e49c306e0eef 100644 +--- a/drivers/net/wireless/ath/wcn36xx/main.c ++++ b/drivers/net/wireless/ath/wcn36xx/main.c +@@ -1169,7 +1169,6 @@ static int wcn36xx_init_ieee80211(struct wcn36xx *wcn) + + ieee80211_hw_set(wcn->hw, TIMING_BEACON_ONLY); + ieee80211_hw_set(wcn->hw, AMPDU_AGGREGATION); +- ieee80211_hw_set(wcn->hw, CONNECTION_MONITOR); + ieee80211_hw_set(wcn->hw, SUPPORTS_PS); + ieee80211_hw_set(wcn->hw, SIGNAL_DBM); + ieee80211_hw_set(wcn->hw, HAS_RATE_CONTROL); +-- +2.40.1 + diff --git a/series.conf b/series.conf index b646312..6e17e72 100644 --- a/series.conf +++ b/series.conf @@ -54901,6 +54901,7 @@ patches.suse/brcmfmac-Fix-memory-leak-in-brcmf_usbdev_qinit.patch patches.suse/orinoco-avoid-assertion-in-case-of-NULL-pointer.patch patches.suse/ath9k-fix-storage-endpoint-lookup.patch + patches.suse/wcn36xx-disable-HW_CONNECTION_MONITOR.patch patches.suse/net-ena-remove-set-but-not-used-variable-rx_ring.patch patches.suse/gianfar-Fix-TX-timestamping-with-a-stacked-DSA-drive.patch patches.suse/vmxnet3-Remove-always-false-conditional-statement.patch