]> granicus.if.org Git - esp-idf/commit
supplicant/esp_wifi: move supplicant to idf
authorDeng Xin <dengxin@espressif.com>
Mon, 13 Aug 2018 08:37:56 +0000 (16:37 +0800)
committerliuzhifu <liuzhifu@espressif.com>
Sat, 29 Jun 2019 14:46:52 +0000 (22:46 +0800)
commitc1396830243b4c8fbea255a04d8a04ed2cb9f3d7
treefecbb0826310266514c61786b5a1e1f2dc8dc6ee
parent39a5fbdfeebd1826f7be3928bd23447a15c260f1
supplicant/esp_wifi: move supplicant to idf

Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
185 files changed:
components/esp_wifi/CMakeLists.txt
components/esp_wifi/component.mk
components/esp_wifi/include/esp_wifi_crypto_types.h
components/esp_wifi/lib_esp32
components/esp_wifi/src/fast_crypto_ops.c
components/esp_wifi/src/wifi_init.c
components/esp_wifi/test/test_header_files_md5.c
components/wpa_supplicant/CMakeLists.txt
components/wpa_supplicant/Kconfig [new file with mode: 0644]
components/wpa_supplicant/component.mk
components/wpa_supplicant/include/crypto/common.h [deleted file]
components/wpa_supplicant/include/crypto/crypto.h
components/wpa_supplicant/include/crypto/dh_group5.h
components/wpa_supplicant/include/crypto/wepkey.h [new file with mode: 0644]
components/wpa_supplicant/include/esp_supplicant/esp_wpa.h [new file with mode: 0644]
components/wpa_supplicant/include/esp_supplicant/esp_wpa2.h [moved from components/esp_wifi/include/esp_wpa2.h with 93% similarity]
components/wpa_supplicant/include/esp_supplicant/esp_wps.h [moved from components/esp_wifi/include/esp_wps.h with 94% similarity]
components/wpa_supplicant/include/utils/common.h [moved from components/wpa_supplicant/include/wpa/common.h with 99% similarity]
components/wpa_supplicant/include/utils/wpa_debug.h [moved from components/wpa_supplicant/include/wpa/wpa_debug.h with 99% similarity]
components/wpa_supplicant/include/utils/wpabuf.h [moved from components/wpa_supplicant/include/wpa/wpabuf.h with 100% similarity]
components/wpa_supplicant/include/wpa/hostapd.h [deleted file]
components/wpa_supplicant/include/wpa/ieee80211_crypto.h [deleted file]
components/wpa_supplicant/include/wpa/ieee802_1x.h [deleted file]
components/wpa_supplicant/include/wpa/includes.h [deleted file]
components/wpa_supplicant/include/wpa/wpas_glue.h [deleted file]
components/wpa_supplicant/include/wpa2/utils/base64.h [deleted file]
components/wpa_supplicant/port/include/endian.h
components/wpa_supplicant/port/include/supplicant_opt.h [new file with mode: 0644]
components/wpa_supplicant/port/os_xtensa.c
components/wpa_supplicant/src/ap/ap_config.c [new file with mode: 0644]
components/wpa_supplicant/src/ap/ap_config.h [moved from components/wpa_supplicant/include/wpa/ap_config.h with 63% similarity]
components/wpa_supplicant/src/ap/hostapd.h [new file with mode: 0644]
components/wpa_supplicant/src/ap/ieee802_1x.c [new file with mode: 0644]
components/wpa_supplicant/src/ap/ieee802_1x.h [new file with mode: 0644]
components/wpa_supplicant/src/ap/sta_info.h [moved from components/wpa_supplicant/include/wpa/sta_info.h with 74% similarity]
components/wpa_supplicant/src/ap/wpa_auth.c [new file with mode: 0644]
components/wpa_supplicant/src/ap/wpa_auth.h [moved from components/wpa_supplicant/include/wpa/wpa_auth.h with 98% similarity]
components/wpa_supplicant/src/ap/wpa_auth_i.h [moved from components/wpa_supplicant/include/wpa/wpa_auth_i.h with 84% similarity]
components/wpa_supplicant/src/ap/wpa_auth_ie.c [new file with mode: 0644]
components/wpa_supplicant/src/ap/wpa_auth_ie.h [moved from components/wpa_supplicant/include/wpa/wpa_auth_ie.h with 100% similarity]
components/wpa_supplicant/src/common/defs.h [moved from components/wpa_supplicant/include/wpa/defs.h with 77% similarity]
components/wpa_supplicant/src/common/eapol_common.h [moved from components/wpa_supplicant/include/wpa/eapol_common.h with 100% similarity]
components/wpa_supplicant/src/common/ieee802_11_defs.h [moved from components/wpa_supplicant/include/wpa/ieee802_11_defs.h with 100% similarity]
components/wpa_supplicant/src/common/wpa_common.c [new file with mode: 0644]
components/wpa_supplicant/src/common/wpa_common.h [moved from components/wpa_supplicant/include/wpa/wpa_common.h with 96% similarity]
components/wpa_supplicant/src/common/wpa_ctrl.h [new file with mode: 0644]
components/wpa_supplicant/src/crypto/aes-cbc.c
components/wpa_supplicant/src/crypto/aes-internal-dec.c
components/wpa_supplicant/src/crypto/aes-internal-enc.c
components/wpa_supplicant/src/crypto/aes-internal.c
components/wpa_supplicant/src/crypto/aes-unwrap.c
components/wpa_supplicant/src/crypto/aes-wrap.c
components/wpa_supplicant/src/crypto/aes_i.h [moved from components/wpa_supplicant/include/crypto/aes_i.h with 99% similarity]
components/wpa_supplicant/src/crypto/bignum.c
components/wpa_supplicant/src/crypto/crypto_internal-cipher.c
components/wpa_supplicant/src/crypto/crypto_internal-modexp.c
components/wpa_supplicant/src/crypto/crypto_internal-rsa.c
components/wpa_supplicant/src/crypto/crypto_internal.c
components/wpa_supplicant/src/crypto/crypto_mbedtls.c
components/wpa_supplicant/src/crypto/des-internal.c
components/wpa_supplicant/src/crypto/des_i.h [new file with mode: 0644]
components/wpa_supplicant/src/crypto/dh_group5.c
components/wpa_supplicant/src/crypto/dh_groups.c
components/wpa_supplicant/src/crypto/md4-internal.c
components/wpa_supplicant/src/crypto/md5-internal.c
components/wpa_supplicant/src/crypto/md5.c
components/wpa_supplicant/src/crypto/md5_i.h [moved from components/wpa_supplicant/include/crypto/md5_i.h with 100% similarity]
components/wpa_supplicant/src/crypto/ms_funcs.c
components/wpa_supplicant/src/crypto/rc4.c
components/wpa_supplicant/src/crypto/sha1-internal.c
components/wpa_supplicant/src/crypto/sha1-pbkdf2.c
components/wpa_supplicant/src/crypto/sha1.c
components/wpa_supplicant/src/crypto/sha1_i.h [moved from components/wpa_supplicant/include/crypto/sha1_i.h with 100% similarity]
components/wpa_supplicant/src/crypto/sha256-internal.c
components/wpa_supplicant/src/crypto/sha256.c
components/wpa_supplicant/src/eap_peer/chap.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/chap.c with 89% similarity]
components/wpa_supplicant/src/eap_peer/eap.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap.c with 73% similarity]
components/wpa_supplicant/src/eap_peer/eap.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap.h with 92% similarity]
components/wpa_supplicant/src/eap_peer/eap_common.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_common.c with 97% similarity]
components/wpa_supplicant/src/eap_peer/eap_common.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_common.h with 96% similarity]
components/wpa_supplicant/src/eap_peer/eap_config.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_config.h with 99% similarity]
components/wpa_supplicant/src/eap_peer/eap_defs.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_defs.h with 100% similarity]
components/wpa_supplicant/src/eap_peer/eap_i.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_i.h with 97% similarity]
components/wpa_supplicant/src/eap_peer/eap_methods.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_methods.h with 96% similarity]
components/wpa_supplicant/src/eap_peer/eap_mschapv2.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_mschapv2.c with 95% similarity]
components/wpa_supplicant/src/eap_peer/eap_peap.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_peap.c with 98% similarity]
components/wpa_supplicant/src/eap_peer/eap_peap_common.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_peap_common.c with 94% similarity]
components/wpa_supplicant/src/eap_peer/eap_peap_common.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_peap_common.h with 100% similarity]
components/wpa_supplicant/src/eap_peer/eap_tls.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_tls.c with 95% similarity]
components/wpa_supplicant/src/eap_peer/eap_tls.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_tls.h with 96% similarity]
components/wpa_supplicant/src/eap_peer/eap_tls_common.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_tls_common.c with 99% similarity]
components/wpa_supplicant/src/eap_peer/eap_tls_common.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_tls_common.h with 100% similarity]
components/wpa_supplicant/src/eap_peer/eap_tlv_common.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_tlv_common.h with 100% similarity]
components/wpa_supplicant/src/eap_peer/eap_ttls.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/eap_ttls.c with 71% similarity]
components/wpa_supplicant/src/eap_peer/eap_ttls.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/eap_ttls.h with 100% similarity]
components/wpa_supplicant/src/eap_peer/mschapv2.c [moved from components/wpa_supplicant/src/wpa2/eap_peer/mschapv2.c with 96% similarity]
components/wpa_supplicant/src/eap_peer/mschapv2.h [moved from components/wpa_supplicant/include/wpa2/eap_peer/mschapv2.h with 100% similarity]
components/wpa_supplicant/src/esp_supplicant/esp_hostap.c [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_hostap.h [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wifi_driver.h [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wpa2.c [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wpa_err.h [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wpa_main.c [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wpas_glue.c [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wpas_glue.h [new file with mode: 0644]
components/wpa_supplicant/src/esp_supplicant/esp_wps.c [new file with mode: 0644]
components/wpa_supplicant/src/fast_crypto/fast_aes-cbc.c
components/wpa_supplicant/src/fast_crypto/fast_aes-unwrap.c
components/wpa_supplicant/src/fast_crypto/fast_aes-wrap.c
components/wpa_supplicant/src/fast_crypto/fast_crypto_internal-cipher.c
components/wpa_supplicant/src/fast_crypto/fast_crypto_internal-modexp.c
components/wpa_supplicant/src/fast_crypto/fast_crypto_internal.c
components/wpa_supplicant/src/fast_crypto/fast_sha256-internal.c
components/wpa_supplicant/src/fast_crypto/fast_sha256.c
components/wpa_supplicant/src/rsn_supp/wpa.c [new file with mode: 0644]
components/wpa_supplicant/src/rsn_supp/wpa.h [moved from components/wpa_supplicant/include/wpa/wpa_i.h with 60% similarity]
components/wpa_supplicant/src/rsn_supp/wpa_i.h [moved from components/wpa_supplicant/include/wpa/wpa.h with 72% similarity]
components/wpa_supplicant/src/rsn_supp/wpa_ie.c [new file with mode: 0644]
components/wpa_supplicant/src/rsn_supp/wpa_ie.h [moved from components/wpa_supplicant/include/wpa/wpa_ie.h with 93% similarity]
components/wpa_supplicant/src/tls/asn1.c [moved from components/wpa_supplicant/src/wpa2/tls/asn1.c with 98% similarity]
components/wpa_supplicant/src/tls/asn1.h [moved from components/wpa_supplicant/include/wpa2/tls/asn1.h with 100% similarity]
components/wpa_supplicant/src/tls/bignum.c [moved from components/wpa_supplicant/src/wpa2/tls/bignum.c with 97% similarity]
components/wpa_supplicant/src/tls/bignum.h [moved from components/wpa_supplicant/include/wpa2/tls/bignum.h with 100% similarity]
components/wpa_supplicant/src/tls/libtommath.h [moved from components/wpa_supplicant/include/wpa2/tls/libtommath.h with 99% similarity]
components/wpa_supplicant/src/tls/pkcs1.c [moved from components/wpa_supplicant/src/wpa2/tls/pkcs1.c with 97% similarity]
components/wpa_supplicant/src/tls/pkcs1.h [moved from components/wpa_supplicant/include/wpa2/tls/pkcs1.h with 100% similarity]
components/wpa_supplicant/src/tls/pkcs5.c [moved from components/wpa_supplicant/src/wpa2/tls/pkcs5.c with 79% similarity]
components/wpa_supplicant/src/tls/pkcs5.h [moved from components/wpa_supplicant/include/wpa2/tls/pkcs5.h with 100% similarity]
components/wpa_supplicant/src/tls/pkcs8.c [moved from components/wpa_supplicant/src/wpa2/tls/pkcs8.c with 96% similarity]
components/wpa_supplicant/src/tls/pkcs8.h [moved from components/wpa_supplicant/include/wpa2/tls/pkcs8.h with 100% similarity]
components/wpa_supplicant/src/tls/rsa.c [moved from components/wpa_supplicant/src/wpa2/tls/rsa.c with 98% similarity]
components/wpa_supplicant/src/tls/rsa.h [moved from components/wpa_supplicant/include/wpa2/tls/rsa.h with 100% similarity]
components/wpa_supplicant/src/tls/tls.h [moved from components/wpa_supplicant/include/wpa2/tls/tls.h with 100% similarity]
components/wpa_supplicant/src/tls/tls_internal.c [moved from components/wpa_supplicant/src/wpa2/tls/tls_internal.c with 98% similarity]
components/wpa_supplicant/src/tls/tlsv1_client.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_client.c with 99% similarity]
components/wpa_supplicant/src/tls/tlsv1_client.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_client.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_client_i.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_client_i.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_client_read.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_client_read.c with 97% similarity]
components/wpa_supplicant/src/tls/tlsv1_client_write.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_client_write.c with 89% similarity]
components/wpa_supplicant/src/tls/tlsv1_common.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_common.c with 84% similarity]
components/wpa_supplicant/src/tls/tlsv1_common.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_common.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_cred.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_cred.c with 97% similarity]
components/wpa_supplicant/src/tls/tlsv1_cred.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_cred.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_record.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_record.c with 73% similarity]
components/wpa_supplicant/src/tls/tlsv1_record.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_record.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_server.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_server.c with 98% similarity]
components/wpa_supplicant/src/tls/tlsv1_server.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_server.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_server_i.h [moved from components/wpa_supplicant/include/wpa2/tls/tlsv1_server_i.h with 100% similarity]
components/wpa_supplicant/src/tls/tlsv1_server_read.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_server_read.c with 94% similarity]
components/wpa_supplicant/src/tls/tlsv1_server_write.c [moved from components/wpa_supplicant/src/wpa2/tls/tlsv1_server_write.c with 93% similarity]
components/wpa_supplicant/src/tls/x509v3.c [moved from components/wpa_supplicant/src/wpa2/tls/x509v3.c with 94% similarity]
components/wpa_supplicant/src/tls/x509v3.h [moved from components/wpa_supplicant/include/wpa2/tls/x509v3.h with 100% similarity]
components/wpa_supplicant/src/utils/base64.c [moved from components/wpa_supplicant/src/wpa2/utils/base64.c with 98% similarity]
components/wpa_supplicant/src/utils/base64.h [moved from components/wpa_supplicant/include/crypto/base64.h with 100% similarity]
components/wpa_supplicant/src/utils/common.c [new file with mode: 0644]
components/wpa_supplicant/src/utils/ext_password.c [moved from components/wpa_supplicant/src/wpa2/utils/ext_password.c with 96% similarity]
components/wpa_supplicant/src/utils/ext_password.h [moved from components/wpa_supplicant/include/wpa2/utils/ext_password.h with 100% similarity]
components/wpa_supplicant/src/utils/ext_password_i.h [moved from components/wpa_supplicant/include/wpa2/utils/ext_password_i.h with 100% similarity]
components/wpa_supplicant/src/utils/includes.h [moved from components/wpa_supplicant/include/crypto/includes.h with 91% similarity]
components/wpa_supplicant/src/utils/list.h [moved from components/wpa_supplicant/include/wpa/list.h with 100% similarity]
components/wpa_supplicant/src/utils/state_machine.h [moved from components/wpa_supplicant/include/wpa/state_machine.h with 96% similarity]
components/wpa_supplicant/src/utils/uuid.c [moved from components/wpa_supplicant/src/wps/uuid.c with 93% similarity]
components/wpa_supplicant/src/utils/uuid.h [moved from components/wpa_supplicant/include/wps/utils/uuid.h with 100% similarity]
components/wpa_supplicant/src/utils/wpa_debug.c [new file with mode: 0644]
components/wpa_supplicant/src/utils/wpabuf.c [new file with mode: 0644]
components/wpa_supplicant/src/wps/eap_common.c [deleted file]
components/wpa_supplicant/src/wps/wps.c
components/wpa_supplicant/src/wps/wps.h [moved from components/wpa_supplicant/include/wps/wps.h with 98% similarity]
components/wpa_supplicant/src/wps/wps_attr_build.c
components/wpa_supplicant/src/wps/wps_attr_parse.c
components/wpa_supplicant/src/wps/wps_attr_parse.h [moved from components/wpa_supplicant/include/wps/wps_attr_parse.h with 100% similarity]
components/wpa_supplicant/src/wps/wps_attr_process.c
components/wpa_supplicant/src/wps/wps_common.c
components/wpa_supplicant/src/wps/wps_defs.h [moved from components/wpa_supplicant/include/wps/wps_defs.h with 100% similarity]
components/wpa_supplicant/src/wps/wps_dev_attr.c
components/wpa_supplicant/src/wps/wps_dev_attr.h [moved from components/wpa_supplicant/include/wps/wps_dev_attr.h with 100% similarity]
components/wpa_supplicant/src/wps/wps_enrollee.c
components/wpa_supplicant/src/wps/wps_i.h [moved from components/wpa_supplicant/include/wps/wps_i.h with 99% similarity]
components/wpa_supplicant/src/wps/wps_registrar.c
components/wpa_supplicant/src/wps/wps_validate.c
components/wpa_supplicant/tags [new file with mode: 0644]
components/wpa_supplicant/test/CMakeLists.txt
components/wpa_supplicant/test/component.mk
components/wpa_supplicant/test/test_header_files_md5.c [new file with mode: 0644]
examples/wifi/wpa2_enterprise/main/wpa2_enterprise_main.c