broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows switching between open and shared authentication

SVN-Revision: 19256
This commit is contained in:
Jo-Philipp Wich
2010-01-21 20:52:17 +00:00
parent edfa82ab60
commit f3c6c80cb8
2 changed files with 12 additions and 1 deletions

View File

@@ -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,