I'm using a precompiled LEDE v17.01.2 release on a TP-Link Talon AD7200.
This LEDE comes with a working wilocity driver (wil6210) for the 802.11ad interface.
I'm trying to modify the wil6210 driver to my needs, recompile it, get the .ko and insert the module into my LEDE device.
The problem I'm having is that when I insert the wil6210 recompiled module in my LEDE device using modprobe, it doesn't load.
Can someone please help me debug this problem ?
Here are some information I think they might help you help me:
I'm not having any significant debugging output from modprobe
The wireless interface associated with wil6210 driver doesn't load after using the recompiled driver
The kernel source code I'm using for driver compilation is version 4.4 generic
Thank you for your reply. It's always nice that someone shows attention to your problems
Indeed, for compilation I'm using the exact same kernel version of the target system.
I don't understand the part about rebuilding. Could you clarify 2 points for me:
How do I rebuild wil6210 module against LEDE source code ? It's easy for a general linux distro, but I I can't figure out how to build a module againt a LEDE distro
The result of the module building is a binary .ko, not a package. What do you mean by installing a package ?
What if I want to change wil6210 code, recompile it, create a package and load it to device ?
I can't find where openwrt gets the code for wil6210 in order to package it ..
In OpenWrt most network drivers are part of mac80211 package
That package currently uses drivers from kernel 4.14-rc2 with a ton of patches and backports.
So,to add wil6210 driver it has to be added to the makefile to be build as a kernel module.
Then it can be simply included as a kmod package and it will be loaded on device boot.
Also,please move to 18.06 branch.