[package] broadcom-wl: implement wepauth in wlc and support it in broadcom.sh, allows...
[openwrt/svn-archive/archive.git] / package / broadcom-wl / src / wlc / wlc.c
index 3f3130de87033d820601ca8beb0f3c8ced061ddd..747b3d5bb978371df2c3473bafd428f9a153f753 100644 (file)
@@ -663,6 +663,13 @@ static const struct wlc_call wlc_calls[] = {
                .handler = wlc_wsec_key,
                .desc = "Set/Remove WEP keys"
        },
                .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,
        {
                .name = "wsec_restrict",
                .param = INT,