Search Linux Wireless

Re: [WIP PATCH] sdio support for wl12xx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bob Copeland <me@xxxxxxxxxxxxxxx> writes:

> On Mon, May 18, 2009 at 02:09:57PM -0400, Bob Copeland wrote:
>> yet for applying.  However, it does load (with the proper setup code)
>> on my Android dev phone, chip probe works, and probably the rest too,
>> though I didn't get that far.  
>
> So much for hubris!

Don't feel down about this, this is always difficult and you are making
good progress already.

> iwconfig shows:
>
> wlan0     IEEE 802.11bg  ESSID:""  
>           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
>           Encryption key:off
>           Power Management:off
>           Link Quality:0  Signal level:0  Noise level:0
>           Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>           Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
> So at least mac80211 is up and running.

Very nice. I assume you can read the chip id and that's good, it means
that SDIO bus is working correctly.

> I'm missing the NVS tables so 'ifconfig wlan0 up' bails on fw load.

Current wl12xx code assumes that user space provides the NVS file. I'm
guessing that Android has NVS file stored in chip's EEPROM. Check the
!pWhalBus->pEEPROMBuf code path from TI's driver how to implement it.
Should be relatively easy:

http://android.git.kernel.org/?p=platform/system/wlan/ti.git;a=blob;f=sta_dk_4_0_4_32/common/src/BusAccess/Shm_Common/shmFwCtrl.c;h=946eb5ab3e82e44087c8387063369318ecfbaa34;hb=HEAD#l286

Please let me know if you have any questions. I try to get hold of
pandora, it has wl1251 using SDIO, so that I could help you with
testing.

http://www.openpandora.org/

-- 
Kalle Valo
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux