[LEDE-DEV] [PATCH] Support Candela-Tech ath10k and ath9k out-of-tree driver.

Ben Greear greearb at candelatech.com
Sun Jun 26 04:31:04 PDT 2016


On 06/26/2016 03:52 AM, Felix Fietkau wrote:
> On 2016-06-22 00:00, greearb at candelatech.com wrote:
>> From: Ben Greear <greearb at candelatech.com>
>>
>> This lets one use the ath9k and ath10k driver instead of the built-in
>> ath10k/ath9k driver from the upstream kernel (or backports).
>>
>> For ath10k, this should be a drop-in replacement, as well as enabling
>> better CT firmware support.
>>
>> For ath9k, this enables some 5Mhz channel and 4.9Ghz support,
>> but may loose some existing patches that LEDE carries for ath9k.
>>
>> Signed-off-by: Ben Greear <greearb at candelatech.com>
> I would really like to have this use kmod-ath from the main mac80211
> patches in order to support using ath9k from the main package along with
> ath10k-ct.
> The packagea at least it needs a split between the ath9k and ath10k parts.

That sounds good to me.  I'm mostly interested in ath10k at this point...probably
any ath9k changes could just be applied as patches instead of a fully external
driver.

I guess I need to change any 'include "../foo.h" to <foo.h> and then somehow fix
the make command to point to the backports tree?

Any suggestions on how to better sync with kernel compile options?  Seems ath10k
has a lot of different CONFIG* options.  I hard-coded some in the make-file, but
I am guessing that is fragile at best.

If you have time to help with a bit of whatever is needed to get it properly linking/compiling
against the proper code, I can work on making the build actually work.

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Lede-dev mailing list