In android kitkat there is wpa_supplicant 2.1 , in Lollipop wpa_supplicant 2.3.
It is possibile to use wpa_supplicant 2.3 in android kitkat?
If is necessary to rebuild android from aosp is not a problem, but i really don't know how to change the build system to include this library.
Probably the best solution is to find which file (library.so etc...) can be replaced on Kitkat to update the library, because if i replace only the executable file "wpa_supplicant" in /system/bin, wifi is broken. But, which is the correct files?
I know, i'm completely crazy XD