[Meego-kernel] Patch[0/4] Enable WLAN for wl1273

Seibel, Eric eric.seibel at intel.com
Tue Nov 16 12:43:23 PST 2010


Following is a list of patches to enable WLAN on Medfield platform with TI WL1273 connectivity boards.
All these patches were tested on iCDK with Meego meego-hanset-ia32-mtf-devel-1.1.80.6.20101112.1.sda.bin and applied on kernel mid 2.6.35.3.230.1.src.rpm

Also, because we are using compat-wireless since Meego is based on kernel 2.6.35, we should modified config file to compile wlan and regulator correctly:
CONFIG_WL12XX=y
CONFIG_WL1271=m
CONFIG_WL1271_SPI=m
CONFIG_WL12XX_PLATFORM_DATA=y
and
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y

The firmware wl1271-fw.bin and wl1271-nfs.bin should be included in the rootfs to use wlan.
Connman tests are also welcome to check wlan ;)
IFWI should support new SDIO device for wlan_clk_vmmc sfi table entry (not delivered, HSD open).

The steps to have WLAN functional are:
export KERNEL_RELEASE=$(echo $(uname -r)) 
insmod /lib/modules/$KERNEL_RELEASE/kernel/compat/compat.ko
insmod /lib/modules/$KERNEL_RELEASE/kernel/net/wireless/cfg80211.ko
insmod /lib/modules/$KERNEL_RELEASE/kernel/net/mac80211/mac80211.ko
insmod /lib/modules/$KERNEL_RELEASE/kernel/drivers/net/wireless/wl12xx/wl1271.ko 
insmod /lib/modules/$KERNEL_RELEASE/kernel/drivers/net/wireless/wl12xx/wl1271_sdio.ko
sleep 3
ifconfig wlan0 down
ifconfig wlan0 hw ether $MAC_ADDRESS up 
sleep 3 
killall connman 
/usr/sbin/connmand -W nl80211,wext


Open settings menu and select the wifi acces point to connect before open fennec browser.
Enjoy your wifi browsing

Regards,

Eric Seibel
Ultra Mobility Group - MIPE - WSIV

Tel: +33 1 72 21 04 55
Mob: +33 (0) 622219351

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.



More information about the MeeGo-kernel mailing list