AzureWave AW-CM195NF User manual

- 1 -
AW-CM195NF
IEEE 802.11 a/b/g/n/ac Wireless LAN and
Bluetooth M.2 Combo Module
User Guide
Document
release Date Modification Initials Approved
Version 0.1
2015/02/16
Initial Version Stanley
Wang
Chihhao
Liao

- 2 -

- 3 -
Contents
1. WLAN Basic Test
Driver Installation
Throughput Test
RF Tx/Rx Performance Test
2. Bluetooth Basic Test
Download Mini-driver
Throughput Test
RF Performance Test
3. Known Limitation/Issues
1. WLAN Basic Test
**Must connect USB to PC
Driver Installation
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.

- 4 -
•Enter cd /home/username/
DHD_REL_1_141_65_1_Linux/src/dhd/linux
•Enter make dhd-cdc-sdmmc-gpl to generate the dhd.ko file in /home/username/
DHD_REL_1_141_65_1_Linux /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
•
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.
CONNECTING TO AN INFRASTRUCTURE NETWORK WITH WEP SECURITY

- 5 -
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.
MEASURING WLAN THROUGHPUT

- 6 -
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-CM195NF 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-CM195NF demo board by
pinging 192.168.1.100
from the AW-CM195NF host console.
4. Set up Chariot.
HOST
COMPUTER.
AW-CM195NF
EndPoint
Reference
Computer
Chariot
Console
HOST
COMPUTER.
AW-CM195NF
EndPoint
A
P
LAN
Reference
Computer
Chariot
Console
FIG. 2.2
FIG. 2.3

- 7 -
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.
RF Tx/Rx Performance Test
CREATING A Tx TEST
(In Ubuntu linux 12.04)
1. Open the Terminal, enter the command: sudo su and password.
2. Enter
Insmod /(path of dhd.ko file)
firmware_path=/(path of firmware file) nvram_path=/(path of nvram file) to enable.
3. Enter the wl ver command to check the current WL driver version.
4. Run the following command set (delay at least 700ms between each command):
11b rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band b
./wl channel 1
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain 1
./wl txcore -k 1 -o 1
./wl 2g_rate -r 1 -b 20
./wl phy_txpwrctrl 1
./wl txpwr1 -1
./wl txpwr1 -o -d 16
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0

- 8 -
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate
=1Mbps ,Channel=1 and output power =16dBm.
11g rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band b
./wl channel 1
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain 1
./wl txcore -k 1 -o 1
./wl 2g_rate -r 54 -b 20
./wl phy_txpwrctrl 1
./wl txpwr1 -1
./wl txpwr1 -o -d 15
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate
=54Mbps ,Channel=1 and output power =15dBm.
2.4G 11n 20 SISO rate:

- 9 -
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band b
./wl chanspec 1/20
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain1
./wl txcore -s 1 -c 1
./wl 2g_rate -h 7 -b 20
./wl phy_txpwrctrl 1
./wl txpwr1 -o -d 14
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate =MCS7,
Bandwidth=20Mhz, Channel=1 and output power =14dBm.
2.4G 11n 40 SISO rate:
./wl down
./wl PM 0
./wl mimo_bw_cap 1
./wl mimo_txbw 4
./wl mpc 0
./wl up
./wl country ALL
./wl band b
./wl txchain 2
./wl rxchain 2

- 10 -
./wl chanspec 3/40l
./wl nrate -m 7
./wl up
./wl scansuppress 1
./wl sgi_tx 0
./wl nrate -m 7
./wl txpwr1 -o -q 48
./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,1024 byte packet length. Data rate =
MCS7 ,Bandwidth=40Mhz, Channel=3 and output power =12dBm.
11a rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band a
./wl channel 36
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain 1
./wl txcore -o 1
./wl 5g_rate -r 54 -b 20
./wl phy_txpwrctrl 1
./wl txpwr1 -o -d 14
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate
=54Mbps ,Channel=36 and output power =14dBm.
5G 11n 20 SISO rate:
./wl mpc 0

