i.MX6Q SABRE SD - How to porting ath9k PCIe on Android6.0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX6Q SABRE SD - How to porting ath9k PCIe on Android6.0

1,116 Views
rudolphhsueh
Contributor III

Hello all,

          I use Atheros ath9k PCI-e module in our's  i.MX6Q custom board. I can use wpa_supplicant and wpa_cli to associate WIFI AP, but I cannot use wifi setting to connect. When I turn on the wifi, I have log message like below.

 

01-01 00:10:56.036 512 858 E WifiNative-HAL: Could not start hal
01-01 00:10:56.036 512 858 E WifiStateMachine: Failed to start HAL

The complete log files in the attachment. 

How to modify android wifi HAL and frameworks?
Thanks.

 

Original Attachment has been moved to: turn_on_wifi_log.txt.zip

Original Attachment has been moved to: wifi_connect_log.txt.zip

0 Kudos
Reply
2 Replies

834 Views
igorpadykov
NXP Employee
NXP Employee

Hi Rudolph

please check

i.MX6Q SABRE SD - How to porting ath9k PCIe driver and WIFI HAL 

ath9k - Debian Wiki 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

834 Views
rudolphhsueh
Contributor III

Hi Igorpadykov,

     I use ath9k on the android 4.4 successfully, but I cannot use it on android 6.0. I have a problem about HAL that is I cannot find the init_wifi_vendor_hal_func_table for atheros wifi.  The init_wifi_vendor_hal_func_table is defined in the wifi_hal.cpp. This part is unnecessary on android 4.4. If we don't have the correct wifi_hal.c, we have met the error like "Failed to start HAL". Is wifi_hal.c necessary on android6.0?
Thanks.

0 Kudos
Reply