Hi i.MX Community,
I try to porting WIFI modules BCM43241 to our i.MX6 custom board.
I can normally use WIFI to connect to the Internet.
But the following error occurs when I start SoftAp.
01-01 00:01:07.071: D/WifiHW_BCMDHD(1059): is_wifi_driver_loaded
01-01 00:01:07.071: W/WifiHW_BCMDHD(1059): Could not get driver status property!
01-01 00:01:07.136: D/WifiHW_BCMDHD(1059): insmod /system/lib/modules/bcmdhd.ko
01-01 00:01:07.810: D/Tethering(1059): sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:01:07.810: D/Tethering(1059): InitialState.processMessage what=4
01-01 00:01:07.813: D/Tethering(1059): sendTetherStateChangedBroadcast 0, 0, 0
01-01 00:01:07.815: D/WifiHW_BCMDHD(1059): Wi-Fi interface property: wlan0
01-01 00:01:07.815: D/WifiHW_BCMDHD(1059): Check Wi-Fi interface ready!
01-01 00:01:07.817: D/WifiHW_BCMDHD(231): WIFI_GET_FW_PATH_AP=1
01-01 00:01:07.817: D/SoftapController(231): Softap fwReload - Ok
01-01 00:01:07.832: D/wifi(1059): Can not initialize the vendor function pointer table
01-01 00:01:07.832: E/WifiNative-HAL(1059): Could not start hal
01-01 00:01:07.832: E/WifiStateMachine(1059): Failed to start HAL
01-01 00:01:07.882: D/WifiHW_BCMDHD(231): ensure_entropy_file_exists
01-01 00:01:07.884: D/SoftapController(231): SoftAP started successfully
01-01 00:01:07.884: D/WifiHW_BCMDHD(1910): ensure_entropy_file_exists
01-01 00:01:07.884: E/SoftapController(1910): no specific driver vendor
01-01 00:01:07.884: E/SoftapController(1910): execl failed (Cannot assign requested address)
01-01 00:01:07.884: E/SoftapController(1910): SoftAP failed to start
01-01 00:01:07.886: E/WifiStateMachine(1059): Exception in softap start java.lang.IllegalStateException: command '26 softap startap' failed with '402 26 SoftAP command has failed'
01-01 00:01:07.887: E/SoftapController(1910): SoftAP is not running
01-01 00:01:07.888: D/WifiHW_BCMDHD(1910): WIFI_GET_FW_PATH_STA=0
01-01 00:01:07.888: D/SoftapController(1910): Softap fwReload - Ok
01-01 00:01:07.933: D/WifiHW_BCMDHD(1910): ensure_entropy_file_exists
01-01 00:01:07.935: D/SoftapController(1910): SoftAP started successfully
01-01 00:01:07.935: D/WifiHW_BCMDHD(1911): ensure_entropy_file_exists
01-01 00:01:07.935: E/SoftapController(1911): no specific driver vendor
01-01 00:01:07.935: E/SoftapController(1911): execl failed (Cannot assign requested address)
01-01 00:01:07.935: E/SoftapController(1911): SoftAP failed to start
01-01 00:01:07.937: E/WifiStateMachine(1059): Exception in softap re-start java.lang.IllegalStateException: command '30 softap startap' failed with '402 30 SoftAP command has failed'
01-01 00:01:07.939: E/WifiController(1059): WifiControllerSoftAP start failed
01-01 00:01:08.139: D/WifiHW_BCMDHD(1059): Unload driver module "bcmdhd"!
01-01 00:01:08.536: D/WifiHW_BCMDHD(1059): is_wifi_driver_loaded
01-01 00:01:08.536: D/WifiHW_BCMDHD(1059): wlan.driver.status=ok
01-01 00:01:08.537: W/WifiHW_BCMDHD(1059): The [bcmdhd] module not already exists!
01-01 00:01:25.797: I/MediaFocusControl(1059): AudioFocus abandonAudioFocus() from android.media.AudioManager@7a54129com.android.music.MediaPlaybackService$3@9ed6cae
01-01 00:01:25.825: I/ActivityManager(1059): Start proc 1912:com.android.musicfx/u0a12 for broadcast com.android.musicfx/.ControlPanelReceiver
01-01 00:01:25.915: W/System(1912): ClassLoader referenced unknown path: /system/priv-app/MusicFX/lib/arm
01-01 00:01:25.918: V/MusicFXControlPanelReceiver(1912): onReceive
01-01 00:01:25.918: V/MusicFXControlPanelReceiver(1912): Action: android.media.action.CLOSE_AUDIO_EFFECT_CONTROL_SESSION
01-01 00:01:25.918: V/MusicFXControlPanelReceiver(1912): Package name: com.android.music
01-01 00:01:25.918: V/MusicFXControlPanelReceiver(1912): Audio session: 9
01-01 00:01:25.919: V/MusicFXControlPanelEffect(1912): closeSession(android.app.ReceiverRestrictedContext@aec18d6, com.android.music, 9)
Hope for your help!
Regards,
Solved! Go to Solution.
Yes, I sure.
I found this patch will cause the 'hostapd' service could not start.
0001-ENGR00256988-wifi-load-diff-exec-in-start-softap.patch
Some people come across the same problem?
Can you erase or rename the following directory?:
"/data/misc/wifi"
and then try it again?
I try to delete the "/data/misc/wifi" directory and then reboot to startup SoftAP.
But the result is still the same.
Did you make sure the directory was deleted after rebooting?, are you using a GA bsp or a user debug?
Yes, I sure.
I found this patch will cause the 'hostapd' service could not start.
0001-ENGR00256988-wifi-load-diff-exec-in-start-softap.patch
Some people come across the same problem?