diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-12-20 05:07:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-12-20 05:07:11 +0000 |
commit | 11ebfb95176c6d55cc39903c323289ff093e9176 (patch) | |
tree | 888c4cc55798e5393056af9336b54f2ff6e2e4da /package | |
parent | f512cb524257a4a6cfc9421ce5894d75738d72b0 (diff) | |
download | upstream-11ebfb95176c6d55cc39903c323289ff093e9176.tar.gz upstream-11ebfb95176c6d55cc39903c323289ff093e9176.tar.bz2 upstream-11ebfb95176c6d55cc39903c323289ff093e9176.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)
SVN-Revision: 5874
Diffstat (limited to 'package')
-rw-r--r-- | package/broadcom-wl/files/lib/wifi/broadcom.sh | 2 | ||||
-rw-r--r-- | package/broadcom-wl/src/wlc/wlc.c | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/package/broadcom-wl/files/lib/wifi/broadcom.sh b/package/broadcom-wl/files/lib/wifi/broadcom.sh index d423288d0c..71f81a7c65 100644 --- a/package/broadcom-wl/files/lib/wifi/broadcom.sh +++ b/package/broadcom-wl/files/lib/wifi/broadcom.sh @@ -211,6 +211,8 @@ mssid $mssid apsta $apsta infra $infra ${wet:+wet 1} +802.11d 0 +802.11h 0 radio ${radio:-1} macfilter 0 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, |