
Copyright © 2016 Wi2Wi, Inc.
Page 9 of 20
2.5.2 Compile Time Driver Configuration
The W2SW0025 driver package contains the firmware image, the Wi-Fi driver sources and also a release notes
that describes the tested hardware platform, supported features, bug fixes and known limitations of the release.
The package comes as several archives that are packed into each other. Follow the steps mentioned below to
extract the driver package.
# tar xf USB-8801-FC18-X86-14.68.36.p38-C3X14047_B0-app-src.tar
# tar xf USB-8801-FC18-X86-14.68.36.p38-C3X14047_B0-GPL-src.tar
# tar xf USB-8801-FC18-X86-14.68.36.p38-C3X14047_B0-mlan-src.tar
The Wi-Fi driver has several compile-time configuration options that can be set in the driver's Makefile.
Change to the wlan_src subdirectory and ensure that the following are enabled in "Makefile".
# Enable STA mode support
CONFIG_STA_SUPPORT=y
# Enable uAP mode support
CONFIG_UAP_SUPPORT=y
# Manufacturing firmware support
CONFIG_MFG_CMD_SUPPORT=y
2.5.3 Building
Follow the below mentioned steps to compile the driver.
1.
Goto source code directory wlan_src/. (*** copy all contents from three different directories to GPL
directory).
2.
make clean
3.
make build
4.
The driver and utility binaries can be found in ../bin_xxxx directory. The driver code supports Linux
kernel up to 3.4.
2.6 WiFi Functional mode Driver Installation
1.
Copy firmware image "FwImage/usb8766_uapsta.bin" to "/lib/firmware/mrvl/" directory, create the directory if it
doesn't exist.
2.
Plug-In SDIO/USB card in SDIO/USB slot in case of using EVB.
3.
Connect USB power supply to SDIO/USB EVB.
4.
When the module is detected on the SDIO interface, the driver will automatically download the firmware to it,
initialize the hardware, and register the network interfaces. The following is the kernel log after inserting the SDIO
card.
mmc1: new high speed SDIO card at address 0001
vendor=0x02DF device=0x9119 class="0" function=1
rx_work=0 cpu_num=1
Wlan: FW download over, firmwarelen=449964 downloaded 449964
WLAN FW is active
fw_cap_info=0xf03, dev_cap_mask=0xffffffff
5.
Install WLAN driver, by providing the drv_mode, max_sta_bss, max_uap_bss as input module parameters.
The bit settings of drv_mode are,
Bit 0 : STA
Bit 1 : uAP
Bit 2 : WIFIDIRECT
Содержание W2SW0025
Страница 1: ...User Manual Revision 0 2 January 29 2016...