[PATCH 0/1] wcn36xx: Revert firmware link monitoring

STALE1781d

Revision v1 of 3 in this series.

7 messages, 3 authors, 2021-10-25 · open the first message on its own page

[PATCH 0/1] wcn36xx: Revert firmware link monitoring

From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Date: 2021-10-22 14:08:26

We can get this working with

- Secure APs PS on/off
- Open APs PS on

by setting firmware feature bit WLANACTIVE_OFFLOAD 

Open APs PS off though is non-functional even with the above bit enabled
and three quaters of a wheel is useless.

So unfortunately for now zap it off.

Bryan O'Donoghue (1):
  Revert "wcn36xx: Enable firmware link monitoring"

 drivers/net/wireless/ath/wcn36xx/main.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.33.0

[PATCH 1/1] Revert "wcn36xx: Enable firmware link monitoring"

From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Date: 2021-10-22 14:08:30

This reverts commit c973fdad79f6eaf247d48b5fc77733e989eb01e1.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Benjamin Li <redacted>
---
 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 dd8810fd76a3d..fd8b2753da7dd 100644
--- a/drivers/net/wireless/ath/wcn36xx/main.c
+++ b/drivers/net/wireless/ath/wcn36xx/main.c
@@ -1334,7 +1334,6 @@ 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) |
-- 
2.33.0

Re: [PATCH 1/1] Revert "wcn36xx: Enable firmware link monitoring"

From: Loic Poulain <hidden>
Date: 2021-10-22 14:54:23

On Fri, 22 Oct 2021 at 16:08, Bryan O'Donoghue
[off-list ref] wrote:
This reverts commit c973fdad79f6eaf247d48b5fc77733e989eb01e1.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Benjamin Li <redacted>
Should it get a 'Fixes' tag?

Regards,
Loic
quoted hunk
---
 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 dd8810fd76a3d..fd8b2753da7dd 100644
--- a/drivers/net/wireless/ath/wcn36xx/main.c
+++ b/drivers/net/wireless/ath/wcn36xx/main.c
@@ -1334,7 +1334,6 @@ 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) |
--
2.33.0

Re: [PATCH 0/1] wcn36xx: Revert firmware link monitoring

From: Kalle Valo <hidden>
Date: 2021-10-25 08:53:04

Bryan O'Donoghue [off-list ref] writes:
We can get this working with

- Secure APs PS on/off
- Open APs PS on

by setting firmware feature bit WLANACTIVE_OFFLOAD 

Open APs PS off though is non-functional even with the above bit enabled
and three quaters of a wheel is useless.

So unfortunately for now zap it off.
Avoid using acronyms as much as possible, PS meaning power save might
not be clear for everyone.

And please try to be more specific, I'm not sure what power save feature
you are meaning here. (802.11 protocol power save, BMPS or what?)

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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

Re: [PATCH 1/1] Revert "wcn36xx: Enable firmware link monitoring"

From: Kalle Valo <hidden>
Date: 2021-10-25 08:54:15

Loic Poulain [off-list ref] writes:
On Fri, 22 Oct 2021 at 16:08, Bryan O'Donoghue
[off-list ref] wrote:
quoted
This reverts commit c973fdad79f6eaf247d48b5fc77733e989eb01e1.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Benjamin Li <redacted>
Should it get a 'Fixes' tag?
But this patch is not really fixing anything, right? I wonder if there's
patch 2 missing?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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

Re: [PATCH 1/1] Revert "wcn36xx: Enable firmware link monitoring"

From: Kalle Valo <hidden>
Date: 2021-10-25 08:55:37

Bryan O'Donoghue [off-list ref] writes:
This reverts commit c973fdad79f6eaf247d48b5fc77733e989eb01e1.

Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
The commit log should answer to question "why?". Please move the
explanation from the cover email to the commit log.
Signed-off-by: Benjamin Li <redacted>
Why Benjamin's s-o-b?

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

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

Re: [PATCH 0/1] wcn36xx: Revert firmware link monitoring

From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Date: 2021-10-25 09:05:59

On 25/10/2021 09:52, Kalle Valo wrote:
Avoid using acronyms as much as possible, PS meaning power save might
not be clear for everyone.

And please try to be more specific, I'm not sure what power save feature
you are meaning here. (802.11 protocol power save, BMPS or what?)
Yep - the issue is on an Open AP when we enter BMPS link monitoring 
stops working.

I'll make that clear in a resend
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help