[Meego-kernel] Patch[0/6] Enable WLAN for wl1273
Seibel, Eric
eric.seibel at intel.com
Thu Nov 18 15:32:14 PST 2010
New series of patches to enable WLAN using re-factorization of delayed devices mechanism proposed by Pierre.
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
---------------------------------------------------------------------
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