aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/src/wlc/wlc.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-07 21:33:05 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-07 21:33:05 +0000
commitd240d8edad7c2fdcf13673ab7b7d10819d82eabc (patch)
tree78da61537f52975a82e0a681682a584e4b63e701 /package/broadcom-wl/src/wlc/wlc.c
parent843ac4a11abe1b2458512d3a7146d41b339d5eb0 (diff)
downloadupstream-d240d8edad7c2fdcf13673ab7b7d10819d82eabc.tar.gz
upstream-d240d8edad7c2fdcf13673ab7b7d10819d82eabc.tar.bz2
upstream-d240d8edad7c2fdcf13673ab7b7d10819d82eabc.zip
broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
SVN-Revision: 20740
Diffstat (limited to 'package/broadcom-wl/src/wlc/wlc.c')
-rw-r--r--package/broadcom-wl/src/wlc/wlc.c7
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 747b3d5bb9..5a512349f6 100644
--- a/package/broadcom-wl/src/wlc/wlc.c
+++ b/package/broadcom-wl/src/wlc/wlc.c
@@ -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))