Hi everyone,
I want to port my wifi drivers to IMX53-start R board(Android-2.3), my wifi driver works through CLI, but i want to integrate my Wifi drivers such that it should make use of the User Interface which is coming along with the OS. I made some changes in wifi.c file so i am able to insert my wifi modules, when i enable the wifi in GUI, after inserting the modules i need to execute another command to drive my driver into another state, i tried by using system and exec calls but they didn't worked for me. I need to port wifi hotspot also,So please help me how and where in need to make the changes.
Solved! Go to Solution.
Hi Praveen,
You need to make changes to the Wifi HAL (wifi.c) to drive your driver into another state. There may be file permission issue which you can fix by setting the right owner and group via init.rc file. You can also use uevent to execute scripts on udev events.
Regards,
Nitin Garg
Hi Praveen,
You need to make changes to the Wifi HAL (wifi.c) to drive your driver into another state. There may be file permission issue which you can fix by setting the right owner and group via init.rc file. You can also use uevent to execute scripts on udev events.
Regards,
Nitin Garg
Yes, Nitin is right. And you needs to be careful your wifi dirvier don't need wpa supplicant special changes. As I know, some drivers have its own wpa supplicant.
It also helps figure out the problem if you tell the wifi part number.
HI Nitin/Shichang zhao,
Thanks for your valuable suggestions, I have made changes in wifi.c and able to see my modules inserting but after insertion of my modules i need to issue a command to drive it to another state similar to an IOCTL. Similarly I also want to use wifi hotspot, so please suggest me how i can port wifi hotspot also.
You can execute any commad (similar to IOCTL) from Wifi HAL. Wifi hotspot is module specific implementation, pls get in touch with your Wifi module provider.
Regards,
Nitin