- 11 -
./wl phy_watchdog 0
./wl country ALL
./wl band a
./wl chanspec 36/20
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain 1
./wl txcore -s 1 -c 1
./wl 5g_rate -h 7 -b 20
./wl phy_txpwrctrl 1
./wl txpwr1 -o -d 12
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate =
MCS7 ,Bandwidth=20Mhz, Channel=36 and output power =12dBm.
5G 11n 40 SISO rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band a
./wl chanspec 38/40
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl txchain 1
./wl txcore -s 1 -c 1
./wl 5g_rate -h 7 -b 40
./wl phy_txpwrctrl 1
./wl txpwr1 -o -d 12
./wl pkteng_start 00:11:22:33:44:55 tx 100 1024 0
This will send continuous Tx Packets with 100 us packet interval,1024 byte packet length. Data rate =
MCS7 ,Bandwidth=40Mhz, Channel=38 and output power =12dBm.

- 12 -
CREATING A Rx TEST
(In Ubuntu linux 12.04)
1. Open the Terminal, enter the command: sudo su and password.
2. Enter
Insmod /(path of dhd.ko file) firmware_path=/(path of firmware file) nvram_path=/(path of nvram file)
to enable.
3. Enter the wl ver command to check the current WL driver version.
4. Run the following command set
11b/g rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band b
./wl channel 7
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl rxchain 1
./wl reset_cnts
./wl counters
This will enter Channel 7 receive mode.
2.4G 11n 20 SISO rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band b
./wl chanspec 1/20

- 13 -
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl rxchain 1
./wl reset_cnts
./wl counters
This will enter Channel 1, bandwidth=20Mhz receive mode.
2.4G 11n 40 SISO rate:
./wl pkteng_stop rx
./wl down
./wl mpc 0
./wl country ALL
./wl up
./wl phy_watchdog 0
./wl scansuppress 1
./wl band b
./wl down
./wl mimo_bw_cap 1
./wl mimo_txbw 4
./wl up
./wl chanspec -c 6 -b 2 -w 40 -s 0
./wl 2g_rate
./wl txchain 1
./wl rxchain 1
./wl phy_forcecal 1
./wl pkteng_start 00:11:22:33:44:55 rxwithack
./wl counters
./wl reset_cnts
This will enter Channel 6, bandwidth=40Mhz receive mode.
11a rate:

- 14 -
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band a
./wl channel 36
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl rxchain 1
./wl reset_cnts
./wl counters
This will enter Channel 36 receive mode.
5G 11n 20 SISO rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL
./wl band a
./wl chanspec 36/20
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl rxchain 1
./wl reset_cnts
./wl counters
This will enter Channel 36, bandwidth=20Mhz receive mode.
5G 11n 40 SISO rate:
./wl mpc 0
./wl phy_watchdog 0
./wl country ALL

