diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-07 21:33:05 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-07 21:33:05 +0000 |
commit | 1ad9516e5dc9896fbaa945f1ea00210b5a46566e (patch) | |
tree | 5eedc1d0ad537733ca93423bdb746bd09212a255 /package/broadcom-wl/src/wlc/wlc.c | |
parent | deb7ff887ecf5669e6eec4917e0a72d8ff6de431 (diff) |
[brcm-2.4] broadcom-wl: implement "hwmode" uci option, supports 11b (B only), 11g (G only), 11gst (G performance) and 11bg (default)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20740 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/src/wlc/wlc.c')
-rw-r--r-- | package/broadcom-wl/src/wlc/wlc.c | 7 |
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)) |