hostap error

Mykyta Iziumtsev mykyta.iziumtsev
Thu Feb 14 02:34:22 PST 2013


Hi,

Use "iw reg set JP" instead.
Or you can set it in wpa_supplicant.conf or via wpa_cli.
Don't know about hostapd through.

Crda utility is not designed to work in the way you're trying to use it.
Although this is exactly how it is invoked from userspace -- there
first should be
request from kernel to supply regulatory information.

This works like that:
iw (or other entity, like wpa_supplicant) sends netlink message to
kernel with request to set country.
Kernel sends udev event up to userspace with request to provide
regulatory information for given country.
Then, crda utility is invoked by udev scripts with country specified
in environment.

/Mykyta

On Thu, Feb 14, 2013 at 11:23 AM, RAVIKANT PATEL
<ravikant_patel182000 at yahoo.com> wrote:
>
> dear sir/madem
>
> export  COUNTRY= "JP"
> crda
>
> then got the error:
>                             failed to set regulatory domain:-22
> why this error reply please
>
> your sincearly
>         ravikant patel
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the Hostap mailing list