1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:11:53 +02:00

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
This commit is contained in:
nbd 2006-12-20 05:07:11 +00:00
parent 11fb48ad8c
commit 7070b29380
2 changed files with 16 additions and 0 deletions

View File

@ -211,6 +211,8 @@ mssid $mssid
apsta $apsta
infra $infra
${wet:+wet 1}
802.11d 0
802.11h 0
radio ${radio:-1}
macfilter 0

View File

@ -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,