WLE1216V5-20 - 160 MHz channel not working

By chris_db at 2018-02-12 • 1 collector • 3050 pageviews

I am trying to configure WLE1216V5-20 as AP with VHT160 (160 MHz channel width) capabality in LEDE (which runs on a x86 platform).


These are the steps I did to install the card:

  1. Boot up LEDE 17.01.4 in ESXi (or any other platform)

  2. Install hostapd, kmod-ath10k, ath10k-firmware-qca9984

  3. Replace the /lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin with the one from your website https://downloads.compex.com.sg/?dir=uploads/boardData/For_Building_New_Firmware > lede-build.zip > wle1216bd > board-2.bin

  4. rmmod ath10k_pci

  5. modprobe ath10k_pci

  6. And the card is detected properly:

  7. root@LEDE:~# dmesg
    [ 1643.028184] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
    [ 1643.181768] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
    [ 1643.181995] ath10k_pci 0000:03:00.0: Falling back to user helper
    [ 1643.182903] firmware ath10k!pre-cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed
    [ 1643.183126] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
    [ 1643.183345] ath10k_pci 0000:03:00.0: Falling back to user helper
    [ 1643.184191] firmware ath10k!cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed
    [ 1643.184574] ath10k_pci 0000:03:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
    [ 1643.184789] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
    [ 1643.186422] ath10k_pci 0000:03:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 4c56a386
    [ 1644.415916] ath10k_pci 0000:03:00.0: board_file api 2 bmi_id 0:31 crc32 bb2ad9d0
    [ 1646.987763] ath10k_pci 0000:03:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal otp max-sta 512 raw 0 hwcrypto 1
    [ 1647.061046] ath: EEPROM regdomain: 0x0
    [ 1647.061047] ath: EEPROM indicates default country code should be used
    [ 1647.061048] ath: doing EEPROM country->regdmn map search
    [ 1647.061049] ath: country maps to regdmn code: 0x3a
    [ 1647.061050] ath: Country alpha2 being used: US
    [ 1647.061050] ath: Regpair used: 0x3a


The problem is:

The card works only up to 80 MHz.

root@LEDE:~# iw dev
phy#4
        Interface wlan4
                ifindex 10
                wdev 0x400000004
                addr 04:f0:21:3a:5a:a4
                ssid LEDE
                type AP
                channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
                txpower 18.00 dBm

When the card is configured (via LuCI) to use 160 MHz, the link does not come up anymore.

root@LEDE:~# iw dev
phy#4
        Interface wlan4
                ifindex 11
                wdev 0x400000005
                addr 04:f0:21:3a:5a:a4
                type AP
                txpower 0.00 dBm

The hostapd generated config by LuCI(uci) for 160 MHz mode looks like this:

cat /var/run/hostapd-phy4.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=US
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=36


ieee80211n=1
ht_coex=0
ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40]
vht_oper_chwidth=2
vht_oper_centr_freq_seg0_idx=50
ieee80211ac=1
vht_capab=[RXLDPC][SHORT-GI-80][SHORT-GI-160][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][VHT160-80PLUS80][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7]

interface=wlan4
ctrl_interface=/var/run/hostapd
ap_isolate=1
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=12345678
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=LEDE
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=04:f0:21:3a:5a:a4


Can you share how did you test the 160 MHz wide channels for this module?


Thanks!


8 Replies | Last update 2018-10-31
2018-02-12   #1


Dear Chris,


Welcome to the Compex Support Forum and thanks for posting. I have forwarded your question to our Engineering team. I shall let you know of any updates.


Thanks,

Winston

2018-02-12   #2


I shall share these commands that we use to set the high bandwith modes:


# 802.11ac 11ACVHT80+80 operating mode
uci set wireless.wifi0.htmode=HT80_80
uci set wireless.wifi0.channel=36
uci set wireless.@wifi-iface[0].cfreq2=106
uci commit wireless

# Undo
# 802.11ac 11ACVHT80+80 operating mode
uci set wireless.wifi0.htmode=HT20
uci set wireless.wifi0.channel=auto
uci set wireless.@wifi-iface[0].cfreq2=""
uci commit wireless

# 802.11ac 11ACVHT80+80 operating mode
uci set wireless.wifi1.htmode=HT80_80
uci set wireless.wifi1.channel=36
uci set wireless.@wifi-iface[1].cfreq2=106
uci commit wireless

