AnsweredAssumed Answered

NL80211 Interface Driver porting In Android 6

Question asked by Thanaraj Subramani on May 23, 2017
Latest reply on May 24, 2017 by jimmychan

Hi All,

 

   Currently we are working on Android 6 driver porting using nl80211 interface. We have inserted the driver and interface is up using nl80211 driver, but wpa_supplicant is not running in nl80211 interface. can anyone give solution to compile wpa_supplicant and running wpa_supplicant using nl80211 interface.

 

Wpa_supplicant:

Error: Failed to initialize wpa_supplicant

Hostapd:

hostapd : Add randomness: count=1 entropy=0
01-01 00:05:36.026  1192  1192 D hostapd : random pool - hexdump(len=128): [REMOVED]
01-01 00:05:36.026  1192  1192 D hostapd : random_mix_pool - hexdump(len=8): [REMOVED]
01-01 00:05:36.026  1192  1192 D hostapd : random_mix_pool - hexdump(len=20): [REMOVED]
01-01 00:05:36.026  1192  1192 D hostapd : random pool - hexdump(len=128): [REMOVED]
01-01 00:05:36.026  1192  1192 D hostapd : random: Added entropy from /data/misc/wifi/entropy.bin (own_pool_ready=2)
01-01 00:05:36.027  1192  1192 D hostapd : random: Trying to read entropy from /dev/random
01-01 00:05:36.027  1192  1192 D hostapd : Get randomness: len=20 entropy=1
01-01 00:05:36.028  1192  1192 D hostapd : random from os_get_random - hexdump(len=20): [REMOVED]
01-01 00:05:36.029  1192  1192 D hostapd : random_mix_pool - hexdump(len=20): [REMOVED]
01-01 00:05:36.029  1192  1192 D hostapd : random from internal pool - hexdump(len=16): [REMOVED]
01-01 00:05:36.029  1192  1192 D hostapd : random_mix_pool - hexdump(len=20): [REMOVED]
01-01 00:05:36.029  1192  1192 D hostapd : random from internal pool - hexdump(len=16): [REMOVED]
01-01 00:05:36.029  1192  1192 D hostapd : mixed random - hexdump(len=20): [REMOVED]
01-01 00:05:36.030  1192  1192 D hostapd : random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
01-01 00:05:36.030  1192  1192 E hostapd : No drivers enabled
01-01 00:05:36.030  1192  1192 E hostapd : Failed to initilize global context

 

 

 

Thanks!!!

 

Regards,

Raj.

Outcomes