Wi2Wi W2SW0025 Скачать руководство пользователя страница 9

 

 

 

 

 

 
 

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...

Страница 2: ...as strictly confidential and is not to be disclosed Reproduced or used except as authorized in writing by Wi2Wi Inc IC RSS Statement English This device complies with Industry Canada license exempt R...

Страница 3: ...nsult the dealer or an experienced radio TV technician for help The FCC requires the user to be notified that any changes or modifications made to this device that are not expressly approved by Wi2Wi...

Страница 4: ...WiFi Usage Examples 11 3 1 WiFi Station Mode 11 3 2 WiFi Access Point Mode 11 3 3 WiFi Direct Mode 12 3 4 Data Transfer 12 3 5 Driver Proc and Debug commands 12 3 6 Driver Configuration commands 12 4...

Страница 5: ...pyright 2016 Wi2Wi Inc Page 5 of 20 List of Figures No table of figures entries found List of Tables No table of figures entries found Revision History Revision Revision Date Originator Changes 0 1 0...

Страница 6: ...is completely tested for functionality and performance along with coexistence with other wireless standards W2SW0025 has been fully optimized for throughput and receive sensitivity using careful desig...

Страница 7: ...e 3 Administrator rights on the machine 2 2 Setup This section details the system setup to evaluate and use the driver Insert the picture 2 3 Release Package Contents The W2SW0025 Release package is d...

Страница 8: ...or more recent kernels might require some patches due to changed kernel APIs W2SW0025 depend on the MMC SDIO stack of the Linux kernel so it must be enabled on the target Linux system the following mu...

Страница 9: ...ntioned 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 binarie...

Страница 10: ...e created using ifconfig command mlan0 Wi Fi station mode uap0 Wi Fi micro access point mode wfd0 Wi Fi Direct To switch mode between STA only uAP only and uAPSTA in run time echo drv_mode 1 proc mwla...

Страница 11: ...aggr 3 WiFi Usage Examples 3 1 WiFi Station Mode Use the following commands to check the system in WiFi Station Mode mlanutl mlan0 countrycode IN India mlanutl mlan0 bandcfg 11 Enable infra mode with...

Страница 12: ...e t argument specifies the test duration time in seconds default is 10 secs The i argument indicates the interval in seconds between periodic bandwidth reports 3 5 Driver Proc and Debug commands Drive...

Страница 13: ...he MMC SD SDIO card support feature and hit Enter 5 In the new menu press M to modularize the following options a MMC block device driver b Secure Digital Host Controller Interface support c SDHCI sup...

Страница 14: ...X6 platform Software Requirements o Toolchain BSP and Ubuntu Linux OS package for i MX6 Kernel version 3 0 35 o W2SW0025 Release Package 5 1 2 Hardware Setup 1 Connect the i MX6 board to the Linux PC...

Страница 15: ...erface such as PC monitor etc o Cables HDMI to VGA cable USB to micro USB cable SDIO to micro SD cable o 16GB Micro SD card o SD card reader o W2SW0025 SDIO EVB o Power supply Supply to VGA Monitor Un...

Страница 16: ...rd solo arm 2009q1 203 wget https sourcery mentor com GNUToolchain package4571 public arm none linux gnueabi arm 2009q1 203 arm none linux gnueabi i686 pc linux gnu tar bz2 tar xvjf arm 2009q1 203 arm...

Страница 17: ...lete add lines as shown below static void wand_init_sd void int i IMX6_SETUP_PAD EIM_DA9__GPIO_3_9 Add mmc devices in reverse order so mmc0 always is boot sd SD3 for i 2 i 0 i imx6q_add_sdhci_usdhc_im...

Страница 18: ...required for flashing process 2 Format the MicroSD card and Plug the MicroSD card to hostPC 3 The IMX6 ROM will look for a bootloader at byte offset 1024 in the SD card If using the recommended SPL b...

Страница 19: ...at the created partition by entering following command mkfs ext3 dev sdX1 11 Copying root file system to partition on micro SD card 1 Mount the micro SD card to some mount point mount dev sdX1 mnt 2 E...

Страница 20: ...6 References 6 1 Specifications IEEE 802 11 b g n Wireless LAN Specification SDIO HS 4 bit Specification 6 2 Trademarks Patents and Licenses Trademarks Wi Fi Licenses 88W88801 Software from Marvell 6...

Отзывы: