[brcm-2.4] broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g...
[openwrt/svn-archive/archive.git] / package / broadcom-wl / src / wlc / wlc.c
index 747b3d5bb978371df2c3473bafd428f9a153f753..5a512349f6abe8679c04a2f2dbb7ff904b3d2ad7 100644 (file)
@@ -919,6 +919,13 @@ static const struct wlc_call wlc_calls[] = {
                .handler = wlc_maclist,
                .desc = "MACs of associated stations"
        },
+       {
+               .name = "gmode",
+               .param = INT,
+               .data.num = ((WLC_GET_GMODE << 16) | WLC_SET_GMODE),
+               .handler = wlc_ioctl,
+               .desc = "G Mode"
+       },
 };
 #define wlc_calls_size (sizeof(wlc_calls) / sizeof(struct wlc_call))