wl12xx over spi with no scan results (was: Re: [PATCH 20/20] wlcore: Always pass DMA-able buffers to mmc functions)
From: Luciano Coelho <hidden>
Date: 2012-12-10 17:50:39
From: Luciano Coelho <hidden>
Date: 2012-12-10 17:50:39
Hi Alberto, On Mon, 2012-12-10 at 17:24 +0000, Alberto Garau wrote:
I’m trying to make working the WL1271 TI Murata chip with our custom board. The SPI driver seems to be running but I cannot scan from our Wifi Network. After booting the board I’m doing: • insmod /media/red/root/wl1271/wl1271.ko • insmod /media/red/root/wl1271/wl1271_spi.ko • iwconfig wlan0 mode managed • iwconfig wlan0 essid xxxxxxx • ifconfig wlan0 hw ether 00:80:E1:12:26:17 • ifconfig wlan0 192.168.40.100 netmask 255.255.255.0 up Then I botain: chip_id read from memory: 04030111 wl1271_fetch_firmware - fetching firmware wl1271-fw.bin wl1271_fetch_nvs - fetching firmware wl1271-nvs.bin wl1271: firmware booted (Rev 6.1.0.50.350) but unfortunately the when I run “iwlist wlan0 scan” I obtain “wlan0 No scan results” Could you please help us in fixing this issue ?
This could be many different things. The first thing that comes to my mind is that the scan results are the first thing that comes as a real interrupt (before this all the interrupts are polled). So are you sure the interrupt line is working properly? -- Luca.