AzureWave Technologies AM691NF User Manual

- 1 -
AW-AM691NF
IEEE 82.11 a/b/g/n Wireless LAN, Bluetooth,
FM Combo Module
Demo Board User Guide
Document
release
Version 0.1 2013/07/26 Initial Version N.C. Chen Chihhao Liao
IEEE 802.11 a/b/g/n Wireless LAN and Bluetooth Combo LGA Module
- 2 -
Contents
1. Activate AW-AM634NF
1-1. What you need
1-2. Power-Up AW-AM634NF
1-3. Test Software Version
2. WLAN Basic Test
2-1. Driver Installation
2-2. Throughput Test
2-3. RF Tx/Rx Performance Test
3. Bluetooth Basic Test
3-1. Download Mini-driver
3-2. Throughput Test
3-3. RF Performance Test
4. Known Limitation/Issues
5. Demo board schematic
- 3 -
1. Activate AW-AM634NF
1-1. what you need
Hardware:
AW-AM691NF Demo Board V.01
SDIO to PCI Host Controller
USB-B type to A type Cable
Software (Windows XP):
Ubuntu 12.04 LTS
WLAN: firmware, nvram file, dhd.ko, wl.exe
Bluetooth: Bluetool V1.1.9.3, HCD HCI download file, ActivePerl 5.8 and driver for Prolific USB to
UART Bridge.
FIG. 1.1
- 4 -
1-2. Power UP AW-AM634NF
1-3. Test Software Version
Test Station Item Version Remarks
WLAN firmware sdio-ag-mfgtest-seqcmds-autoabn.bin 6.10.185
nvram AH691.NVRAM_20130605.txt
BT HCD File BCM4324B3_002.004.006.0076.0081_RC.hcd
BCM4324B3_002.004.006.0076.0082_RC.hcd
SDIO
FIG. 1.2
J4: VBAT In
RF ANT port
B type USB Connector
UART to USB Bridge
VDDIO power select
- 5 -
2. WLAN Basic Test
J5/J1 setting as below
Must connect USB to PC
2-1. Driver Installation
COMPONENTS
dhd.ko
dhd.ko is an utility application that one can use to control the software running in the dongle host for test and
debug purposes.
wl.exe
wl is an utility application that one can use to control the software running in the SDIO dongle, e.g. initiate an
association and modify WLAN parameters.
- 6 -
DRIVER INSTALLATION (IN LINUX)
•First prepare the Broadcom’s Linux package, and put it in the “home” folder.
•Open the Terminal, enter the command: sudo su and password.
•Enter cd /home/username/5.90.195.26.3/open-src/src/dhd/linux
•Enter make dhd-cdc-sdmmc-gpl to generate the dhd.ko file in
/home/username/5.90.195.26.3/open-src/src/dhd/linux/dhd-cdc-sdmmc-gpl-2.6.32-21-generic
•Enter
Insmod /(path of dhd.ko file)
firmware_path=/(path of firmware file) nvram_path=/(path of nvram file) to enable.
•Enter rmmod dhd to disable
2-2. Throughput Test
CONNECTING TO WIRELESS NETWORKS
The examples in the following sections illustrate how to connect to both infrastructure and ad hoc networks,
including Infrastructure networks that use no security, WEP security, and WPA/PSK and WPS2/PSK security.
SCANNING FOR WIRELESS NETWORKS
To force the dongle to scan
Run wl scan.
To force the dongle to return the results of the scan
Run wl scanresults.
Example results returned when an AP is found:
SSID: “Eval4325”
Mode: Managed: RSSI: -48 dBm noise: -105 dBm Channel: 1
BSSID: 00:10:18:90:2E:C1 Capability: ESS ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) 18 24 36 54 6 9 12 48 ]
Example results returned when an ad hoc network is found:
SSID: “ADHOC#1”
Mode: Ad Hoc RSSI: -41 dBm noise: -105 dBm Channel: 1
BSSID: B2:51:28:6B:3C:A1 Capability: IBSS
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]
CONNECTING TO AN INFRASTRUCTURE NETWORK WITH NO SECURITY (AP CONNECTION)
To connect to the network through an AP with SSID = Eval4325
Run wl join Eval4325.
- 7 -
CONNECTING TO AN INFRASTRUCTURE NETWORK WITH WEP SECURITY
To connect to the network that uses 12345 as the network key
Run wl join Eval4325 key 12345.
CONNECTING TO AN INFRASTRUCTURE NETWORK WITH WPA-PSK/WPA2-PSK SECURITY
To specify TKIP or AES as the data encryption method
Run wl wsec 3/7.
To enable the supplicant
Run wl sup_wpa 1.
To specify the PSK passphrase (network key) to use
Run wl set_psk $passphrase.
To connect to a network that uses WPA-PSK security
Run wl join Eval4325 imode bss amode wpapsk.
To connect to a network that uses WPA2-PSK security
Run wl join Eval4325 imode bss amode wpa2psk.
CONNECTING TO AN AD HOC NETWORK USING CHANNEL 1
To set the channel to channel 1
Run wl channel 1.
To connect to the ad hoc network with SSID = 4325-ADHOC
Run wl join 4325-ADHOC imode ibss.
MANAGING POWER CONSUMPTION
To disable Power Save (PS) mode (default)
Run wl PM 0.
To enable legacy IEEE 802.11 Power Save (PS) mode
Run wl PM 1.
To enable Fast IEEE 802.11 Power Save mode
Run wl PM 2.
Note:
The STA automatically transitions to Legacy PS mode when no data is being sent or received.
The STA automatically disables PS mode when data is being sent or received.
- 8 -
MEASURING WLAN THROUGHPUT
The throughput measurement shows the performance of the TCP/IP layer over the wireless link. To achieve
the best results,
run the measurement test in a clean environment with as little interference as possible . The test can be run
with the adapter
connected to either an Infrastructure network (see Fig. 2.2) or an ad hoc network (see Fig. 2.3). An AP that is
known to be
in good working order should be used for the infrastructure mode test.
MEASURING THROUGHPUT USING NETIQ CHARIOT
Test Procedure
1. Bring up the AW-AM691NF demo boar with the IP address set as 192.168.1.110.
2. Connect the reference computer with Chariot Console, which is assigned an IP address of 192.168.1.100,
to the LAN
port of the AP
3. Verify that communication exists between the reference computer and the AW-AM691NF demo board by
pinging 192.168.1.100
from the AW-AM691NF host console.
HOST
COMPUTER.
AW-AM691NF
Reference
Computer
Chariot
HOST
COMPUTER.
AW-AM691NF
A
LAN
Reference
Computer
Chariot
FIG. 2.2
FIG. 2.3
- 9 -
4. Set up Chariot.
a. On the host computer, activate EndPoint:
b. Using Chariot Console on the reference computer, create two pair groups (192.168.1.100 and
192.168.1.110) using the Chariot Throughput.scr script. Run the throughput test for a specified period of time
and observe the results.
2-3. RF Tx/Rx Performance Test
CREATING A Tx TEST
1. From the Start menu, select Run.
2. Type cmd, then click OK.
3. Navigate to the directory that contains wl.exe
4. Enter the wl ver command to check the current WL driver version.
5. Run the following command set
(delay at least 700ms between each command):
11b mode:
./wl ver
./wl mpc 0
./wl country ALL
./wl up
./wl phy_forcecal 1
./wl interference 0
./wl phy_watchdog 0
./wl scansuppress 1
./wl phy_oclscdenable 0
./wl isup
./wl down
./wl band b
./wl phymsglevel +cal
./wl interference 0
./wl interference_override 0
./wl mimo_preamble
./wl mimo_bw_cap 0
./wl mimo_txbw -1
./wl chanspec -c
7 -b 2 -w 20 Åset Tx channel
US
- 10 -
./wl up
./wl phy_forcecal 1
./wl isup
./wl bi 10000
./wl join dummy imode adhoc
./wl assoc
./wl glacial_timer 30000
./wl phy_watchdog 0
./wl phy_percal 0
./wl phy_forcecal 1
./wl disassoc
./wl mimo_preamble
./wl chanspec
./wl sgi_tx 0
./wl nrate -r
11 Åset Tx data rate
./wl nrate
./wl sgi_tx
./wl down
./wl up
./wl txant 0 Åset Tx path 0: port 0, 1:port 1,
./wl antdiv 0 Åset Tx path 0: port 0, 1:port 1,
./wl txpwr1 -o -d 15 Åset Tx power
./wl phy_forcecal 1
./wl pkteng_start 10:20:30:40:50:60 tx 100 1500 0
This will send continuous Tx Packets with 100 us packet interval,1500 byte packet length. Data rate
=11Mbps, Channel=7 and output power =15dBm.
11g mode:
./wl ver
./wl mpc 0
./wl country ALL
./wl up
./wl phy_forcecal 1
./wl interference 0
US
- 11 -
./wl phy_watchdog 0
./wl scansuppress 1
./wl phy_oclscdenable 0
./wl isup
./wl down
./wl band b
./wl phymsglevel +cal
./wl interference 0
./wl interference_override 0
./wl mimo_preamble
./wl mimo_bw_cap 0
./wl mimo_txbw -1
./wl chanspec -c
7 -b 2 -w 20 Åset Tx channel
./wl up
./wl phy_forcecal 1
./wl isup
./wl bi 10000
./wl join dummy imode adhoc
./wl assoc
./wl glacial_timer 30000
./wl phy_watchdog 0
./wl phy_percal 0
./wl phy_forcecal 1
./wl disassoc
./wl mimo_preamble
./wl chanspec
./wl sgi_tx 0
./wl nrate -r
54 Åset Tx data rate
./wl nrate
./wl sgi_tx
./wl down
./wl up
./wl txant 0 Åset Tx path 0: port 0, 1:port 1,
./wl antdiv 0 Åset Tx path 0: port 0, 1:port 1,
./wl txpwr1 -o -d 14 Åset Tx power
./wl phy_forcecal 1
- 12 -
./wl pkteng_start 10:20:30:40:50:60 tx 100 1500 0
This will send continuous Tx Packets with 100 us packet interval,1500 byte packet length. Data rate
=54Mbps ,Channel=7 and output power =14dBm.
2.4G 11n HT20 SISO mode:
./wl ver
./wl mpc 0
./wl country ALL
./wl up
./wl phy_forcecal 1
./wl interference 0
./wl phy_watchdog 0
./wl scansuppress 1
./wl phy_oclscdenable 0
./wl isup
./wl down
./wl band b
./wl phymsglevel +cal
./wl interference 0
./wl interference_override 0
./wl mimo_preamble 0
./wl mimo_bw_cap 0
./wl mimo_txbw -1
./wl chanspec -c
7 -b 2 -w 20 Åset Tx channel
./wl up
./wl phy_forcecal 1
./wl isup
./wl bi 10000
./wl join dummy imode adhoc
./wl assoc
./wl glacial_timer 30000
./wl phy_watchdog 0
./wl phy_percal 0
./wl phy_forcecal 1
US
- 13 -
./wl disassoc
./wl mimo_preamble
./wl chanspec
./wl sgi_tx 0
./wl nrate -m
7 -s 0 Åset Tx data rate
./wl nrate
./wl sgi_tx
./wl down
./wl up
./wl txant 0 Åset Tx path 0: port 0, 1:port 1, 3: dual port
./wl antdiv 0 Åset Tx path 0: port 0, 1:port 1, 3: dual port
./wl txpwr1 -o -d 13 Åset Tx power
./wl phy_forcecal 1
./wl pkteng_start 10:20:30:40:50:60 tx 100 1500 0
This will send continuous Tx Packets with 100 us packet interval,1500 byte packet length. Data rate =MCS7,
Bandwidth=20 MHz, Channel=7 and output power =13dBm.
2.4G 11n HT20 MIMO mode:
./wl ver
./wl mpc 0
./wl country ALL
./wl up
./wl phy_forcecal 1
./wl interference 0
./wl phy_watchdog 0
./wl scansuppress 1
./wl phy_oclscdenable 0
./wl isup
./wl down
./wl band b
./wl phymsglevel +cal
./wl interference 0
./wl interference_override 0
./wl mimo_preamble 0
./wl mimo_bw_cap 0
US
- 14 -
./wl mimo_txbw -1
./wl chanspec -c 13 -b 2 -w 20
./wl up
./wl phy_forcecal 1
./wl isup
./wl bi 10000
./wl join dummy imode adhoc
./wl assoc
./wl glacial_timer 30000
./wl phy_watchdog 0
./wl phy_percal 0
./wl phy_forcecal 1
./wl disassoc
./wl mimo_preamble
./wl chanspec
./wl sgi_tx 0
./wl nrate -m
15 -s 3 Åset Tx data rate
./wl nrate
./wl sgi_tx
./wl down
./wl up
./wl txant 3 Åset Tx path 0: port 0, 1:port 1, 3: dual port
./wl antdiv 3 Åset Tx path 0: port 0, 1:port 1, 3: dual port
./wl txpwr1 -o -d 14 Åset Tx power
./wl phy_forcecal 1
./wl pkteng_start 10:20:30:40:50:60 tx 100 1500 0
2.4G 11n HT40 SISO mode:
./wl ver
./wl mpc 0
./wl country ALL
./wl up
./wl phy_forcecal 1
./wl interference 0
./wl phy_watchdog 0
US
Loading...
+ 31 hidden pages