From 7070b2938040d3401e54c48ea81ee274dcfbabba Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 20 Dec 2006 05:07:11 +0000 Subject: 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 --- package/broadcom-wl/src/wlc/wlc.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'package/broadcom-wl/src') diff --git a/package/broadcom-wl/src/wlc/wlc.c b/package/broadcom-wl/src/wlc/wlc.c index ea56c1a04..382e83a7b 100644 --- a/package/broadcom-wl/src/wlc/wlc.c +++ b/package/broadcom-wl/src/wlc/wlc.c @@ -899,6 +899,20 @@ static const struct wlc_call wlc_calls[] = { .data.str = "wme_noack", .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, -- cgit v1.2.3