# 802.11ac 11ACVHT160 operating mode
uci set wireless.wifi1.htmode=HT160
uci set wireless.wifi1.channel=36
uci set wireless.@wifi-iface[1].cfreq2=""
uci commit wireless
iwpriv ath1 get_nss
iwpriv ath1 nss 2
# (nss 1 not allowed for HT160)
wifi

# Undo
# 802.11ac 11ACVHT160 operating mode
uci set wireless.wifi1.htmode=HT20
uci set wireless.wifi1.channel=36
uci commit wireless


These apply to using the wireless card in a Compex board e.g. WPQ864 / WPQ865. The board firmware is CompexWRT which is based on Qualcomm Atheros QSDK and OpenWRT.

2018-02-12   #3

Is there an ImageBuilder for CompexWRT so I can compile it for x86 platform?

In the download section I could only find specific board builds.

2018-02-13   #4

Dear Chris,


CompexWRT SDK / ImageBuilder is available for customers who purchase Compex boards. It contains the original Qualcomm Atheros wireless drivers that are expected to perform better than the free and open source ath10k wireless drivers. CompexWRT SDK / ImageBuilder is similar to the free and open source OpenWRT / LEDE Image Builders:


https://lede-project.org/docs/user-guide/imagebuilder


You would need a 64-bit Linux, not 32-bit, to compile a firmware image.


Note that this is to create a firmware image for an embedded board /router such as Compex WPQ864 / WPQ865. 


Compiled firmwares are also available here:


https://downloads.compex.com.sg


Then the WLE1216V5-20 can be configured as AP.


If you just want to use the WLE1216V5-20 radio card on a Linux PC, a firmware image is not required. 


You would need the ath10k wireless drivers. 


https://github.com/kvalo/ath10k-firmware


The developers have written the code for operating the QCA9984. I think it’s included in the Linux OS. If you are using on a Linux PC, you need to configure WLE1216V5-20 as client, not AP.


Thanks,

Winston

2018-02-14   #5

I did purchase a wireless module (WLE1216V5-20) from you.


Do I have to also buy an embedded board to gain access to CompexWRT source code/SDK?


I don't need an embedded board though, but I'll buy one if I must.

I've put the wireless module in a x86 platform, that currently runs LEDE 17.01.4 x86_64, which uses the ath10k driver from linux upstream and the board data (board-2.bin) from your website. The card works well as AP in this setup, except for the VHT160 mode.

I have the liberty to run any x86-64 OS on this system, as long as it enables the wireless module to work in VHT160 mode. That is why I want to compile CompexWRT for x86-64.


Thanks!


2018-02-28   #6

Dear Chris,


Hope you are progressing well. Regarding your question: Do I have to also buy an embedded board to gain access to CompexWRT source code/SDK?


You would have to purchase the embedded board e.g. WPQ864/WPQ865. Additionally, you may also contact Sales regarding purchase of CompexWRT SDK:

https://www.compex.com.sg/contact-us/


Thanks,

Winston

2018-04-02   #7

Dear Chris,


Sorry for the misunderstanding. I understand that you want to use VHT160 mode on WLE1216V5-20 on LEDE on x86-64. Unfortunately ath10k does not support this VHT160 mode.


Thanks,

Winston

2018-10-31   #8

I can make works VHT160 on OpenWrt 18.06.1, that needs correctly set regulatory domain (i have set AU) and right channel (36). Than module will initialize (about 1 min) and will work in VHT160 mode. But it's very demands on signal quality - antennas of adapter (in my case it's intel 9260 AC) must be in sight, and if signal is lower than 90% it's will be only 866 mbit and lower.


Overall - i am very dissapointed of WLE1216V5-20 (in my case it's based on QCA9994 Industrial Grade), it's have lower througput than Xiaomi R3P (MT7615N) of 10% and lower signal range about 20-30% (with 5 dbi antennas adapter set up on 36 channel and 24 dbm power). Any wall or low quality 5 GHz notebook adapter make signal lower twice, in compare with MT7615N.


All advantage of QCA9984/9994 is VHT160, but it pointless if you sit by any wall, it just drops to 866 mbit and lower...

Requires Login

Log in
Information Bar
Welcome to the Compex Support Forum. To start with an enquiry:

1) Sign up for an account.
2) Create a topic and describe the issue as detail as possible.
3) Use the tags on your post to help us identify the issue. Eg. Hardware, Software, Module.

F.A.Q
How do I generate a verification code?
To generate the verification code, simply click on the form. It will create a 4 character code. Simply fill it in.

LINKS

Compex Website
Compex Webshop

Loading...