hostapd related error
Arend van Spriel
arend
Fri Feb 15 01:58:42 PST 2013
On 02/15/2013 05:49 AM, RAVIKANT PATEL wrote:
> Message: 1
> Date: Thu, 14 Feb 2013 13:06:25 +0000
> From: "Arend Van Spriel" <arend at broadcom.com>
> Subject: RE: hostapd related error
> To: "RAVIKANT PATEL" <ravikant_patel182000 at yahoo.com>,
> "hostap at lists.shmoo.com" <hostap at lists.shmoo.com>
> Message-ID:
> <A47087626F2942499CF47E79803E771E04306893 at SJEXCHMB13.corp.ad.broadcom.com>
>
> Content-Type: text/plain; charset=us-ascii
>
> 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
More information about the Hostap
mailing list