This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Scan in AP mode

Other Parts Discussed in Thread: OMAPL138, WL1271, OMAP-L138

Hi,

             I am working on  platform of OMAPL138,when I  work in hostapd mode, I cannot Execute the command

 iw wlan0 scan. How can I do to support it.  

Thanks!

 

root@arago:/# ./home/root/httpd/wifi_ap_startup.sh
[   87.899025] netconsole: network logging stopped, interface mon.wlan0 unregistered
[   88.339084] wl1271: down
b
[   90.677955] wl1271: firmware booted (Rev 6.3.3.0.79)
[   90.683927] wl1271: Driver version: R4_SP2_02_03
[   90.698711] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Configuration file: /etc/hostapd.conf
[   90.798869] wl1271: down
[   91.492023] wl1271: firmware booted (Rev 6.3.3.0.79)
[   91.497029] wl1271: Driver version: R4_SP2_02_03
Using interface wlan0 with hwaddr 00:c9:82:48:ed:ff and ssid 'OMAP-L138_test_5'

root@arago:/# ps

 1061 root      4884 S    hostapd -B /etc/hostapd.conf
 1063 root      2900 S    udhcpd /etc/udhcpd.conf

root@arago:/# ./iw wlan0 scan
command failed: Operation not supported (-95)

root@arago:/# cat /etc/hostapd.conf
interface=wlan0
driver=nl80211
channel=8
hw_mode=g
ieee80211n=1
preamble=1
dtim_period=2
beacon_int=100
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 90 120 180 240
max_num_sta=5
macaddr_acl=0
auth_algs=3
ieee80211d=0
uapsd_advertisement_enabled=1
wep_rekey_period=0
own_ip_addr=127.0.0.1
wpa=3
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
#wpa_group_rekey=0
#wpa_strict_rekey=0
#wpa_gmk_rekey=0
#wpa_ptk_rekey=0
#ap_table_max_size=255
#ap_table_expiration_time=60
eap_server=1
disassoc_low_ack=1
ap_max_inactivity=4294967295
ssid=OMAP-L138_test_5
wpa_passphrase=123456789

root@arago:/# ./iw --version
iw version 3.11