From 917da387ef18f93fe071221bc4f730e45134306e Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 21 Jan 2010 20:52:17 +0000 Subject: [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 --- package/broadcom-wl/src/wlc/wlc.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package/broadcom-wl/src') diff --git a/package/broadcom-wl/src/wlc/wlc.c b/package/broadcom-wl/src/wlc/wlc.c index 3f3130de8..747b3d5bb 100644 --- a/package/broadcom-wl/src/wlc/wlc.c +++ b/package/broadcom-wl/src/wlc/wlc.c @@ -663,6 +663,13 @@ static const struct wlc_call wlc_calls[] = { .handler = wlc_wsec_key, .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, -- cgit v1.2.3