Modifying wpa_supplicant alone will not be enough to get special work on Android (unless you plan to use it through the command line and not the Settings app). The Settings app and WLAN APIs filter out special networks.
Also, wpa_supplicant is not tied to specific hardware, but some of the changes Android makes to wpa_supplicant depend on the version of Android based on which new feature is being added to the new version of Android.
source share