diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-21 20:52:17 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-01-21 20:52:17 +0000 |
commit | e8b288b29d4af715e815c9a385b66e59b4e7ed87 (patch) | |
tree | 9888db8b31bcf696b805cc474ec2f7f526f82cae /package/broadcom-wl/src | |
parent | e3412765b14c8f7c8028bde223d8f21b556a5d57 (diff) | |
download | upstream-e8b288b29d4af715e815c9a385b66e59b4e7ed87.tar.gz upstream-e8b288b29d4af715e815c9a385b66e59b4e7ed87.tar.bz2 upstream-e8b288b29d4af715e815c9a385b66e59b4e7ed87.zip |
[package] broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows switching between open and shared authentication
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19256 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/src')
-rw-r--r-- | package/broadcom-wl/src/wlc/wlc.c | 7 |
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, |