Option to not add username/password as identity for EAP-SIM/AKA/AKA'
The new command line argument -A can be used to enable use of a real SIM
with EAP-SIM/AKA/AKA' by not configuring the identity and password
parameters from the command to enable simulated SIM (Milenage).
For eap_proxy based implementation, this new argument can be added to
allow wpa_supplicant to query the needed information from the Modem.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
diff --git a/sigma_dut.c b/sigma_dut.c
index a2ba3a4..9c19436 100644
--- a/sigma_dut.c
+++ b/sigma_dut.c
@@ -731,7 +731,7 @@
for (;;) {
c = getopt(argc, argv,
- "ab:Bc:C:dDE:e:fhH:i:Ik:l:L:m:M:np:qr:R:s:S:tT:uv:VWw:");
+ "aAb:Bc:C:dDE:e:fhH:i:Ik:l:L:m:M:np:qr:R:s:S:tT:uv:VWw:");
if (c < 0)
break;
switch (c) {
@@ -865,9 +865,12 @@
"Use iface down/up in reset cmd");
sigma_dut.iface_down_on_reset = 1;
break;
+ case 'A':
+ sigma_dut.sim_no_username = 1;
+ break;
case 'h':
default:
- printf("usage: sigma_dut [-aBdfqDIntuVW] [-p<port>] "
+ printf("usage: sigma_dut [-aABdfqDIntuVW] [-p<port>] "
"[-s<sniffer>] [-m<set_maccaddr.sh>] \\\n"
" [-M<main ifname>] [-R<radio ifname>] "
"[-S<station ifname>] \\\n"