1.7.0 Archer C7v2 no ath10k driver

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
Totaledcow
Posts: 1
Joined: Wed Feb 11, 2015 10:47 pm

1.7.0 Archer C7v2 no ath10k driver

Post by Totaledcow »

Howdy folks,

OpenWRT provides an ath10k driver via opkg which allows OpenWRT to support the B4RA 5GHz wireless adapter included in the Archer C7v2 as noted here: http://wiki.openwrt.org/toh/tp-link/tl-wdr7500

I just flashed a new Archer C7v2 with Gargoyle 1.7.0 and upon following the instructions to use uci to which the wireless mode, I discovered that only a single radio is showing up.

root@nullap:~# cat /etc/config/wireless

config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/qca955x_wmac'
option channel '5'
option hwmode '11ng'
option htmode 'VHT80'

If I check what's installed for kernel modules, I see ath9k is installed, but not ath10k which is required to support the BR4A.

root@nullap:~# lsmod | grep ath
ath 19749 3 ath9k
ath9k 88417 0
ath9k_common 11453 1 ath9k
ath9k_hw 314863 2 ath9k
cfg80211 197911 4 ath9k
compat 1988 4 ath9k
mac80211 347265 1 ath9k

Of course ath10k is available... but it doesn't cleanly install:

root@nullap:~# opkg list | grep ath10k
kmod-ath10k - 3.10.49+2014-05-22-1 - This module adds support for wireless adapters based on

root@nullap:~# opkg install kmod-ath10k
ERROR: Dependency kernel (= 3.10.49-1-0114c71ed85677c9c1e4911437af4743) of package kmod-ath10k is installed,
but has incompatible version 3.10.49-1-5a2fdd8e27cba052659e05148e1dc855 and is marked as 'hold'


Any ideas? It looks like it may be restricting package installation via build number and since Gargoyle likely builds their own kernel the package is likely compatible since the major/minor versions match, but opkg will not allow me to install. Is there a way to override opkg's warning and see if I can get it to work?

rojolko
Posts: 3
Joined: Sat Nov 01, 2014 7:50 am

Re: 1.7.0 Archer C7v2 no ath10k driver

Post by rojolko »

Hello,

I firstly tried to force ath10k installation on 1.7.0 but, this way, the driver fail to init.

I went through this issue recompiling gargoyle with the kmod-ath10k as built-in, ac is working now. Just edited ar71xx.usb_large profile adding ath10k module to it.

UI seems to be buggy about dual band but it is not an issue as you can set it up through cmd line.

Post Reply