Hi all, I am trying to port my wlan.ko files in android on atmel board. For that I have added the corresponding changes in wifi.c file. But, the insertion of the module is not happening.
I guess this should happen when WLAN enabled. But, directly it is calling wifi_start_supplicant() function. What should I do to invoke wifi_load_driver() function? How can i know from where wifi_start_supplicant is getting called? Please let me to solve this issue. I appreciate your quick responses. LOGS: I/ARMAssembler( 749): generated scanline__00000077:03545404_00000A04_00000000 [ 29 ipp] (51 ins) at [0x2f4208:0x2f42d4] in 1000000 ns I/ActivityManager( 749): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } I/ActivityManager( 749): Displayed activity com.android.settings/.WirelessSettings: 549 ms (total 549 ms) I/ActivityManager( 749): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings } I/ActivityManager( 749): Displayed activity com.android.settings/.wifi.WifiSettings: 468 ms (total 468 ms) D/SettingsWifiEnabler( 880): Received wifi state changed from Disabled to Enabling rtusb init ---> usbcore: registered new interface driver rt2870 D/WifiService( 749): ACTION_BATTERY_CHANGED pluggedType: 1 E/WifiHW ( 749): Unable to open connection to supplicant on "/data/ misc/wpa_supplicant/wlan0": No such file or directory D/SettingsWifiEnabler( 880): Received wifi state changed from Enabling to Enabled I/wpa_supplicant( 888): CTRL-EVENT-STATE-CHANGE id=-1 state=0 E/wpa_supplicant( 888): Failed to disable WPA in the driver. D/dalvikvm( 880): GC freed 3827 objects / 225560 bytes in 107ms E/SettingsWifiLayer( 880): Unable to scan for networks -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting