diff options
author | Kiran Divekar <dkiran@marvell.com> | 2010-06-05 10:20:42 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-23 23:14:00 +0400 |
commit | 1047d5edd4838f27dc86f24676178f2249c446ea (patch) | |
tree | 2cf140cd7ae14590367b8dccda3c8adaee754e06 /drivers/net/wireless/libertas/main.c | |
parent | e4fe4eafa41cf951fb8fe2b9725ae84c599668d8 (diff) | |
download | linux-1047d5edd4838f27dc86f24676178f2249c446ea.tar.xz |
Libertas: Added 11d support using cfg80211
Added 11d support for libertas driver using cfg80211. This is based on Holger
Shurig's initial work to add cfg80211 support libertas.
(https://patchwork.kernel.org/patch/64286/)
Please let us know, if there are any improvements comments.
Code is added to send 11d enable command to firmware while
initialisation and pass 11d specific information to firmware
when notifier handler is called by cfg80211.
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Kiran Divekar <dkiran@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/main.c')
-rw-r--r-- | drivers/net/wireless/libertas/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/libertas/main.c b/drivers/net/wireless/libertas/main.c index 58b031c52410..b519fc70f04f 100644 --- a/drivers/net/wireless/libertas/main.c +++ b/drivers/net/wireless/libertas/main.c @@ -652,6 +652,9 @@ static int lbs_setup_firmware(struct lbs_private *priv) priv->txpower_max = maxlevel; } + /* Send cmd to FW to enable 11D function */ + ret = lbs_set_snmp_mib(priv, SNMP_MIB_OID_11D_ENABLE, 1); + lbs_set_mac_control(priv); done: lbs_deb_leave_args(LBS_DEB_FW, "ret %d", ret); |