Hello all,
I am writing a simple program in C++ that interfaces with the QCA7000 chip. There is already a driver available on Linux for using this chip. I have a couple of questions regarding the use of the driver.
1) For loading the driver into the kernel, what are the cases for when I should use init_module and finit_module()? FOr this specific module, would I want to use init_module function call?
2) I found the source code for the driver and there are a number of functions available for the driver (
GitHub source). After I initialize the module, how do I access the functions? Or are there standard Linux kernel functions that I am suppose to call that will interface to the driver for me? I have been looking for awhile on this matter and it is unclear how I utilize the driver in an application. For windows, I would do a DLL call. Is there something similar to Linux that I would do?
I should also note that I have a compiled driver installed called qca_7k_common. For the rest of the parts, I may need to manually install the driver by compiling the source which I don't think this part will be an issue for me.