]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agosoc: remove deprecated io_mux PIN_PULLxxx_yyy macros
Angus Gratton [Wed, 21 Aug 2019 02:57:07 +0000 (12:57 +1000)]
soc: remove deprecated io_mux PIN_PULLxxx_yyy macros

Deprecated before ESP-IDF V1.0!

5 years agombedtls: Remove esp_aes_encrypt/decrypt
Angus Gratton [Wed, 21 Aug 2019 02:55:26 +0000 (12:55 +1000)]
mbedtls: Remove esp_aes_encrypt/decrypt

Deprecated in ESP-IDF V3.1

Anyone reading this should please include mbedtls/aes.h and use mbedTLS APIs,
not the ESP-specific APIs.

5 years agoheap: Remove esp_heap_alloc_caps header
Angus Gratton [Wed, 21 Aug 2019 02:53:53 +0000 (12:53 +1000)]
heap: Remove esp_heap_alloc_caps header

Deprecated in ESP-IDF V3.1

5 years agofatfs: Remove esp_vfs_fat_unregister()
Angus Gratton [Wed, 21 Aug 2019 02:52:55 +0000 (12:52 +1000)]
fatfs: Remove esp_vfs_fat_unregister()

Deprecated in ESP-IDF V2.0

5 years agoesp_wifi: Remove WIFI_PS_MODEM constant
Angus Gratton [Wed, 21 Aug 2019 02:50:14 +0000 (12:50 +1000)]
esp_wifi: Remove WIFI_PS_MODEM constant

Deprecated in ESP-IDF V3.1

5 years agoesp_wifi: Remove deprecated auto connect API
Angus Gratton [Wed, 21 Aug 2019 02:49:30 +0000 (12:49 +1000)]
esp_wifi: Remove deprecated auto connect API

Deprecated in ESP-IDF V3.1

5 years agoringbuf: Remove deprecated RingbufferType_t
Angus Gratton [Wed, 21 Aug 2019 02:48:32 +0000 (12:48 +1000)]
ringbuf: Remove deprecated RingbufferType_t

Deprecated in ESP-IDF V3.1

5 years agowdt: Remove deprecated esp_task_wdt_feed() function
Angus Gratton [Wed, 21 Aug 2019 02:47:12 +0000 (12:47 +1000)]
wdt: Remove deprecated esp_task_wdt_feed() function

Deprecated in ESP-IDF V3.1

5 years agoesp32/esp_common: Remove deprecated esp_efuse_read_mac() function
Angus Gratton [Wed, 21 Aug 2019 02:46:09 +0000 (12:46 +1000)]
esp32/esp_common: Remove deprecated esp_efuse_read_mac() function

Deprecated since ESP-IDF V2.0

5 years agoesp32/esp_common: Remove deprecated system_* APIs
Angus Gratton [Wed, 21 Aug 2019 02:45:09 +0000 (12:45 +1000)]
esp32/esp_common: Remove deprecated system_* APIs

Mostly deprecated before ESP-IDF V1.0 & V2.0

5 years agoesp_adc_cal: Remove deprecated ADC calibration functions
Angus Gratton [Wed, 21 Aug 2019 02:41:16 +0000 (12:41 +1000)]
esp_adc_cal: Remove deprecated ADC calibration functions

Deprecated since ESP-IDF V3.1

5 years agoesp32: Remove deprecated system_deep_sleep function
Angus Gratton [Wed, 21 Aug 2019 02:39:58 +0000 (12:39 +1000)]
esp32: Remove deprecated system_deep_sleep function

Deprecated since ESP-IDF V3.0

5 years agoesp32/test: fix usage of deprecated fields
Ivan Grokhotkov [Fri, 26 Oct 2018 11:52:49 +0000 (19:52 +0800)]
esp32/test: fix usage of deprecated fields

5 years agosoc/pm: Remove deprecated use of rtc_cpu_freq_t enum
Angus Gratton [Wed, 21 Aug 2019 02:38:05 +0000 (12:38 +1000)]
soc/pm: Remove deprecated use of rtc_cpu_freq_t enum

Removes deprecated ways of setting/getting CPU freq, light sleep freqs.

Deprecated since ESP-IDF V3.2

5 years agodriver: Remove features deprecated pre-IDF V4.0
Angus Gratton [Wed, 21 Aug 2019 02:31:44 +0000 (12:31 +1000)]
driver: Remove features deprecated pre-IDF V4.0

