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.

Linux: No results for "iw wlan0 scan"

Other Parts Discussed in Thread: WL1271

Tool/software: Linux

Hello all,

I am interfacing Wl1271 with imx6quad processor and ODIN-W160 chip for wifi.

I have compiled my driver with Linux-14.04

When i load the drivers and make interface up once in my board. the firmware is loading.

I am getting Wlan0 interface also, but unable to communicate with Wlan0.

The firmware files for Wireless LAN and wl1273-ODIN-W160.bin and it is renamed as wl127x-fw-5-sr.bin and installed at "/lib/firmware/ti-connectivity/".



root@iWave-G15M:~# rfkill unblock all

root@iWave-G15M:~# iwconfig

wlan0 IEEE 802.11abgn ESSID:off/any

Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm

Retry short limit:7 RTS thr:off Fragment thr:off

Encryption key:off

Power Management:on

sit0 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.

root@iWave-G15M:~# ifconfig wlan0 up

wlan-en-regulator: ******************** inside regulator_enable*********************

wlan-en-regulator: ************************** Inside _regulator_enable ***************************

wlan-en-regulator: ******************regulator_enable's gpio value is= d81bda40****************

wlan-en-regulator: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!return value is=0!!!!!!!!!!!!!!!!!!!!!!!!!!

wlan-en-regulator: ************************* INside _regulator_do_enable function ***************************

wlan-en-regulator: ******************regulator_get_enable_time***********************

wlan-en-regulator: ************************* INside _regulator_do_enable function AND Return value is=70000 ***************************

wlan-en-regulator: *************** INside _regulator_do_enable function AND Return value is greater than and equal to *****************

wlan-en-regulator: ****************** gpio value is= d81bda40****************

wlan-en-regulator: $$$$$$$$$$$$$$$$$$$$$$ enable condition and gpio=204 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

wlan-en-regulator: $$$$$$$$$$$$$$$$$$$$$$ enable count condition and gpio=204 BEFORE $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

wlan-en-regulator: $$$$$$$$$$$$$$$$$$$$$$ enable count condition and gpio=204 AFTER $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

wlan-en-regulator: $$$$$$$$$$$$$$$$$$$$$$ gpio get value=0 $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

wlcore: firmware booted (Rev 6.3.10.100.135)

IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

root@iWave-G15M:~# ifconfig

eth0 Link encap:Ethernet HWaddr 00:01:02:03:04:05

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback

inet addr:127.0.0.1 Mask:255.0.0.0

inet6 addr: ::1/128 Scope:Host

UP LOOPBACK RUNNING MTU:65536 Metric:1

RX packets:2 errors:0 dropped:0 overruns:0 frame:0

TX packets:2 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:100 (100.0 B) TX bytes:100 (100.0 B)

wlan0 Link encap:Ethernet HWaddr D4:CA:6E:70:9E:F5

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

root@iWave-G15M:~# iw wlan0 scan

root@iWave-G15M:~#



When i give “iw wlan0 scan” , am not getting any results. So plaese help me to solve this issue as soon as possible.