You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
5GHz doesn't work on Archer C7 with 2018.1.1 #1561
I have flashed gluon-ffhb-2018.1.1+bremen1-tp-link-archer-c7-v2.bin (from Freifunk Bremen community) onto an Archer C7 v2. The device appears to basically work, except for 5GHz wifi. There is an ibss1 network but no ibss0.
On a similar device the gluon-ffhb-2017.1.8+bremen1-tp-link-archer-c7-v2.bin firmware works fine, including 5GHz mesh and client network.
Copying the ath10k firmware from 2017.1.8 appears to fix this: the node now meshes on 5GHz and also has a 5GHz client, according to Meshviewer.
This is the firmware I've used: firmware-2.bin.gz (sha256sum: 4112d78161a2c20e7a9490ea8d04e9f919508bafb097d88761dcce026c26f93f). I have copied this file from the AC7 with 2017.1.8 mentioned above ("5ghztestnode") from /lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin.
On the 2018.1.1 device I have copied the firmware-2.bin to /lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin and also renamed the existing /lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin file (to firmware-5.bin.disabled) so that it is not detected by the driver.
2017.1.1 has 10.1.467-ct-_fW-019-60dd7c5 (no idea where this FW originates from exactly; from a superficial look at the files at https://www.candelatech.com/ath10k-10.1.php in the 10.1.467-ct-19 section I haven't found it)
The ath10k driver appears to be same version in both Gluon releases, judging from these dmesg lines:
Loading modules backported from Linux version wt-2017-01-31-0-ge882dff19e7f
Backport generated by backports.git backports-20160324-13-g24da7d3c
ath10k driver, optimized for CT firmware, probing pci device: 0x3c.
For IBSS support you'd need the -ct firmware. Post opkg list-installed | grep ath10k. If it doesn't have the -ct packages you can probably use opkg update and opkg install kmod-ath10k-ct ath10k-firmware-qca988x-ct.
@mweinelt wait #1555 is only for domain change - so i could change configuration in site.conf but GLUON_WLAN_MESH is in site.mk and is used during build - how should this be possible?
Ah funny, there was a time when enabling both IBSS and 11s at the same time was possible in the same firmware. Not everything will work, like 5 GHz on QCA988x radios, but I think with GLUON_WLAN_MESH=11s one domain with IBSS and the other with 802.11s could still be possible.
Activity
oliver commentedon Nov 2, 2018
Here is the dmesg output for the 2018.1.1 device:
dmesg-2018.1.1.ac7.txt
mweinelt commentedon Nov 2, 2018
Please post the output of
uci show wireless.This indicates there is something wrong with the channel configuration.
rotanid commentedon Nov 3, 2018
for us 5 GHz is working on Archer C7 v2 with Gluon v2018.1.x, but we're not using ibss but 802.11s, so maybe its related to this difference
oliver commentedon Nov 3, 2018
Sorry for the delay, had to set up a different device with the new firmware (same model though). It's this one:
Here's the output of
uci show wireless:Here's dmesg output from this device: dmesg-2018.1.1.og-ac7-testing-2.txt
mweinelt commentedon Nov 3, 2018
And maybe
iw dev?oliver commentedon Nov 3, 2018
mweinelt commentedon Nov 3, 2018
Something is wrong with the firmware load.
oliver commentedon Nov 3, 2018
Output of
iw list: iw-list.txtoliver commentedon Nov 3, 2018
@mweinelt: I think with 2017.1.8 there are similar firmware load errors, but 5 GHz works there. Here's some dmesg output from an AC7v2 with 2017.1.8:
oliver commentedon Nov 3, 2018
For comparison, here's the full output of
dmesg,iw devandiw listof an AC7v2 with 2017.1.8+bremen1 (this device: https://map.bremen.freifunk.net/#!/en/map/60e3274fdac3):neocturne commentedon Nov 3, 2018
The firmware load warnings look completely normal. I'll have a closer look at the logs tomorrow.
oliver commentedon Nov 3, 2018
Copying the ath10k firmware from 2017.1.8 appears to fix this: the node now meshes on 5GHz and also has a 5GHz client, according to Meshviewer.
This is the firmware I've used: firmware-2.bin.gz (sha256sum: 4112d78161a2c20e7a9490ea8d04e9f919508bafb097d88761dcce026c26f93f). I have copied this file from the AC7 with 2017.1.8 mentioned above ("5ghztestnode") from
/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.bin.On the 2018.1.1 device I have copied the firmware-2.bin to
/lib/firmware/ath10k/QCA988X/hw2.0/firmware-2.binand also renamed the existing/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.binfile (tofirmware-5.bin.disabled) so that it is not detected by the driver.mweinelt commentedon Nov 3, 2018
So did Candelatech drop/break QCA9880 support?
oliver commentedon Nov 3, 2018
I think the firmware in 2018.1.1 is not from Candelatech but is the original Qualcomm FW.
mweinelt commentedon Nov 3, 2018
See the conditional packaging here: https://github.com/freifunk-gluon/gluon/blob/v2018.1.x/targets/ar71xx-generic#L5-L8
oliver commentedon Nov 3, 2018
Used ath10k firmwares:
The ath10k driver appears to be same version in both Gluon releases, judging from these dmesg lines:
mweinelt commentedon Nov 3, 2018
For IBSS support you'd need the
-ctfirmware. Postopkg list-installed | grep ath10k. If it doesn't have the-ctpackages you can probably useopkg updateandopkg install kmod-ath10k-ct ath10k-firmware-qca988x-ct.mweinelt commentedon Nov 3, 2018
https://github.com/FreifunkBremen/gluon-site-ffhb/blob/master/site.mk#L38
This should read
GLUON_WLAN_MESH ?= ibss. This is an issue in your site.This change happened in 919dda9 and the fact that it needed a migration is not well documented.
@jplitza @corny @SimJoSt @genofire
oliver commentedon Nov 3, 2018
@mweinelt: nice detective work! Your suggested commands fixed it:
oliver commentedon Nov 3, 2018
@mweinelt: we use IBSS in Bremen, so we would probably use
GLUON_WLAN_MESH ?= ibss? Or did I misunderstand the GLUON_WLAN_MESH option?mweinelt commentedon Nov 3, 2018
Exactly, but please remember to migrate to 11s, for example after v2018.2 is released, which probably contains #1555.
oliver commentedon Nov 3, 2018
@mweinelt: thanks for your help!
docs: releases/v2018.1: add remark about GLUON_WLAN_MESH variable
genofire commentedon Nov 5, 2018
@mweinelt wait #1555 is only for domain change - so i could change configuration in
site.confbutGLUON_WLAN_MESHis insite.mkand is used during build - how should this be possible?mweinelt commentedon Nov 5, 2018
Ah funny, there was a time when enabling both IBSS and 11s at the same time was possible in the same firmware. Not everything will work, like 5 GHz on QCA988x radios, but I think with
GLUON_WLAN_MESH=11sone domain with IBSS and the other with 802.11s could still be possible.@blocktrron Do you agree?
blocktrron commentedon Nov 5, 2018
This is the case for ar71xx indeed as ath9k supports both protos simultaneously.
This is not the case for ipq40xx as it uses ath10k on both frequency bands.
docs: releases/v2018.1: add remark about GLUON_WLAN_MESH variable
docs: releases/v2018.1: add remark about GLUON_WLAN_MESH variable