802.11ac Wave 2 Board Data File

From Compex Wiki
(Redirected from 802.11ac Wave 2 boardData)
Jump to: navigation, search

The calibration data used in 802.11ac Wave 2 cards is the combination of data on the card's EEPROM and the board.bin / board-2.bin file.

Please download them here:

http://downloads.compex.com.sg/?dir=uploads/Board_Data_File/For_Building_New_Firmware

Customized Board Data File

Additional steps are required to include the correct board data file of the card into the firmware.

The board data file contains the Conformance Test Limit (CTL) table. This table specifies the maximum EIRP for each regulatory domain or country. It also has the target power data which is the maximum power that the hardware is capable of transmitting.

This is to optimize for better throughput, for iwconfig to show transmit power correctly, and for stable bit rates.

The QSDK board data file contains the data for only one wifi module. The ath10k board data file board-2.bin contains the data for multiple wifi modules. If this board-2.bin file is not found, the ath10k will refer to the board.bin file (which is the QSDK board data file for only one wifi module).


802.11ac Wave 2 Modules with Customized Board Data File

New Board ID for the Wave 2 Radio Cards

The older prototype radio cards may have the old board ID. The production radio cards have the new board ID. The following table shows the new board ID for the radio cards.

Card Old Board ID New Board ID
WLE650V5-18A (QCA9888) 17 30
WLE1216V2-20 (QCA9984) --- 30
WLE650V5-25A (QCA9888) 16 31
WLE1000V5-20 (QCA9982) --- 31
WLE1216V5-20 (QCA9984) 1 31

Instructions on Replacing Board Data File After Loading Old Firmware into the Board or On Linux PC

https://downloads.compex.com.sg/?dir=uploads/Board_Data_File/For_Building_New_Firmware

Download the openwrt-lede-build.zip and extract the board-2.bin file.

Then, replace the old board-2.bin existing on the Linux PC with this new board-2.bin.

BoardData sudo cp board-2.bin.JPG

Next, restart the PC.

For QCA9888 cards (WLE650V5-18A or WLE650V5-25A) please download from here:

https://downloads.compex.com.sg/?dir=uploads/Board_Data_File/For_Linux_PC_Unofficial

The same board data file can be used for both WLE650V5-18A and WLE650V5-25A, for both the old and the new board ID.

ath10k/LEDE/OpenWRT Build Instructions Using Board Data File

The board data files are available here:

https://downloads.compex.com.sg/?dir=uploads/Board_Data_File/For_Building_New_Firmware

Build lede firmware with Compex board data file.

After normal lede firmware build, copy board-2.bin to target rootfs directory, e.g.

WLE1216 board-2.bin

This board data file applies to WLE1216V5-20 and WLE1216V2-20. The WLE1216V5-23 is a reference design : there is no need to change the board data file.

cp wle1216bd/board-2.bin build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/root-ipq806x/lib/firmware/ath10k/QCA9984/hw1.0/

WLE1000 board-2.bin

This board data file applies to WLE1000V5-20.

cp wle1000bd/board-2.bin build_dir/target-arm_cortex-a15+neon-vfpv4_musl-1.1.16_eabi/root-ipq806x/lib/firmware/ath10k/QCA99X0/hw2.0/

Then run:

make target/install

Summary of the build process:

make
cp board-2.bin to root-ipq806x
make target/install

QCA/QSDK/CompexWRT Build Instructions Using Board Data File

Build QSDK firmware with Compex board data file.

(Instructions for SPF 5.0.2 on IPQ806x platform, others may differ slightly)

Unzip the files to qsdk directory.

Run the script:

./qsdk-board-data.sh

Build the firmware as per normal.

The script needs to be run once only.

Using a Wave 2 Radio Card on a Linux PC

The use of Compex radio cards on Linux/Windows PCs has not been tested comprehensively.

It may still be possible to use a Compex radio card in a PC on an experimental basis.

A non-11ac card may be used on a Windows PC using Windows drivers. The 11ac cards cannot be used on a Windows PC.

The 11ac Wave 1 cards do not require the board data files when using on a Linux PC.

The 11ac Wave 2 cards require the board data files when using on a Linux PC.

Please download the file board-2.bin_for_QCA9888.zip here:

