Ubuntu kernel building with Atheros hambands 2.3Ghz patch

Ubuntu 16.04 LTS  kernel building with Atheros hambands 2.3Ghz patch and wireless-regdb update

This solution allows to limit interference with the 2.4GHz TARANIS radio  when Wifibroadcast for video is activated.

  • You must add these three patches available into archive file atheros_hambands.tgz over Linux kernel source (manually) before to start compilation  (the fourth patch is for hostapd : not used here) :
  1. htc_drv_init.c.patch
  2. regd.c.patch
  3. util.c.patch

Process here : http://blog.f1src.org/page/hamnet_tplink_tl_wn722.htm

atheros_hambands.tgz available here : http://www.yo3iiu.ro/archives/atheros_hambands/atheros_hambands.tgz

  • Check line deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main  in /etc/apt/sources.list file :
deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main 
deb http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://fr.archive.ubuntu.com/ubuntu/ xenial universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
  • Get linux ubuntu kernel 4.4.y source and compile the kernel with the command by following the procedure here and install the kernel generated debian package (you can execute a rollback with grub) : https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
apt-get source linux-image-$(uname -r)
cd linux-4.4.0
make oldconfig
make -j `getconf _NPROCESSORS_ONLN` deb-pkg LOCALVERSION=-custom
cd ..
dpkg -i linux-4.4.6-custom_*.deb
kernel building


Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *