aboutsummaryrefslogtreecommitdiffstats
path: root/package/broadcom-wl/src/wlc/wlc.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-20 05:07:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-20 05:07:11 +0000
commit7996262da2db4f051e652d045c3cc9034616a6da (patch)
tree27d0a9a2d1f95776df606d7f4c72afc4ee20b95e /package/broadcom-wl/src/wlc/wlc.c
parenta58301c9840cdf98968f6ad0aa59afa9958e7826 (diff)
downloadupstream-7996262da2db4f051e652d045c3cc9034616a6da.tar.gz
upstream-7996262da2db4f051e652d045c3cc9034616a6da.tar.bz2
upstream-7996262da2db4f051e652d045c3cc9034616a6da.zip
add wlc commands for setting 802.11d and 802.11h mode, disable both by default (helps with ipw2200 assoc problems, see #1075 for more information)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5874 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/broadcom-wl/src/wlc/wlc.c')
-rw-r--r--package/broadcom-wl/src/wlc/wlc.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/package/broadcom-wl/src/wlc/wlc.c b/package/broadcom-wl/src/wlc/wlc.c
index ea56c1a040..382e83a7b7 100644
--- a/package/broadcom-wl/src/wlc/wlc.c
+++ b/package/broadcom-wl/src/wlc/wlc.c
@@ -900,6 +900,20 @@ static const struct wlc_call wlc_calls[] = {
.desc = "WME ACK disable request",
},
{
+ .name = "802.11d",
+ .param = INT,
+ .handler = wlc_ioctl,
+ .data.num = ((WLC_GET_REGULATORY << 16) | WLC_SET_REGULATORY),
+ .desc = "Enable/disable 802.11d regulatory management",
+ },
+ {
+ .name = "802.11h",
+ .param = INT,
+ .handler = wlc_ioctl,
+ .data.num = ((WLC_GET_SPECT_MANAGMENT << 16) | WLC_SET_SPECT_MANAGMENT),
+ .desc = "Enable/disable 802.11h spectrum management",
+ },
+ {
.name = "fragthresh",
.param = INT,
.handler = wlc_iovar,