[OpenWrt-Devel] [PATCH v2] wpa_supplicant: Enable EAP-SIM Support for 802.11u with Simcard

Bima Hutama hutamanzi at gmail.com
Tue Jun 7 12:56:40 EDT 2016


      -Description:
        Many modern AP who implements Hotspot 2.0 (802.11u standard) need
        capability to authenticate client automatically from the installed
        SIM-card in clients mobile phones. Example of this is Telekom Germany,
        who implements roaming of their "Telekom"-Wifi for their customers with hotspot 2.0.
        The customers handphone which supports Hotspot 2.0 will connect automatically to
        Telekom hotspot and for the authentication it implements EAP-SIM,
        which means the handphones use the Telekom-SIM-Card to authenticate
        automatically with Telekom hotspot. this supplicant config needs to be enabled otherwise
        standard 802.11u will not correctly implemented in that case.

	According to the actual defconfig, CONFIG_PCSC=y should also be activated if EAP-SIM or EAP-AKA
	is activated:

	# PC/SC interface for smartcards (USIM, GSM SIM)
	# Enable this if EAP-SIM or EAP-AKA is included
	#CONFIG_PCSC=y

      -Changelog:
        v1: Enabling CONFIG_EAP_SIM=y
	v2: Enabling CONFIG_PCSC=y as implication of v1

Signed-off-by: Bima Hutama <hutamanzi at gmail.com>
---
 package/network/services/hostapd/files/wpa_supplicant-full.config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/network/services/hostapd/files/wpa_supplicant-full.config b/package/network/services/hostapd/files/wpa_supplicant-full.config
index e653212..27a7820 100644
--- a/package/network/services/hostapd/files/wpa_supplicant-full.config
+++ b/package/network/services/hostapd/files/wpa_supplicant-full.config
@@ -150,7 +150,7 @@ CONFIG_EAP_GTC=y
 CONFIG_EAP_OTP=y
 
 # EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
-#CONFIG_EAP_SIM=y
+CONFIG_EAP_SIM=y
 
 # EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
 #CONFIG_EAP_PSK=y
@@ -198,7 +198,7 @@ CONFIG_SMARTCARD=y
 
 # PC/SC interface for smartcards (USIM, GSM SIM)
 # Enable this if EAP-SIM or EAP-AKA is included
-#CONFIG_PCSC=y
+CONFIG_PCSC=y
 
 # Development testing
 #CONFIG_EAPOL_TEST=y
-- 
2.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list