https://downloads.compex.com.sg/?dir=uploads/Board_Data_File/For_Linux_PC_Unofficial

The content of the board-2.bin file had been updated:

  • Supports both board ID=17 and board ID=30 for WLE650V5-18A
  • Supports both board ID=16 and board ID=31 for WLE650V5-25A

Regarding the WLE650V5-25A Card

The WLE650V5-25A is a high power card that requires 5V supply in addition to the standard 3.3V supply. The WPJ531 board does not support the WLE650V5-25A card. A Linux PC is also not likely to be able to support the WLE650V5-25A card. The recommended boards are WPJ558-A, WPJ563-A, WPQ864, and WPQ865.

Testing Results for QCA9888 on Linux Ubuntu PC

The following screenshot shows the testing result for QCA9888 on a Linux Ubuntu PC.

WLE650V5-18A with Old Board ID

BoardData WLE650V5-18A with Old boardID.JPG

Testing Results for QCA9888 on WPQ864 with LEDE Firmware

The following are the testing results for QCA9888 on the WPQ864 board with LEDE firmware. The results are similar to using on a Linux PC.

The command to use is:

dmesg|grep -i ath10k

WLE650V5-18A with New Board ID

(New board ID - bmi_id 0:30)
[   12.047211] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.047297] ath10k_pci 0000:01:00.0: enabling bus mastering
[   12.047836] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   12.183302] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   12.183350] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.255118] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.255448] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   12.263095] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.310808] firmware ath10k!cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.461777] ath10k_pci 0000:01:00.0: Unknown FW IE: 30
[   12.461809] ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   12.465812] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.477259] ath10k_pci 0000:01:00.0: firmware ver 10.4-ct-9888-fW-009-2559479 api 5 features peer-flow-ctrl crc32 331b488d
[   14.498479] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:30 crc32 8479f36c
[   17.959123] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 32 raw 0 hwcrypto 1

WLE650V5-25A with Old Board ID

(Old board ID - bmi_id 0:16)
(In the AP mode, a testing phone could not see the SSID)
[   12.042505] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.042589] ath10k_pci 0000:01:00.0: enabling bus mastering
[   12.043127] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   12.174477] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   12.174529] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.252493] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.252676] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   12.260437] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.296227] firmware ath10k!cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.461316] ath10k_pci 0000:01:00.0: Unknown FW IE: 30
[   12.461351] ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   12.465352] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.477127] ath10k_pci 0000:01:00.0: firmware ver 10.4-ct-9888-fW-009-2559479 api 5 features peer-flow-ctrl crc32 331b488d
[   14.509442] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:16 crc32 8479f36c
[   18.083740] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 32 raw 0 hwcrypto 1
[  108.589650] ath10k_pci 0000:01:00.0: bss channel survey timed out
[  111.590124] ath10k_pci 0000:01:00.0: bss channel survey timed out
[  118.588966] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

WLE650V5-25A with New Board ID

(New board ID - bmi_id 0:31)
(In the AP mode, a testing phone could not see the SSID)
[   12.154976] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   12.155062] ath10k_pci 0000:01:00.0: enabling bus mastering
[   12.155592] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   12.302876] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[   12.302913] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.376690] firmware ath10k!pre-cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.376950] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/cal-pci-0000:01:00.0.bin failed with error -2
[   12.384642] ath10k_pci 0000:01:00.0: Falling back to user helper
[   12.439226] firmware ath10k!cal-pci-0000:01:00.0.bin: firmware_loading_store: map pages failed
[   12.595680] ath10k_pci 0000:01:00.0: Unknown FW IE: 30
[   12.595716] ath10k_pci 0000:01:00.0: qca9888 hw2.0 target 0x01000000 chip_id 0x00000000 sub 0000:0000
[   12.599802] ath10k_pci 0000:01:00.0: kconfig debug 1 debugfs 1 tracing 0 dfs 1 testmode 1
[   12.611465] ath10k_pci 0000:01:00.0: firmware ver 10.4-ct-9888-fW-009-2559479 api 5 features peer-flow-ctrl crc32 331b488d
[   14.624860] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:31 crc32 8479f36c
[   18.180549] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 32 raw 0 hwcrypto 1

From these testing results, we can see that the board-2.bin file is able to detect both the old board ID and the new board ID on a Linux PC.