add wlc commands for setting 802.11d and 802.11h mode, disable both by default (helps...
[openwrt/openwrt.git] / package / broadcom-wl / src / wlc / wlc.c
index ea56c1a040855a53a5c6ee6be541e70b492fcc6f..382e83a7b7643cc48f4f2cfa580b1cede2283f91 100644 (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,