- 15 -
./wl band a
./wl chanspec 38/40
./wl mimo_txbw 4
./wl up
./wl phy_forcecal 1
./wl scansuppress 1
./wl rxchain 1
./wl reset_cnts
./wl counters
This will enter MCS7 HT40, Channel 38 receive mode.
※.The default MAC address is 001122334455. Packets sent from Signal Generator must have the same
MAC address as the DUT’s MAC address (Runtime mac address can be overrode by using wl cur_etheraddr
xx:xx:xx:xx:xx:xx .
※. Use “./wl counters” and find the received frame numbers in “rxdfrmocast”.
※. The RX PER = [ (Total lost packets at the receiver) / (Total sent packets from the Signal Generator) ] x
100%.
Thus, PER =100% - [(rxdfrmocast numbers after sequence play) – (rxdfrmocast numbers before sequence
play)] / (Total sent packets from the signal Generator) x 100%.
.
2. Bluetooth Basic Test
*Must connect USB to PC
Download Mini-driver
1. Start Broadcom BlueTool.
2. On the View menu, click Log Windows Details.
3. On the Transport menu, click HCI Control.

- 16 -
4. In Select HCI Control Window Transport:
a. Select UART as the type of transport.
b. In the COM port list, select com6.(check the port number in device manager)

- 17 -
c. In the Baud list, type 115200.
d. Select the CTS flow control check box.
e. Click OK.
5. In HCI Control, select the HCI protocol active check box
6. In the HCI Control commands list, select 0: Vendor-specific Commands (0 key), and then double-click
Download

- 18 -
Minidriver.
7. On the Transport menu, click Download Firmware/Config.
8. In Select Download Firmware/Config Transport:
a. Select UART as the type of transport.
b. In the COM port list, select com6.
c. In the Baud list box, type 115200.
d. Select the CTS flow control check box.
e. Click OK.
9. In Download, configure the settings to match those shown below
10. Click Execute.
11. Select the HCI protocol active check box

- 19 -
Throughput Test
Bluetool contains a throughput test feature that can be used with two or more AW-CM195NF devices.
Note that each device runs on a separate PC with BlueTool installed. This document will provide basic
directions for setting-up and running this test.
The next step in setting-up the test is establishing a connection between the devices.
ESTABLISH A BLUETOOTH CONNECTION BETWEEN TWO USB DEVICES
SET UP THE SLAVE DEVICE FIRST
1. On the Slave side, start Bluetool from the Start Menu.
2.
If the Log Window is not already open, select “View” and then select “Log Window”.
Select “Transport”
and then Select “HCI Control.” New window pop-up, select “UART” and enter com port number.
Click “OK”.
3. Download mini driver (see 3.1)
4. In the “HCI Control” window, select “7.3 Host Controller & Baseband Commands” (Note: may be 4.3,
depending on version)
5. Double Click the “Write Scan Enable” entry
6. Select “Inquiry and Page Scan Enabled” and click “OK”
7. Double Click “Set Event Filter”
8. Select “Connection Setup”
9. Select “Allow Connections from all devices”
10. Select “Do Auto accept the connection with role switch disabled”
11. Click “OK”
12. In the “HCI Control” window, select “0 Vendor-specific commands”.
13. Double Click the “Write_BD_ADDR” command
14. Enter 001122334455
15. In the “HCI Control” window,select”0 Vendor-specific commands”. Double Click ”Update UART Baud
Rate”. Select 3000000 then click OK.

- 20 -
SET UP THE MASTER DEVICE, AND CREATE THE CONNECTION
1. On the Master side, start Bluetool.
2. Open the log window, if not already open, and open the UART HCI Transport.
3. Download mini driver (see 3.1)
4. In the “HCI Control” window, select “7.1 Link Control Commands” (Note: may be 4.5 depending on
version)
5. Double Click “Create Connection” and put BD address of the slave device into the BDADDR box.
Click “OK”
6. In the “HCI Control” window,select”0 Vendor-specific commands”. Double Click ”Update UART Baud
Rate”. Select 3000000 then click OK.
A connection should establish now. This can be verified by looking in the log windows for both devices,
which should now contain Connection Complete events with “Success” in the status field.
NOTE: once the connection has been established, Inquiry and Page Scan can be disabled. Also, go to: “7.3
Host Controller & Baseband Commands” →→ “Set Event Filter”. Select “Connection Setup”; Select “Allow
Connections from all devices”; Select “Do NOT Auto accept the connection” and hit ‘OK’. This will make the
slave device non-discoverable and increase throughput by reducing overhead.
SET UP AND EXECUTE THE THROUGHPUT TEST
SET UP THE SLAVE AS THE RECEIVER
1. On the Slave side, select “Transport” and then select “Throughput Tests”. Select UART.
2. In the “Receive Test” (Bottom half of the window), fill in a data pattern such as “abcdef”, and fill in a count
such as “1000000”
3. Close the “Log Window.” If this window is left open or minimized, then the throughput test will not
achieve maximum throughput because of delay that is added by Windows every time the log window is
updated.
SET UP THE MASTER AS THE TRANSMITTER AND START THE TEST
1. On the Master side, select “Transport” and then select “Throughput Tests”. Select UART.
2. In the “Transmit Test” window (top half of the window), fill in the same data pattern and count that was
filled in for the receive test on the Slave side.
Table of contents
Other AzureWave Control Unit manuals

AzureWave
AzureWave AW-CB511NF User manual

AzureWave
AzureWave AW-BT252 User manual

AzureWave
AzureWave AW-CU427-P User manual

AzureWave
AzureWave AW-NB086 User manual

AzureWave
AzureWave AW-NM333 User manual

AzureWave
AzureWave AW-CU277 User manual

AzureWave
AzureWave AW-CU544 Guide

AzureWave
AzureWave AW-HM482 User manual

AzureWave
AzureWave AW-GA800BT User manual

AzureWave
AzureWave AW-NM230NF-H User manual