omnirom/android_external_wpa_supplicant_8 — pull request #3 by celogeek (2014-07-08 14:45:30+00:00)
Title: Using rild funcs to do EAP-SIM/AKA authentication.

Connect smart card via rild, using socket rild-oem.
Add a new field in eap_peer_config, as the identity
when end-user select eap method of SIM/AKA.
1. add a new field "imsi" in eap_peer_config, to record NAI.
2. when received eap request for identity, and SIM/AKA/AKA' is the
allowed eap method, offer the value of "imsi" in eap response.
3. In eap method process, if it needs to get config identity, and
the selected method is SIM/AKA/AKA', return "imsi" to it
4. when need to do gsm/umts authentication, supplicant send parameters
to rild via dgram socket, and wait util sim card complete the authentication.
5. if the eap method was changed from SIM/AKA/AKA' to others, supplicant will
clear the anonymous_identity field
Signed-off-by: xianpu.liang

Change-Id: Idbc33d3394c2545cad40981d4b10c8fc69cc77e9