Modifing and installing ath10k driver for kernel 4.0

Michal Kazior michal.kazior at tieto.com
Mon Apr 27 04:03:11 PDT 2015


On 23 April 2015 at 17:16, Costa Molero  Edgar <cedgar at student.ethz.ch> wrote:
> Hi all,
>
> In order to use the latest firmware version (10.2.4.48) for my access point  I installed the kernel version 4.0 in my Ubuntu 14.04 LTS laptop.
>
> The problem is that with the ath10k driver it comes the option debug is not enabled, and my domain regulatory database do not allow me to use 80Mhz channels.
>
> Before upgrading the kernel, I was using the latest backports release 3.19-r1-1-1. To install that driver I downloaded it then I enabled all the configuration options I needed for my project (debug, debugfs, etc) and I also modified the regulatory database by changing the content of the file /net/wireless/db.txt.
>
> I never compiled a linux kernel. And therefore I don't quite understand what should I do know to modify the current driver version. (I just want to change the db.txt file and enable debug) Then I want to compile the driver and install it. Could some one give me some hints ?
>
> Should not the driver source code be located at that  directory ? /usr/src/linux-headers-4.0.0-040000-generic/drivers/net/wireless/ath/ath10k# , and also the db.txt located here :/usr/src/linux-headers-4.0.0-040000-generic/net/wireless# .

This directory, as the path name implies, contains just kernel
headers. These are generally used whfor compiling DKMS (additional
out-of-tree modules, e.g. nvidia gpu blob).

If you want to compile an entire kernel I suggest you look into your
distro wiki. All distros have different ways of doing things if you
want to keep your installation clean.

You can still use backports though. All you need is to build backports
package yourself[1] from whatever kernel tree you desire, e.g.
github.com/kvalo/ath instead of using the pre-built one.

[1]: https://backports.wiki.kernel.org/index.php/Documentation/backports/hacking


Michał



More information about the ath10k mailing list