brcmfmac: advertise frames supported for TX in AP mode
PATCH 1/1 brcmfmac: advertise frames supported for TX in AP mode
Callback mgmt_tx implementation supports both: PROBE_RESP and ACTION.
---
This matches code I can see in brcmf_cfg80211_mgmt_tx, hope it makes sense.
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +4 -0
@@ -5948,6 +5948,10 @@ brcmf_txrx_stypes[NUM_NL80211_IFTYPES] = { .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |BIT (IEEE80211_STYPE_PROBE_REQ >>4 ) }, + [NL80211_IFTYPE_AP] = { + .tx =BIT (IEEE80211_STYPE_ACTION >>4 ) | +BIT (IEEE80211_STYPE_PROBE_RESP >>4 ) + }, [NL80211_IFTYPE_P2P_CLIENT] = { .tx = 0xffff, .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |
Signature · 1 line
1.8.4.5
Quoted 6 lines · Rafał Miłecki
Callback
mgmt_tximplementation supports both:PROBE_RESPand ACTION.Signed-off-by Rafał Miłecki <[email protected]>---
This matches code I can see inbrcmf_cfg80211_mgmt_tx, hope it makes sense.
As said in another response [1] this function was added for P2P functionality. Hence I do not feel comfortable adding this patch without subsequent testing.
Regards,
Arend
[1] http://mid.gmane.org/[email protected]
Quoted 20 lines
--- drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c +4
-0@@ -5948,6 +5948,10 @@ brcmf_txrx_stypes[NUM_NL80211_IFTYPES] = { .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |BIT (IEEE80211_STYPE_PROBE_REQ >>4 ) }, + [NL80211_IFTYPE_AP] = { + .tx =BIT (IEEE80211_STYPE_ACTION >>4 ) | +BIT (IEEE80211_STYPE_PROBE_RESP >>4 ) + }, [NL80211_IFTYPE_P2P_CLIENT] = { .tx = 0xffff, .rx = BIT(IEEE80211_STYPE_ACTION >> 4) |
Hi,
Quoted 5 lines · Arend van Spriel
Quoted 2 lines · Rafał Miłecki
Callback
mgmt_tximplementation supports both:PROBE_RESPand ACTION.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Rafał Miłecki <[email protected]>---
This matches code I can see inbrcmf_cfg80211_mgmt_tx, hope it makes sense.As said in another response [1] this function was added for P2P functionality. Hence I do not feel comfortable adding this patch without subsequent testing.
Has anyone tested this yet?
Thanks,
Signature · 4 lines
Julian Calaby Email: [email protected] Profile: http://www.google.com/profiles/julian.calaby/