I am trying to apply Quectel AF31G wi-fi driver to android13(kernel5.15) on mediatek MT8370 chipset.
The driver code of Quectel AF31G is as follows.
The figure below is a comparison screen of driver code of AF31G (left) and AF51Y (right).
Below is the wireless driver screen by vendor in android13 kernel5.15 source of MT8370. (Mediatek wi-fi applied)
kernel-5.15\drivers\net\wireless*mediatek*
I think I need to add AF31G wi-fi driver to kernel5.15 wireless wifi driver, but I would like to ask which part of AF31G source code in AF31G and AF51Y comparison screen should be added to wireless directory.
Can I apply “af31g\host_5.4\apps_proc\sources\wlan-opensource” source code? I would like to ask for help from those who have experience porting Quectel Wi-Fi driver to Android.
Thanks for your help.