]> git.ipfire.org Git - thirdparty/hostap.git/commit
SIM/USIM: Add function to get the MNC length from the SIM/USIM
authorSimon Baatz <gmbnomis@gmail.com>
Sun, 22 Jan 2012 17:28:24 +0000 (19:28 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 22 Jan 2012 17:28:24 +0000 (19:28 +0200)
commit8ab7a3708910c0f572084e7dabff10d7c8ee3734
tree169daf5b08cf4acdbd669c7af2409b7e98183fbb
parent8aebb0e471f2e89e146713ebf9f3e1cbb58e8f52
SIM/USIM: Add function to get the MNC length from the SIM/USIM

The EF-AD (administrative data) file may contain information about the
length of the MNC (2 or 3 digits) in the IMSI. This can be used to
construct the realm according to 3GPP TS 23.003 during EAP-SIM or
EAP-AKA authentication.

Signed-hostap: Simon Baatz <gmbnomis@gmail.com>
src/utils/pcsc_funcs.c
src/utils/pcsc_funcs.h