2011-05-11 16:18:06

by Shahar Levi

[permalink] [raw]
Subject: [PATCH] wl12xx: Add Notification to 80211h support

Set Spectrum Management Bit in association request in
order to support 80211h spec

Signed-off-by: Shahar Levi <[email protected]>
---
drivers/net/wireless/wl12xx/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 7126506..2618a57 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3536,6 +3536,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
IEEE80211_HW_CONNECTION_MONITOR |
IEEE80211_HW_SUPPORTS_CQM_RSSI |
IEEE80211_HW_REPORTS_TX_ACK_STATUS |
+ IEEE80211_HW_SPECTRUM_MGMT |
IEEE80211_HW_AP_LINK_PS;

wl->hw->wiphy->cipher_suites = cipher_suites;
--
1.7.0.4



2011-05-12 21:18:16

by Luciano Coelho

[permalink] [raw]
Subject: Re: [PATCH] wl12xx: Add Notification to 80211h support

On Wed, 2011-05-11 at 12:12 +0300, Shahar Levi wrote:
> Set Spectrum Management Bit in association request in
> order to support 80211h spec
>
> Signed-off-by: Shahar Levi <[email protected]>
> ---
> drivers/net/wireless/wl12xx/main.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
> index 7126506..2618a57 100644
> --- a/drivers/net/wireless/wl12xx/main.c
> +++ b/drivers/net/wireless/wl12xx/main.c
> @@ -3536,6 +3536,7 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
> IEEE80211_HW_CONNECTION_MONITOR |
> IEEE80211_HW_SUPPORTS_CQM_RSSI |
> IEEE80211_HW_REPORTS_TX_ACK_STATUS |
> + IEEE80211_HW_SPECTRUM_MGMT |
> IEEE80211_HW_AP_LINK_PS;
>
> wl->hw->wiphy->cipher_suites = cipher_suites;

Modified commit subject and message and applied. Thanks, Shahar!

--
Cheers,
Luca.