aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/config.h
diff options
context:
space:
mode:
authorNaresh Jayaram <c_njayar@qti.qualcomm.com>2014-03-28 15:01:44 (GMT)
committerJouni Malinen <j@w1.fi>2014-04-24 09:15:32 (GMT)
commit13f6a07efc3e737d8fcb8f7014cb961ce77e64ee (patch)
tree6dd361c20cfa5e3f8bad5b67acc6bf538384b658 /wpa_supplicant/config.h
parent8a0f3bf6135d9e5d5e50de46c4755de0864f6c66 (diff)
downloadhostap-13f6a07efc3e737d8fcb8f7014cb961ce77e64ee.zip
hostap-13f6a07efc3e737d8fcb8f7014cb961ce77e64ee.tar.gz
hostap-13f6a07efc3e737d8fcb8f7014cb961ce77e64ee.tar.bz2
Add SIM identifier to the network profile and cred block
This allows the specific SIM to be identified for authentication purposes in multi-SIM devices. This SIM number represents the index of the SIM slot. This SIM number shall be used for the authentication using the respective SIM for the Wi-Fi connection to the corresponding network. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/config.h')
-rw-r--r--wpa_supplicant/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/wpa_supplicant/config.h b/wpa_supplicant/config.h
index a398049..26b1233 100644
--- a/wpa_supplicant/config.h
+++ b/wpa_supplicant/config.h
@@ -288,6 +288,14 @@ struct wpa_cred {
* 2 = require valid OCSP stapling response
*/
int ocsp;
+
+ /**
+ * sim_num - User selected SIM identifier
+ *
+ * This variable is used for identifying which SIM is used if the system
+ * has more than one.
+ */
+ int sim_num;
};