brcmsmac: disable power-save related functions
PATCH 1/1 brcmsmac: disable power-save related functions
This patch fixes a regression introduced by:
commit 6da3b6c48d79da96a36c2632053cf4f53bf48fb2
Author: Hauke Mehrtens <[email protected]>
Date: Sun Mar 24 01:45:52 2013 +0100
brcmsmac: remove brcms_bss_cfg->associated
The regression behaviour is described in:
http://www.spinics.net/lists/linux-wireless/msg107474.html
Before the mentioned commit the return value of the function brcms_c_ps_allowed() was always false, which is desired behaviour as power-save is not supported at the moment. Therefor, the function is changed to just return false instead of simply reverting the mentioned commit.
---
Sorry, John
Hope the revised commit message has all the needed information now. Without this patch brcmsmac is useless for anyone using it in station mode.
Gr. AvS
--- drivers/net/wireless/brcm80211/brcmsmac/main.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-)
drivers/net/wireless/brcm80211/brcmsmac/main.c +2 -15
@@ -3074,21 +3074,8 @@ static void brcms_b_antsel_set(struct brcms_hardware *wlc_hw, u32 antsel_avail)*/ static bool brcms_c_ps_allowed (struct brcms_c_info *wlc) { -/* disallow PS when one of the following global conditions meets */ -if (!wlc->pub->associated) -return false; - -/* disallow PS when one of these meets when not scanning */ -if (wlc->filter_flags &FIF_PROMISC_IN_BSS ) -return false; - -if (wlc->bsscfg->type ==BRCMS_TYPE_AP ) -return false; - -if (wlc->bsscfg->type ==BRCMS_TYPE_ADHOC ) -return false; - -return true; +/* not supporting PS so always return false for now */ +return false; }static void brcms_c_statsupd (struct brcms_c_info *wlc)
Signature · 1 line
1.7.10.4
Quoted 11 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit
6da3b6c48d79da96a36c2632053cf4f53bf48fb2
Author: Hauke Mehrtens <[email protected]>
Date: Sun Mar 24 01:45:52 2013 +0100brcmsmac: remove brcms_bss_cfg->associatedThe regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Signature · 1 line
Kalle Valo
Quoted 10 lines · Kalle Valo
Quoted 8 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit
6da3b6c48d79da96a36c2632053cf4f53bf48fb2
Author: Hauke Mehrtens <[email protected]>
Date: Sun Mar 24 01:45:52 2013 +0100brcmsmac: remove brcms_bss_cfg->associated
Quoted 8 lines
Quoted 3 lines
The regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Johannes gave a handy tip. Gmane has a service which uses message ids:
http://mid.gmane.org/[email protected]
If the link or service dies, one can find the email with the message id visible from the link.
Signature · 1 line
Kalle Valo
Quoted 21 lines · Kalle Valo
Quoted 10 lines · Kalle Valo
Quoted 8 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit 6da3b6c48d79da96a36c2632053cf4f53bf48fb2 Author: Hauke Mehrtens <[email protected]> Date: Sun Mar 24 01:45:52 2013 +0100 brcmsmac: remove brcms_bss_cfg->associatedQuoted 8 lines
Quoted 3 lines
The regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Quoted 7 lines
Johannes gave a handy tip. Gmane has a service which uses message ids:
http://mid.gmane.org/[email protected]
If the link or service dies, one can find the email with the message id visible from the link.
What if gmane dies ;-)
Gr. AvS
Quoted 26 lines · Arend van Spriel
Quoted 25 lines · Kalle Valo
Quoted 10 lines · Kalle Valo
Quoted 8 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit 6da3b6c48d79da96a36c2632053cf4f53bf48fb2 Author: Hauke Mehrtens <[email protected]> Date: Sun Mar 24 01:45:52 2013 +0100 brcmsmac: remove brcms_bss_cfg->associatedQuoted 8 lines
Quoted 3 lines
The regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Johannes gave a handy tip. Gmane has a service which uses message ids:
Quoted 7 lines
Quoted 3 lines
If the link or service dies, one can find the email with the message id visible from the link.
What if gmane dies ;-)
Gr. AvS
There is also a bugzilla entry for this bug:
https://bugzilla.kernel.org/show_bug.cgi?id=58471
Hauke
Quoted 24 lines · Arend van Spriel
Quoted 23 lines · Kalle Valo
Quoted 10 lines · Kalle Valo
Quoted 8 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit 6da3b6c48d79da96a36c2632053cf4f53bf48fb2 Author: Hauke Mehrtens <[email protected]> Date: Sun Mar 24 01:45:52 2013 +0100 brcmsmac: remove brcms_bss_cfg->associatedQuoted 8 lines
Quoted 3 lines
The regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Johannes gave a handy tip. Gmane has a service which uses message ids:
Quoted 7 lines
Quoted 5 lines
http://mid.gmane.org/[email protected]
If the link or service dies, one can find the email with the message id visible from the link.
What if gmane dies ;-)
You missed my point. If gmane dies you do this:
http://lmgtfy.com/?q=5197DC4F.7030503%40broadcom.com
:D
The id above is the real message id from the email, that's why you can use it to search from email archives, google and so on.
Signature · 1 line
Kalle Valo
Quoted 34 lines · Kalle Valo
Quoted 24 lines · Arend van Spriel
Quoted 23 lines · Kalle Valo
Quoted 10 lines · Kalle Valo
Quoted 8 lines · Arend van Spriel
This patch fixes a regression introduced by:
commit 6da3b6c48d79da96a36c2632053cf4f53bf48fb2 Author: Hauke Mehrtens <[email protected]> Date: Sun Mar 24 01:45:52 2013 +0100 brcmsmac: remove brcms_bss_cfg->associatedQuoted 8 lines
Quoted 3 lines
The regression behaviour is described in:
The link is not a very reliable reference, it can die anytime and there's no way to know what message it refers to. Stating the message id would better. And the best would be to copy the full text to the commit log, it's only few lines anyway.
Johannes gave a handy tip. Gmane has a service which uses message ids:
Quoted 7 lines
Quoted 5 lines
http://mid.gmane.org/[email protected]
If the link or service dies, one can find the email with the message id visible from the link.
What if gmane dies ;-)
Quoted 8 lines
You missed my point. If gmane dies you do this:
http://lmgtfy.com/?q=5197DC4F.7030503%40broadcom.com
:D
The id above is the real message id from the email, that's why you can use it to search from email archives, google and so on.
Would it be too hard to copy the text in the commit message? :-)
Why should somebody jump here and there just to get the description of a bug? Imho, at least a short description should appear here. In this way also David can immediately figure out what the problem is, without jumping on the web (imagine many of this in one pull request) :-)
my 2 cents.
Cheers,
Signature · 4 lines
Antonio Quartulli ..each of us alone is worth nothing.. Ernesto "Che" Guevara