From janusz.dziedzic at tieto.com  Tue Apr  1 02:30:28 2014
From: janusz.dziedzic at tieto.com (Janusz Dziedzic)
Date: Tue, 1 Apr 2014 08:30:28 +0200
Subject: [wireless-regdb] [PATCH 2/2] crda: add AUTO-BW rule flag support
In-Reply-To: <1393313163-9568-2-git-send-email-janusz.dziedzic@tieto.com>
References: <1393313163-9568-1-git-send-email-janusz.dziedzic@tieto.com>
 <1393313163-9568-2-git-send-email-janusz.dziedzic@tieto.com>
Message-ID: <CALhHN=o-pByTgyR1=h=e=b4sj4xxk_=b5LBqJxKBVjL60cEr8Q@mail.gmail.com>

On 25 February 2014 08:26, Janusz Dziedzic <janusz.dziedzic at tieto.com> wrote:
> Signed-off-by: Janusz Dziedzic <janusz.dziedzic at tieto.com>
> ---
>  regdb.h  |    1 +
>  reglib.c |    4 ++++
>  2 files changed, 5 insertions(+)
>
> diff --git a/regdb.h b/regdb.h
> index 20f29e9..3ffb781 100644
> --- a/regdb.h
> +++ b/regdb.h
> @@ -81,6 +81,7 @@ enum reg_rule_flags {
>                                          * Point links */
>         RRF_NO_IR               = 1<<7, /* do not initiate radiation */
>         __RRF_NO_IBSS           = 1<<8, /* old no-IBSS rule, maps to no-ir */
> +       RRF_AUTO_BW             = 1<<11, /* Auto BW calculations */
>  };
>
>  #define RRF_NO_IR_ALL  (RRF_NO_IR | __RRF_NO_IBSS)
> diff --git a/reglib.c b/reglib.c
> index 1e57634..3deca4a 100644
> --- a/reglib.c
> +++ b/reglib.c
> @@ -750,6 +750,8 @@ static void print_reg_rule(const struct ieee80211_reg_rule *rule)
>                 printf(", PTMP-ONLY");
>         if (rule->flags & RRF_NO_IR_ALL)
>                 printf(", NO-IR");
> +       if (rule->flags & RRF_AUTO_BW)
> +               printf(", AUTO-BW");
>
>         printf("\n");
>  }
> @@ -793,6 +795,8 @@ static uint32_t reglib_parse_rule_flag(char *flag_s)
>                 return RRF_PTMP_ONLY;
>         if (strncmp(flag_s, "NO-IR", 5) == 0)
>                 return RRF_NO_IR;
> +       if (strncmp(flag_s, "AUTO-BW", 7) == 0)
> +               return RRF_AUTO_BW;
>
>         return 0;
>  }
> --
> 1.7.9.5
>

ping


From daiweili at suitabletech.com  Mon Apr 28 15:21:50 2014
From: daiweili at suitabletech.com (Daiwei Li)
Date: Mon, 28 Apr 2014 15:21:50 -0700
Subject: [wireless-regdb] KR Country Code Allowed Frequencies
Message-ID: <CALf=PEb+YoLZBdrqocyu6DpTOLJi-8C1nTu4GJZmOm8-x+3iag@mail.gmail.com>

Hello,

We've found that our Juniper access points (WLA532-WW) allow the
setting of channel 165 (5825 MHz) for country code KR. However, the
regulatory database on our Linux machines does not seem to contain
that frequency for country code KR:

country KR:
        (2402.000 - 2482.000 @ 20.000), (N/A, 20.00)
        (2402.000 - 2482.000 @ 40.000), (N/A, 20.00)
        (5170.000 - 5250.000 @ 80.000), (N/A, 20.00)
        (5250.000 - 5330.000 @ 80.000), (N/A, 20.00), DFS
        (5490.000 - 5710.000 @ 80.000), (N/A, 30.00), DFS
        (5735.000 - 5815.000 @ 80.000), (N/A, 30.00)

I've checked the latest database from
http://wireless.kernel.org/download/wireless-regdb/regulatory.bins/
and it appears to be the same.

We've also found some documentation of Cisco access points ([1], [2])
that state that 5825 MHz is allowed in Korea.

Is it possible that the regulatory database is wrong in this case? If
not, is there some documentation to the contrary?

Best,
Daiwei

[1]: http://www.intermec.com/public-files/product-profiles/en/Cisco1230AGAP_spec_web.pdf
[2]: http://www.cisco.com/c/en/us/td/docs/wireless/wcs/3-2/configuration/guide/wcscfg32/wcscod.html


