Fw: hostapd related error
Arend van Spriel
arend
Fri Feb 15 03:37:29 PST 2013
On 02/15/2013 12:08 PM, RAVIKANT PATEL wrote:
>
>
>> channel [11] (12) is disabled for use in AP mode, flags: 0x3
>
>> wlan0: IEEE
>> 802.11 Configured channel (12) not found from the channel list of current mode (1) IEEE 802.11g
>> wlan0: IEEE 802.11 Hardware does not support configured channel
>>
>>> A: what hardware/driver are you using?
>>
>> Could not select hw_mode and channel. (-4)
>> wlan0: Unable to setup interface.
>> Flushing old station entries
>> Deauthenticate all stations
>> nl80211: Remove interface ifindex=16
>> netlink: Operstate: linkmode=0, operstate=6
>> nl80211: Set mode ifindex 7 iftype 2 (STATION)
>>
>>
>> in our hostapd.config file countrycode -JP & chennel-12 is set
>> in iw reg get command also shown country jp & related channel
>> then why this error come
>>
>> please give me a reply soon
>
> As said by Jouni and others. Channel 12 is a passive channel, which
> basically does not allow transmit. Only devices, ie. access-point
> equipment, that have regulatory clearance can transmit on such a
> channel. Setting the country code will not do the trick as the device
> driver can (and ath9k probably will) specify there own custom refulatory
> domain. Do you see following line in the kernel log:
>
> cfg80211: Ignoring regulatory request Set by core since the driver uses
> its own custom regulatory domain
>
> Regards,
> Arend
>
>
>
> ok i understand what you want to say but can i change my channel no 12 & 13 to enabled by change in driver code or any way.
> because in japan & gerneny this 12 & 13 channel is allowed then how can i access them?
>
> please give your suggetion.
>
There is no way unless you are willing to break the laws and
regulations. Equipment that is allowed on those channels in the
countries you mention will need to comply to strict requirements. As
this can not be guaranteed with open-source code (can be used in a
variety of enviroments and platforms) the drivers and wireless subsystem
in general tends to stay on the safe side. So am I so: there is no way.
Gr. AvS
More information about the Hostap
mailing list