how to add custom wifi driver in android Oreo

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

how to add custom wifi driver in android Oreo

1,856 Views
susangracerapak
Contributor II

Hi ,

I am working on Android Oreo build, on i.Mx6 SabreSD platform.

I am using Custom wifi driver/module.

driver .ko's got inserted. While I am trying to ON wifi from GUI, I am getting the following error. Please someone help me.

Failed to initialize legacy hal function table
I found that the wifi legacy initialization is by default going to bcmdhd.
I have modified BOARD_WLAN_DEVICE = bcmdhd to customer vendor in BoardConfig.mk file
wifi_error status = init_wifi_vendor_hal_func_table(&global_func_table_);330  if (status != WIFI_SUCCESS) {331    LOG(ERROR) << "Failed to initialize legacy hal function table";332  }

How to add custom vendor_hal_func_table ?
Regards Susan
0 Kudos
1 Reply

758 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

 

You can look the below website. Probably it can solve your question:

How do you create a loadable kernel module for Android? - Stack Overflow 

 

Best Regards,

Diego.

0 Kudos