aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/src/wlc
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-01-21 20:52:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-01-21 20:52:17 +0000
commitf3c6c80cb82fbb81721721c6214b816169a1efa5 (patch)
tree42001f68bc3baa9d36e0c1bce2c3cf2c1b67b2da /package/broadcom-wl/src/wlc
parentedfa82ab60f06cc8acbade286b54ab80d841cb5a (diff)
downloadupstream-f3c6c80cb82fbb81721721c6214b816169a1efa5.tar.gz
upstream-f3c6c80cb82fbb81721721c6214b816169a1efa5.tar.bz2
upstream-f3c6c80cb82fbb81721721c6214b816169a1efa5.zip
broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows switching between open and shared authentication
SVN-Revision: 19256
Diffstat (limited to 'package/broadcom-wl/src/wlc')
-rw-r--r--package/broadcom-wl/src/wlc/wlc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/broadcom-wl/src/wlc/wlc.c b/package/broadcom-wl/src/wlc/wlc.c
index 3f3130de87..747b3d5bb9 100644
--- a/package/broadcom-wl/src/wlc/wlc.c
+++ b/package/broadcom-wl/src/wlc/wlc.c
@@ -664,6 +664,13 @@ static const struct wlc_call wlc_calls[] = {
.desc = "Set/Remove WEP keys"
},
{
+ .name = "wepauth",
+ .param = INT,
+ .handler = wlc_ioctl,
+ .data.num = ((WLC_GET_AUTH << 16) | WLC_SET_AUTH),
+ .desc = "WEP authentication type. 0 = OpenSystem, 1 = SharedKey"
+ },
+ {
.name = "wsec_restrict",
.param = INT,
.handler = wlc_bssiovar,