Skip to contentSkip to conversation

wcn36xx: disable HW_CONNECTION_MONITOR

PATCH In review Eduardo Abinader 2 participants 2 messages Dec 17, 2019 – Dec 18, 2019 Qualcomm WCN36XX wireless driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wcn36xx: disable HW_CONNECTION_MONITOR

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.

---
 drivers/net/wireless/ath/wcn36xx/main.c | 1 -
 1 file changed, 1 deletion(-)
drivers/net/wireless/ath/wcn36xx/main.c +0 -1
index c30fdd0cbf1e..e49c306e0eef 100644
@@ -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);
Signature · 1 line
2.20.1
#1 lore raw
Quoted 10 lines · Eduardo Abinader

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.

Patch applied to ath-next branch of ath.git, thanks.

f998f9fcf903 wcn36xx: disable HW_CONNECTION_MONITOR

Signature · 3 lines
https://patchwork.kernel.org/patch/11297683/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches