android Q支持的EAP方法配置[通俗易懂]

android Q支持的EAP方法配置[通俗易懂]1,supplicant:/external/wpa_supplicant_8/wpa_supplicant/android.configCONFIG_EAP_MD5=yCONFIG_EAP_MSCHAPV2=yCONFIG_EAP_TLS=yCONFIG_EAP_PEAP=yCONFIG_EAP_TTLS=y#CONFIG_EAP_FAST=yCONFIG_EAP_GTC=y…

大家好,欢迎来到IT知识分享网。

1,supplicant:

/external/wpa_supplicant_8/wpa_supplicant/android.config

CONFIG_EAP_MD5=y
CONFIG_EAP_MSCHAPV2=y
CONFIG_EAP_TLS=y
CONFIG_EAP_PEAP=y
CONFIG_EAP_TTLS=y
#CONFIG_EAP_FAST=y
CONFIG_EAP_GTC=y
CONFIG_EAP_OTP=y
# EAP-SIM (enable CONFIG_PCSC, if EAP-SIM is used)
CONFIG_EAP_SIM=y
# EAP-PSK (experimental; this is _not_ needed for WPA-PSK)
#CONFIG_EAP_PSK=y
# EAP-pwd (secure authentication using only a password)
CONFIG_EAP_PWD=y
#CONFIG_EAP_PAX=y
CONFIG_EAP_LEAP=y
# EAP-AKA (enable CONFIG_PCSC, if EAP-AKA is used)
CONFIG_EAP_AKA=y
# EAP-AKA’ (enable CONFIG_PCSC, if EAP-AKA’ is used).
# This requires CONFIG_EAP_AKA to be enabled, too.
CONFIG_EAP_AKA_PRIME=y
# Enable USIM simulator (Milenage) for EAP-AKA
#CONFIG_USIM_SIMULATOR=y
# EAP-SAKE
#CONFIG_EAP_SAKE=y
#CONFIG_EAP_GPSK=y
# Include support for optional SHA256 cipher suite in EAP-GPSK
#CONFIG_EAP_GPSK_SHA256=y
# EAP-TNC and related Trusted Network Connect support (experimental)
#CONFIG_EAP_TNC=y

 

2,framework:
/frameworks/base/core/res/res/values/config.xml
<!– Flag indicating device support for EAP SIM, AKA, AKA’ –>
<bool name=”config_eap_sim_based_auth_supported”>true</bool> 

 

3,UI :
/packages/apps/Settings/res/values/arrays.xml

<string-array name=”wifi_eap_method” translatable=”false”>
         <item>PEAP</item>
         <item>TLS</item>
         <item>TTLS</item>
         <item>PWD</item>
         <item>SIM</item>
         <item>AKA</item>
         <item>AKA\'</item>

 

<!– EAP method –>
    <string-array name=”wifi_eap_entries”>
        <item>PEAP</item>
        <item>TLS</item>
        <item>TTLS</item>
        <item>PWD</item>
    </string-array>

    <!– Phase 2 options for PEAP –>
    <string-array name=”wifi_peap_phase2_entries”>
        <item>None</item>
        <item>MSCHAPV2</item>
        <item>GTC</item>
    </string-array>

    <!– Type of EAP method when EAP SIM, AKA, AKA’ are supported –>
    <string-array name=”wifi_peap_phase2_entries_with_sim_auth”>
        <item>None</item>
        <item translatable=”false”>MSCHAPV2</item>
        <item translatable=”false”>GTC</item>
        <item translatable=”false”>SIM</item>
        <item translatable=”false”>AKA</item>
        <item translatable=”false”>AKA\'</item>
    </string-array>

    <!– Phase 2 options for rest of EAP methods –>
    <string-array name=”wifi_phase2_entries”>
        <item>None</item>
        <item>PAP</item>
        <item>MSCHAP</item>
        <item>MSCHAPV2</item>
        <item>GTC</item>
    </string-array>
 

免责声明:本站所有文章内容,图片,视频等均是来源于用户投稿和互联网及文摘转载整编而成,不代表本站观点,不承担相关法律责任。其著作权各归其原作者或其出版社所有。如发现本站有涉嫌抄袭侵权/违法违规的内容,侵犯到您的权益,请在线联系站长,一经查实,本站将立刻删除。 本文来自网络,若有侵权,请联系删除,如若转载,请注明出处:https://yundeesoft.com/26061.html

(0)

相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注微信