5 years agoapp_update: Remove deprecated "make erase_ota" target
Angus Gratton [Wed, 21 Aug 2019 02:20:04 +0000 (12:20 +1000)]
app_update: Remove deprecated "make erase_ota" target

Deprecated in v3.2

5 years agobootloader_support: Remove deprecated partition load/verify functions
Angus Gratton [Wed, 21 Aug 2019 02:19:08 +0000 (12:19 +1000)]
bootloader_support: Remove deprecated partition load/verify functions

Deprecated since v3.2

5 years agobluetooth: Remove bt.h header (deprecated in v3.1-dev)
Angus Gratton [Wed, 21 Aug 2019 02:17:57 +0000 (12:17 +1000)]
bluetooth: Remove bt.h header (deprecated in v3.1-dev)

5 years agoMerge branch 'bugfix/transport' into 'master'
Jiang Jiang Jian [Thu, 12 Sep 2019 05:55:48 +0000 (13:55 +0800)]
Merge branch 'bugfix/transport' into 'master'

fix(transport): Fix a bug of the connection whether be active or not.

See merge request espressif/esp-idf!5604

5 years agofix(transport): Fix a bug of the connection whether be active or not by timeout optio...
Liu Han [Thu, 12 Sep 2019 05:55:47 +0000 (13:55 +0800)]
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.

5 years agoMerge branch 'docs/wifi_update_concurrent_mode_info' into 'master'
Jiang Jiang Jian [Thu, 12 Sep 2019 05:45:45 +0000 (13:45 +0800)]
Merge branch 'docs/wifi_update_concurrent_mode_info' into 'master'

docs: wifi: wifi_guide update for disconnection warning in case of invalid...

See merge request espressif/esp-idf!5861

5 years agodocs: wifi: wifi_guide update for disconnection warning in case of invalid initiation...
Hrudaynath Dhabe [Thu, 12 Sep 2019 05:45:44 +0000 (13:45 +0800)]
docs: wifi: wifi_guide update for disconnection warning in case of invalid initiation in `WIFI_MODE_APSTA`.

    Added warning to expect momentary disconnection of exSTA if channel of exAP is different than that of softAP and a prescribed solution.

5 years agoMerge branch 'bugfix/uart_select_free' into 'master'
Jiang Jiang Jian [Thu, 12 Sep 2019 05:38:43 +0000 (13:38 +0800)]
Merge branch 'bugfix/uart_select_free' into 'master'

VFS: Fix memory access after free() in UART select()

Closes IDFGH-1820

See merge request espressif/esp-idf!6045

5 years agoMerge branch 'feature/btdm_add_hf_nvrc_command' into 'master'
Jiang Jiang Jian [Thu, 12 Sep 2019 05:25:18 +0000 (13:25 +0800)]
Merge branch 'feature/btdm_add_hf_nvrc_command' into 'master'

BT HFP: Add AT+NREC=0 command for disabling AG echo cancellation.

See merge request espressif/esp-idf!5974

5 years agoMerge branch 'bugfix/btdm_config_msbc' into 'master'
Jiang Jiang Jian [Thu, 12 Sep 2019 05:23:41 +0000 (13:23 +0800)]
Merge branch 'bugfix/btdm_config_msbc' into 'master'

components/bt: Disable Wide Bond Speech when SCO data path is PCM

See merge request espressif/esp-idf!5978

5 years agoMerge branch 'bugfix/cmake_sdkconfig_path' into 'master'
Angus Gratton [Wed, 11 Sep 2019 03:39:49 +0000 (11:39 +0800)]
Merge branch 'bugfix/cmake_sdkconfig_path' into 'master'

fix bug for cmake build system

See merge request espressif/esp-idf!6052

5 years agofix bug for cmake build system
jiangguangming [Mon, 9 Sep 2019 07:46:47 +0000 (15:46 +0800)]
fix bug for cmake build system

The path of ${SDKCONFIG_H} does not exist, should be replaced by ${sdkconfig_header}.

5 years agoMerge branch 'bugfix/flash_encryption_disable_plaintext' into 'master'
Angus Gratton [Tue, 10 Sep 2019 23:59:33 +0000 (07:59 +0800)]
Merge branch 'bugfix/flash_encryption_disable_plaintext' into 'master'

flash encryption: Always disable plaintext reflashes in Release mode

See merge request espressif/esp-idf!6051

5 years agoMerge branch 'bugfix/wpa2_ent_eap_reauth_fail' into 'master'
Jiang Jiang Jian [Tue, 10 Sep 2019 12:14:22 +0000 (20:14 +0800)]
Merge branch 'bugfix/wpa2_ent_eap_reauth_fail' into 'master'

wpa_supplicant: Fix EAP Re-authentication issue

See merge request espressif/esp-idf!5588

5 years agoMerge branch 'bugfix/multi_heap_printf' into 'master'
Angus Gratton [Tue, 10 Sep 2019 05:26:27 +0000 (13:26 +0800)]
Merge branch 'bugfix/multi_heap_printf' into 'master'

heap: Fix printf usage in heap poisoning

See merge request espressif/esp-idf!6046

5 years agoMerge branch 'doc/build_system_requirements' into 'master'
Angus Gratton [Tue, 10 Sep 2019 05:10:03 +0000 (13:10 +0800)]
Merge branch 'doc/build_system_requirements' into 'master'

docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail

See merge request espressif/esp-idf!5965

5 years agoVFS: Fix memory access after free() in UART select()
Roland Dobai [Mon, 9 Sep 2019 13:02:38 +0000 (15:02 +0200)]
VFS: Fix memory access after free() in UART select()

Closes https://github.com/espressif/esp-idf/issues/4030

5 years agoMerge branch 'bugfix/ble_mesh_related_bugfixes' into 'master'
Jiang Jiang Jian [Tue, 10 Sep 2019 01:46:26 +0000 (09:46 +0800)]
Merge branch 'bugfix/ble_mesh_related_bugfixes' into 'master'

Bugfix/ble mesh related bugfixes

See merge request espressif/esp-idf!5975

5 years agobootloader: Link RTC clock functions to the iram_loader section
Angus Gratton [Tue, 10 Sep 2019 01:28:17 +0000 (11:28 +1000)]
bootloader: Link RTC clock functions to the iram_loader section

As flash encryption & secure boot needs these functions after the app is loaded.

Fixes regression introduced in fb72a6f629a62c0655e8eff1d2d3f67d7aa9b62c

5 years agodocs: Small cleanup of flash encryption docs
Angus Gratton [Tue, 10 Sep 2019 00:52:13 +0000 (10:52 +1000)]
docs: Small cleanup of flash encryption docs

5 years agoflash encryption: Ensure flash encryption can't be disabled if Secure Boot is on
Angus Gratton [Fri, 12 Jul 2019 06:29:40 +0000 (16:29 +1000)]
flash encryption: Ensure flash encryption can't be disabled if Secure Boot is on

5 years agodocs: Explain build system REQUIRES & PRIV_REQUIRES in more detail
Angus Gratton [Fri, 30 Aug 2019 08:08:19 +0000 (18:08 +1000)]
docs: Explain build system REQUIRES & PRIV_REQUIRES in more detail

Including an example.

5 years agoheap: Fix printf usage in heap poisoning
Darian Leung [Mon, 9 Sep 2019 13:56:39 +0000 (21:56 +0800)]
heap: Fix printf usage in heap poisoning

This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.

5 years agoMerge branch 'doc/review_api-ref_periph-sdspi_host' into 'master'
Krzysztof Budzynski [Mon, 9 Sep 2019 11:59:56 +0000 (19:59 +0800)]
Merge branch 'doc/review_api-ref_periph-sdspi_host' into 'master'

Review the file api-reference/peripherals/sdspi_host.rst

See merge request espressif/esp-idf!5732

5 years agoReview the file api-reference/peripherals/sdspi_host.rst
Kirill Chalov [Thu, 8 Aug 2019 12:15:48 +0000 (20:15 +0800)]
Review the file api-reference/peripherals/sdspi_host.rst

5 years agoble_mesh: update ble mesh examples sdkconfig.defaults
lly [Tue, 3 Sep 2019 11:32:05 +0000 (19:32 +0800)]
ble_mesh: update ble mesh examples sdkconfig.defaults

5 years agoble_mesh: fix ble mesh btc may caused memory leak
lly [Mon, 2 Sep 2019 07:39:59 +0000 (15:39 +0800)]
ble_mesh: fix ble mesh btc may caused memory leak

5 years agoble_mesh: fix publication period timestamp initialization
lly [Mon, 2 Sep 2019 07:37:10 +0000 (15:37 +0800)]
ble_mesh: fix publication period timestamp initialization

5 years agoble_mesh: remove useless mesh_opcode
lly [Mon, 2 Sep 2019 07:35:03 +0000 (15:35 +0800)]
ble_mesh: remove useless mesh_opcode

5 years agoble_mesh: fix bt_mesh_net_resend() caused compiling error
lly [Mon, 2 Sep 2019 07:32:20 +0000 (15:32 +0800)]
ble_mesh: fix bt_mesh_net_resend() caused compiling error

5 years agoble_mesh: fix adhering to the configured Friend Queue size
lly [Mon, 2 Sep 2019 07:30:40 +0000 (15:30 +0800)]
ble_mesh: fix adhering to the configured Friend Queue size

5 years agoble_mesh: remove useless code bt_mesh_trans_resend()
lly [Mon, 2 Sep 2019 07:18:33 +0000 (15:18 +0800)]
ble_mesh: remove useless code bt_mesh_trans_resend()

5 years agoble_mesh: lpn remove msg from cache on rejection
lly [Mon, 2 Sep 2019 07:17:20 +0000 (15:17 +0800)]
ble_mesh: lpn remove msg from cache on rejection

5 years agoble_mesh: introduce a helper for send callback function
lly [Mon, 2 Sep 2019 07:15:28 +0000 (15:15 +0800)]
ble_mesh: introduce a helper for send callback function

5 years agoble_mesh: fix heartbeat sending on friendship established/lost
lly [Mon, 2 Sep 2019 07:12:12 +0000 (15:12 +0800)]
ble_mesh: fix heartbeat sending on friendship established/lost

5 years agoble_mesh: fix checking for active heartbeat publication
lly [Mon, 2 Sep 2019 07:09:48 +0000 (15:09 +0800)]
ble_mesh: fix checking for active heartbeat publication

5 years agoble_mesh: fix starting iv update when not on primary subnet
lly [Mon, 2 Sep 2019 07:07:20 +0000 (15:07 +0800)]
ble_mesh: fix starting iv update when not on primary subnet

5 years agoble_mesh: fix canceling publication retransmit timer
lly [Mon, 2 Sep 2019 07:04:52 +0000 (15:04 +0800)]
ble_mesh: fix canceling publication retransmit timer

5 years agoble_mesh: fix resending segments on correct bearer
lly [Mon, 2 Sep 2019 07:03:42 +0000 (15:03 +0800)]
ble_mesh: fix resending segments on correct bearer

5 years agoble_mesh: fix not sending all segments through the Friend Queue
lly [Mon, 2 Sep 2019 06:59:41 +0000 (14:59 +0800)]
ble_mesh: fix not sending all segments through the Friend Queue

5 years agoble_mesh: fix canceled buffer memory leak
lly [Mon, 2 Sep 2019 06:55:09 +0000 (14:55 +0800)]
ble_mesh: fix canceled buffer memory leak

5 years agoble_mesh: remove some useless copy during ecdh calculation
lly [Mon, 2 Sep 2019 06:51:35 +0000 (14:51 +0800)]
ble_mesh: remove some useless copy during ecdh calculation

5 years agoble_mesh: move heartbeat sending to transport layer
lly [Mon, 2 Sep 2019 06:48:43 +0000 (14:48 +0800)]
ble_mesh: move heartbeat sending to transport layer

5 years agoble_mesh: fix provisioning send error handling
lly [Mon, 2 Sep 2019 06:42:35 +0000 (14:42 +0800)]
ble_mesh: fix provisioning send error handling

5 years agoble_mesh: fix rejecting invalid remote public key
lly [Mon, 2 Sep 2019 06:40:28 +0000 (14:40 +0800)]
ble_mesh: fix rejecting invalid remote public key

5 years agoble_mesh: add error checks for scan start/stop
lly [Mon, 2 Sep 2019 06:38:12 +0000 (14:38 +0800)]
ble_mesh: add error checks for scan start/stop

5 years agoble_mesh: rename reset_link() to reset_adv_link()
lly [Mon, 2 Sep 2019 06:36:24 +0000 (14:36 +0800)]
ble_mesh: rename reset_link() to reset_adv_link()

5 years agoble_mesh: fix public key mismatch error handling
lly [Mon, 2 Sep 2019 06:34:58 +0000 (14:34 +0800)]
ble_mesh: fix public key mismatch error handling

5 years agoble_mesh: update protocol error timeout from zephyr
lly [Mon, 2 Sep 2019 06:32:54 +0000 (14:32 +0800)]
ble_mesh: update protocol error timeout from zephyr

5 years agoble_mesh: fix segmented message RPL behavior
lly [Mon, 2 Sep 2019 06:26:32 +0000 (14:26 +0800)]
ble_mesh: fix segmented message RPL behavior

5 years agoble_mesh: clear LPN sent_req on failure
lly [Mon, 2 Sep 2019 06:22:28 +0000 (14:22 +0800)]
ble_mesh: clear LPN sent_req on failure

5 years agoble_mesh: update proxy sar operation from zephyr
lly [Mon, 2 Sep 2019 06:21:03 +0000 (14:21 +0800)]
ble_mesh: update proxy sar operation from zephyr

5 years agoble_mesh: fix postponing storage deadline indefinitely
lly [Mon, 2 Sep 2019 06:17:47 +0000 (14:17 +0800)]
ble_mesh: fix postponing storage deadline indefinitely

5 years agoble_mesh: fix RPL storage timeout handling
lly [Mon, 2 Sep 2019 06:16:33 +0000 (14:16 +0800)]
ble_mesh: fix RPL storage timeout handling

5 years agoble_mesh: fix output MIC with additional data
lly [Mon, 2 Sep 2019 06:06:15 +0000 (14:06 +0800)]
ble_mesh: fix output MIC with additional data

5 years agoble_mesh: remove non-standard relay opearation
lly [Mon, 2 Sep 2019 06:01:54 +0000 (14:01 +0800)]
ble_mesh: remove non-standard relay opearation

5 years agoble_mesh: fix finding netkey/appkey/devkey for tx/rx msg
lly [Mon, 2 Sep 2019 06:00:24 +0000 (14:00 +0800)]
ble_mesh: fix finding netkey/appkey/devkey for tx/rx msg

5 years agoble_mesh: fix failed to set device role caused mem leak
lly [Mon, 2 Sep 2019 05:08:05 +0000 (13:08 +0800)]
ble_mesh: fix failed to set device role caused mem leak

5 years agoble_mesh: ble mesh btc miscellaneous modifications
lly [Mon, 2 Sep 2019 05:01:06 +0000 (13:01 +0800)]
ble_mesh: ble mesh btc miscellaneous modifications

5 years agoble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug
lly [Mon, 2 Sep 2019 04:40:31 +0000 (12:40 +0800)]
ble_mesh: fix MESH/NODE/FRND/FN/BV-11-C related bug

5 years agoble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug
lly [Mon, 2 Sep 2019 04:38:49 +0000 (12:38 +0800)]
ble_mesh: fix MESH/NODE/CFG/GPXY/BV-02-C & MESH/NODE/CFG/NID/BV-02-C related bug

5 years agoble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug
lly [Mon, 2 Sep 2019 04:36:37 +0000 (12:36 +0800)]
ble_mesh: fix MESH/NODE/CFG/HBS/BV-01-C related bug

5 years agoble_mesh: rename ble mesh client model variables and functions
lly [Mon, 2 Sep 2019 04:06:20 +0000 (12:06 +0800)]
ble_mesh: rename ble mesh client model variables and functions

5 years agoble_mesh: reorganize ble mesh model files
lly [Mon, 2 Sep 2019 03:41:39 +0000 (11:41 +0800)]
ble_mesh: reorganize ble mesh model files

5 years agoble_mesh: sync zephyr v1.14.0 bt_hex()
lly [Mon, 2 Sep 2019 03:20:15 +0000 (11:20 +0800)]
ble_mesh: sync zephyr v1.14.0 bt_hex()

5 years agoble_mesh: fix provisioner prov auth bug
lly [Mon, 2 Sep 2019 03:17:25 +0000 (11:17 +0800)]
ble_mesh: fix provisioner prov auth bug

5 years agoMerge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'
Mahavir Jain [Fri, 6 Sep 2019 13:12:04 +0000 (21:12 +0800)]
Merge branch 'bugfix/mbedtls_client_only_config_build_failure' into 'master'

Fix build issues in coap library with mbedtls client only config

See merge request espressif/esp-idf!5955

5 years agoMerge branch 'doc/add_Chinese_translation_to_README_files_in_components_and_tools_fol...
Krzysztof Budzynski [Fri, 6 Sep 2019 12:18:20 +0000 (20:18 +0800)]
Merge branch 'doc/add_Chinese_translation_to_README_files_in_components_and_tools_folders_1st_batch' into 'master'

Add Chinese translation for storage documents linked to README files in components and tools folders (1st batch)

See merge request espressif/esp-idf!5620

5 years agoAdd Chinese translation for README files in components and tools folders, including:
Wang Fang [Fri, 6 Sep 2019 12:18:19 +0000 (20:18 +0800)]
Add Chinese translation for README files in components and tools folders, including:

1. components/nvs_flash/nvs_partition_generator/README_CN.rst
2. components/wear_levelling/README_CN.rst
3. tools/mass_mfg/docs/README_CN.rst

5 years agoMerge branch 'doc/add_Chinese_translation_to_rst_files_in_storage_folder_1st_batch...
Krzysztof Budzynski [Fri, 6 Sep 2019 11:12:37 +0000 (19:12 +0800)]
Merge branch 'doc/add_Chinese_translation_to_rst_files_in_storage_folder_1st_batch' into 'master'

Doc/add chinese translation to rst files in storage folder 1st batch

See merge request espressif/esp-idf!5613

5 years agoAdd Chinese translation for the rst documents in storage folder, including:
Wang Fang [Fri, 6 Sep 2019 11:12:36 +0000 (19:12 +0800)]
Add Chinese translation for the rst documents in storage folder, including:

1. docs/zh_CN/api-reference/storage/fatfs.rst
2. docs/zh_CN/api-reference/storage/index.rst
3. docs/zh_CN/api-reference/storage/sdmmc.rst
4. docs/zh_CN/api-reference/storage/spiffs.rst
5. docs/zh_CN/api-reference/storage/wear-levelling.rst

5 years agoFix libcoap building with various MbedTLS compile time options
Jon Shallow [Wed, 28 Aug 2019 09:03:17 +0000 (10:03 +0100)]
Fix libcoap building with various MbedTLS compile time options

components/coap/port/coap_mbedtls.c:

Add in additional compile time check wrappers for different MbedTLS
configurations.

components/coap/CMakeLists.txt:
components/coap/component.mk:
components/coap/port/coap_notls.c:
components/coap/port/include/coap_config_posix.h:

Add in the ability to compile and run if MbedTLS does not have any TLS
mode enabled.

examples/protocols/coap_client/main/coap_client_example_main.c:

Inform user that MbedTLS Client Mode is required for DTLS if not enabled,
and coaps:// has been requested.
[Lower libcoap library will still error and report this condition]

examples/protocols/coap_server/main/coap_server_example_main.c:

Inform user that MbedTLS Server Mode is required for DTLS if not enabled.
[Lower libcoap library will still error and report this condition]

Closes https://github.com/espressif/esp-idf/issues/3961
Closes https://github.com/espressif/esp-idf/issues/3971
Closes https://github.com/espressif/esp-idf/pull/3977

5 years agowpa_supplicant: Fix EAP Re-authentication issue
Nachiket Kukade [Fri, 23 Aug 2019 10:37:20 +0000 (16:07 +0530)]
wpa_supplicant: Fix EAP Re-authentication issue

EAP reauth frames are dropped at various stages due to current
implementation of WPA2 ENT states and EAP SM init/deinit logic.
Route EAPOL frames based on EAP pkt type and maintain EAP SM
to facilitate EAP re-authentication process.

The full fix for the change includes a fix from wifi library
(commit - 36f99df849214fbf9b0d15e58554632a568e05aa).

5 years agoMerge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'
Angus Gratton [Fri, 6 Sep 2019 08:04:56 +0000 (16:04 +0800)]
Merge branch 'fix/add_parentheses_to_spi_swap_data_tx' into 'master'

spi: Put argument of macro SPI_SWAP_DATA_TX in parentheses

See merge request espressif/esp-idf!5982

5 years agoMerge branch 'bugfix/ethernet_rx_length_check' into 'master'
Angus Gratton [Fri, 6 Sep 2019 07:39:20 +0000 (15:39 +0800)]
Merge branch 'bugfix/ethernet_rx_length_check' into 'master'

ethernet: bugfix and optimize

Closes IDF-864, IDF-865, IDF-866, and IDF-867

See merge request espressif/esp-idf!5944

5 years agoMerge branch 'feature/coredump_data_in_elf_format_cpu_cache_enable' into 'master'
Angus Gratton [Fri, 6 Sep 2019 07:37:56 +0000 (15:37 +0800)]
Merge branch 'feature/coredump_data_in_elf_format_cpu_cache_enable' into 'master'

espcoredump: Enable cpu cache in panic handler for core dump

See merge request espressif/esp-idf!5496

5 years agoespcoredump: fix issue with spi_flash access
Alex Lisitsyn [Fri, 6 Sep 2019 07:37:55 +0000 (15:37 +0800)]
espcoredump: fix issue with spi_flash access

spi_flash has been updated and its functions work from flash by default instead of IRAM that cause issue
add Kconfig value into espcoredump to enable spi_flash legacy mode (CONFIG_SPI_FLASH_USE_LEGACY_IMPL) when core dump is selected
fix spi_flash issues to work correctly with legacy mode when CONFIG_SPI_FLASH_USE_LEGACY_IMPL is used

5 years agoMerge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:34:47 +0000 (14:34 +0800)]
Merge branch 'bugfix/fix_the_bug_for_WPA_WPA2_PSK_connection_fail' into 'master'

fix the bug for WPA_WPA2_PSK connection fail

See merge request espressif/esp-idf!6009

5 years agoMerge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:29:45 +0000 (14:29 +0800)]
Merge branch 'bugfix/btdm_a2dp_sink_media_suspend_cmd_unack' into 'master'

bugfix/btdm_a2dp_sink_media_suspend_cmd_unack

See merge request espressif/esp-idf!5937

5 years agoMerge branch 'bugfix/rom_miniz_notes' into 'master'
Jiang Jiang Jian [Fri, 6 Sep 2019 06:18:57 +0000 (14:18 +0800)]
Merge branch 'bugfix/rom_miniz_notes' into 'master'

rom: Add warnings for miniz functions that won't work due to missing malloc

Closes IDFGH-1814

See merge request espressif/esp-idf!6012

5 years agoMerge branch 'bugfix/http_header_parser_resolution' into 'master'
Mahavir Jain [Fri, 6 Sep 2019 03:02:37 +0000 (11:02 +0800)]
Merge branch 'bugfix/http_header_parser_resolution' into 'master'

esp_http_server : Bugfix in parsing of empty header values

Closes IDFGH-1539

See merge request espressif/esp-idf!5663

5 years agoesp_http_server : Bugfix in parsing of empty header values
Chinmay Chhajed [Fri, 6 Sep 2019 03:02:36 +0000 (11:02 +0800)]
esp_http_server : Bugfix in parsing of empty header values

This MR is intended to fix incorrect parsing of HTTP requests when empty header values are present.

The issue is was due to asymmetric behavior of `http_parser` library, which in case of:

    non-empty header values : invokes callbacks with the pointer to the start of a value
    empty header values : invokes callbacks with pointer to the start of next header or section

Since HTTP server relies on this pointer (along with length of the value) to locate the end of a value, and replace the line terminators (CRLFs) with null characters, the second case needed to be handled correctly.

Closes IDFGH-1539

Closes https://github.com/espressif/esp-idf/issues/3803

5 years agorom: Add warnings for miniz functions that won't work due to missing malloc
Angus Gratton [Fri, 6 Sep 2019 01:01:34 +0000 (11:01 +1000)]
rom: Add warnings for miniz functions that won't work due to missing malloc

Closes https://github.com/espressif/esp-idf/issues/4024

5 years agofix the bug that STA fails to connect WPA_WPA2_PSK Apple AP
zhangyanjiao [Thu, 5 Sep 2019 12:20:42 +0000 (20:20 +0800)]
fix the bug that STA fails to connect WPA_WPA2_PSK Apple AP

5 years agoMerge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'
Jiang Jiang Jian [Thu, 5 Sep 2019 04:01:35 +0000 (12:01 +0800)]
Merge branch 'bugfix/btdm_crash_in_sket_ist' into 'master'

Fix 2 bugs in r_ld_fm_sket_isr

See merge request espressif/esp-idf!5946