Commit Graph

19537 Commits

Author SHA1 Message Date
jgujarathi
9451630000 fix(wpa_supplicant) : Fix occasional crash during btm roam.
Fix crash due to premature deallocation of neighbour report elements
by scan_done. Post event to btm_rrm_t task to handle scan_done serially
rather than when btm_rrm_t task is processing btm request rx frame.
2023-07-12 11:02:20 +05:30
Jiang Jiang Jian
33d18182b7 Merge branch 'bugfix/increase_pm_dump_time_field_length_v4.3' into 'release/v4.3'
Power Management: increase pm_dump time field width (backport v4.3)

See merge request espressif/esp-idf!24447
2023-07-11 01:50:47 +08:00
wuzhenghui
f33fbdcd2d bugfix: increase pm_dump time field width
Closes https://github.com/espressif/esp-idf/issues/11704
2023-07-10 06:40:37 +00:00
Sachin Parekh
f8ae448767 esp_pm: Label each column of lock dump 2023-07-10 06:40:37 +00:00
Jiang Jiang Jian
9195898b15 Merge branch 'mesh/bugfix_fix_layer2_node_scan_issue_when_fixed_root_v4.3' into 'release/v4.3'
fix(wifi_mesh): layer2 node will scan all channels when fixed root leave (backport v4.3)

See merge request espressif/esp-idf!24633
2023-07-10 12:29:15 +08:00
Jiang Jiang Jian
7c0156359e Merge branch 'bugfix/update_esp_rom_layout_v4.3' into 'release/v4.3'
esp_rom: fix rom layout issues (backport v4.3)

See merge request espressif/esp-idf!24642
2023-07-08 14:55:08 +08:00
Jiang Guang Ming
be2aa49519 esp_rom: fix rom layout issues 2023-07-07 01:38:45 -07:00
Armando
fb231a26d9 spi_flash: rename spi_flash_os_func_app: spi_start, spi_end
spi_start -> s_acquire_spi_bus_lock
spi_end -> s_release_spi_bus_lock
2023-07-07 11:10:27 +08:00
Armando
0fe635f111 spi_flash: fix concurrency issue when calling esp_flash apis under xip_psram or auto_suspen 2023-07-07 11:10:27 +08:00
zhangyanjiao
3e36f7c5d5 fix(wifi_mesh): layer2 node will scan all channels when fixed root leave 2023-07-07 10:04:08 +08:00
Jiang Jiang Jian
af6498f582 Merge branch 'bugfix/fix_some_bt_controller_bug_v4.3' into 'release/v4.3'
component_bt:Fixed some bluetooth bugs(v4.3)

See merge request espressif/esp-idf!24581
2023-07-05 19:51:27 +08:00
xiongweichao
4630164d81 bt: Fixed some bluetooth bugs
1. Fixed LC_AFH_UPDATE_IND  has not benn processed causing memory exhaustion
2. Fixed no free elt in prog push
3. Fixed disconnect due to sniff with error Dsniff
4. Fixed the problem that the host continued to send ACL data to the controller after disconnection, which caused the connection to fail again
2023-07-04 15:39:42 +08:00
chenjianhua
f92bfe15f2 Update bt-lib for esp32
- Fixed memory leak when setting adv data
2023-07-04 15:39:35 +08:00
xiongweichao
0292dc50cf components/bt: Fix crash due to NULL point 2023-07-04 15:39:30 +08:00
Armando
63e24a9ff9 spiflash: fix not calling on_spi_acquired when CONFIG_SPI_FLASH_SHARE_SPI1_BUS issue 2023-06-30 15:58:09 +08:00
Mahavir Jain
97653257fd Merge branch 'protobuf-c/update_submodule_to_v4.3' into 'release/v4.3'
protobuf-c: Update submodule to v1.4.1 (v4.3)

See merge request espressif/esp-idf!24423
2023-06-29 16:18:05 +08:00
Jiang Jiang Jian
0814f6565a Merge branch 'bugfix/resume_ext_scan_pti_in_time_v4.3' into 'release/v4.3'
bt: fix the issue that BLE scan uses high priority incorrectly and causes Wi-Fi unable to work normally on ESP32-C3 and ESP32-S3(backport v4.3)

See merge request espressif/esp-idf!24407
2023-06-28 14:29:35 +08:00
harshal.patil
9733dced38 protobuf-c: Update submodule to v1.4.1 2023-06-27 12:04:56 +05:30
wangmengyang
5ebe45433f bt-coexist: fix the issue for BLE scan in using whitelist that scan PTI keeps high and not resumes after reception of ADV_EXT_IND but no AUX_ADV_IND followed on ESP32-C3 and ESP32-S3, which causes Wi-Fi unable to work normally 2023-06-26 15:35:24 +08:00
Jiang Jiang Jian
4c0206c156 Merge branch 'bugfix/hfp_packet_type_err_v4.3' into 'release/v4.3'
Revised (e)SCO configuration parameter sets (v4.3)

See merge request espressif/esp-idf!24355
2023-06-26 10:22:36 +08:00
Jiang Jiang Jian
3fddf4a761 Merge branch 'bugfix/alarm_not_free_when_a2dp_deinit_v4.3' into 'release/v4.3'
bugfix/Fixed the issue of alarm leak (v4.3)

See merge request espressif/esp-idf!24354
2023-06-26 10:21:57 +08:00
Krzysztof Budzynski
01447b3cbe Merge branch 'docs/fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram_v4.3' into 'release/v4.3'
Docs/Fix error in esp32-s2-devkitc-1 pin layout diagram (v4.3)

See merge request espressif/esp-idf!24119
2023-06-25 19:42:53 +08:00
Aditya Patwardhan
bcec78f672 Merge branch 'contrib/github_pr_11402_v4.3' into 'release/v4.3'
esp_ds: ignore releasing mutex if not called from same task (GitHub PR) (v4.3)

See merge request espressif/esp-idf!24315
2023-06-23 14:18:02 +08:00
Island
d6615a631e Merge branch 'feature/expose_addr_resolv_out_stack_v4.3' into 'release/v4.3'
Nimble:Added change to expose addr resolution API outside stack(v4.3)

See merge request espressif/esp-idf!23903
2023-06-21 19:38:31 +08:00
Wang Ning
3f6156657b fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram 2023-06-21 08:12:08 +00:00
Jin Cheng
988892e0d6 Fixed the issue of alarm leak in hf-ag 2023-06-21 15:36:09 +08:00
Jin Cheng
d817d66d5f Fixed the issue of alarm leak in A2DP 2023-06-21 15:35:59 +08:00
Jin Cheng
3a91557f4e Revised (e)SCO configuration parameter sets 2023-06-21 14:50:20 +08:00
Rahul Tank
c429ef9a97 Nimble:Added change to expose addr resolution API outside stack 2023-06-20 20:00:47 +05:30
Jiang Jiang Jian
9812efb236 Merge branch 'bugfix/fix_some_ble_bugs_v4.3' into 'release/v4.3'
Fixed some BLE bugs (backport v4.3)

See merge request espressif/esp-idf!24286
2023-06-20 19:24:07 +08:00
Jiang Jiang Jian
0619320ee6 Merge branch 'bugfix/install_keys_after_successful_4_of_4_tx_v4.3' into 'release/v4.3'
esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message(backport v4.3)

See merge request espressif/esp-idf!23624
2023-06-20 16:43:27 +08:00
Christoph Baechler
0002b59fc6
esp_ds: ignore releasing mutex if not called from same task 2023-06-20 09:02:48 +05:30
Roland Dobai
9dfc9b6244 Merge branch 'feature/submodules_sbom_v4.3' into 'release/v4.3'
tools: add sbom information for submodules (v4.3)

See merge request espressif/esp-idf!24246
2023-06-19 21:51:46 +08:00
Shreyas Sheth
5e60fb4fd4 esp_wifi: Install keys after eapol and NVS store security values
1. Bugfix store authmode security in NVS
2. Install keys after successful transmission of EAPOL 4/4 Message
2023-06-18 01:25:58 +05:30
Jiang Jiang Jian
dae9bac87f Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v4.3' into 'release/v4.3'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v4.3)

See merge request espressif/esp-idf!24157
2023-06-16 18:44:26 +08:00
chenjianhua
7c916516a8 Update bt-lib for esp32
1 Fixed disconnection delay on peripheral when slave latency is not zero
2 Fixed LLCP info init for central and peripheral
3 Fixed sent cmd status evt twice when process disconnect cmd
2023-06-16 18:03:12 +08:00
chenjianhua
ea39667b84 Fixed crash when controller initialization fails due to insufficient memory 2023-06-16 18:02:30 +08:00
chenjianhua
bff2748b35 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit a7c1fd9f60.
2023-06-16 17:55:44 +08:00
chenjianhua
8aad580431 bluedroid: fixed default extended connection params 2023-06-16 17:55:21 +08:00
chenjianhua
304deb005d esp_hid: fixed ble hid battery level setting 2023-06-16 17:55:11 +08:00
Frantisek Hrbata
d4ab79259a tools: add sbom information for submodules
Conflicts:
- spiffs submodules version and hash changed to 0.2-221-gf5e26c4e9331
- protobuf-c submodule version and hash changed to v1.3.0
- ci files moved from tools/ci/config/ into .gitlab/ci/ in v4.4, so
  host-test.yml and rules.yml were changed accordingly in tools/ci/config/.
- added patterns-submodule to rules.yml, because they were also added in
  v4.4
- removed pytest dependency

This adds SBOM information for submodules, which are not managed
by Espressif. Meaning there is no fork for them in the espressif
namespace. Other submodules should add sbom.yml manifest file to
the root of their git repository.

The SBOM information for submodules is stored in the .gitmodules file.
Each SBOM related variable has the "sbom-" prefix and the following
variables may be used:

sbom-version:
   submodule version

sbom-cpe:
   CPE record if available in NVD. This will be used by the SBOM
   tool to check for possible submodule vulnerabilities. The
   version in the CPE can be replaced with the "{}" placeholder,
   which will be replaced by the "sbom-version" value from above.

sbom-supplier:
   Person or organization who is providing the submodule.
   It has to start with "Person:" or "Organization:" prefix
   as required by the SPDX-2.2 standard.

sbom-url:
   URL to the project if exists, e.g. github.

sbom-description:
   Project description.

sbom-hash:
   Submodule SHA as recorded in the git-tree. This field is used by
   CI to check that the submodule checkout hash and info in .gitmodules
   are in sync. IOW if submodule is updated and it has SBOM info in
   .gitmodules, the .gitmodules has to be updated too. The test is
   part of this commit. The checkout has of the submodule can be found
   by using "git submodule status".

Example for micro-ecc submodule
---8<---
[submodule "components/bootloader/subproject/components/micro-ecc/micro-ecc"]
	path = components/bootloader/subproject/components/micro-ecc/micro-ecc
	url = ../../kmackay/micro-ecc.git
	sbom-version = 1.0
	sbom-cpe = cpe:2.3🅰️micro-ecc_project:micro-ecc:{}:*:*:*:*:*:*:*
	sbom-supplier = Person: Ken MacKay
	sbom-url = https://github.com/kmackay/micro-ecc
	sbom-description = A small and fast ECDH and ECDSA implementation for 8-bit, 32-bit, and 64-bit processors
	sbom-hash = d037ec89546fad14b5c4d5456c2e23a71e554966
---8<---

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-16 07:34:49 +02:00
Aditya Patwardhan
3897faa9c8 Merge branch 'bugfix/aes_dma_align_issue_v4.3' into 'release/v4.3'
aes: fix DMA descriptor calculation for the alignment case (v4.3)

See merge request espressif/esp-idf!24096
2023-06-14 16:57:18 +08:00
Kapil Gupta
04e21b1af4 esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 18:13:01 +05:30
Roland Dobai
2c3cba7e9f Merge branch 'feature/extend_proj_desc_json_v4.3' into 'release/v4.3'
extend information in project_description.json (v4.3)

See merge request espressif/esp-idf!24130
2023-06-09 02:10:56 +08:00
Frantisek Hrbata
f1eef50947 tools: extend information in project_description.json
This extends information provided in the project_description.json file.
Newly added information can be used in the SBOM generating tool and
also to improve hints regarding the the component dependency issues.

Added fields

version:
   This adds versioning to the project_description.json file,
   so it's easy to identify if it contains the required information.

project_version:
   Can be used as a version for the resulting binary e.g. `hello_world.bin`.

idf_path:
   This one is probably not necessary, but it allows tools to run even without
   esp-idf environment exported(e.g. export.sh).

c_compiler:
   The `CMAKE_C_COMPILER` value with full path to the compiler binary. This can
   be used to get information about toolchain, which was used to build the project.

common_component_reqs:
   List of common components as presented in cmake's __COMPONENT_REQUIRES_COMMON
   and set in tools/cmake/build.cmake:__build_init().

build_component_info:
   Detailed information about components used during build. It's a
   dictionary with the component name as a key and each component has
   a dictionary with detailed information. Following is an example for
   the efuse component.

   "efuse": {
       "alias": "idf::efuse",
       "target": "___idf_efuse",
       "prefix": "idf",
       "dir": "/home/fhrbata/work/esp-idf/components/efuse",
       "type": "LIBRARY",
       "lib": "__idf_efuse",
       "reqs": [],
       "priv_reqs": [ "bootloader_support", "soc", "spi_flash" ],
       "managed_reqs": [],
       "managed_priv_reqs": [],
       "file": "/home/fhrbata/work/blink/build/esp-idf/efuse/libefuse.a",
       "sources": [ "/home/fhrbata/work/esp-idf/components/efuse/esp32s3/esp_efuse_table.c", ... ],
       "include_dirs": [ "include", "esp32s3/include" ]
   }

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-08 18:42:06 +02:00
Frantisek Hrbata
befb32b45b tools: fix make_json_list to return empty json list for empty cmake list
Currently make_json_list() returns '[ "" ]' for empty cmake list. Fix this
so empty json list is returned instead.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2023-06-08 18:42:06 +02:00
Mahavir Jain
18dbdbb643
aes: fix DMA descriptor calculation for the alignment case
The number of the DMA descriptors allocated for certain length (e.g.,
8176) were not sufficient (off by 1 error). This used to result in the
dynamic memory corruption as the region was modified beyond the
allocated range.

This change fixes the DMA descriptor calculation part and allocates
sufficient DMA descriptors based on the data length alignment considerations.

Test has also been added to cover the specific scenario in the CI.

Closes https://github.com/espressif/esp-idf/issues/11310
2023-06-07 09:22:10 +05:30
Jiang Jiang Jian
b13ddef25c Merge branch 'bugfix/close_phy_tsens_before_sleep_v4.3' into 'release/v4.3'
sleep: fix deepsleep current leakage caused by phy_tsens (backport v4.3)

See merge request espressif/esp-idf!23907
2023-06-06 11:52:12 +08:00
Jiang Jiang Jian
756fa45a06 Merge branch 'bugfix/fix_wakeup_failed_if_powerdown_flash_in_lightsleep_v4.3' into 'release/v4.3'
Power Management: fixed flash funcs called in sleep wakeup process (backport v4.3)

See merge request espressif/esp-idf!24006
2023-06-06 11:50:59 +08:00
Jiang Jiang Jian
8c01b63cbd Merge branch 'bugfix/dpp_retry_start_listening_issue_v4.3' into 'release/v4.3'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v4.3)

See merge request espressif/esp-idf!23597
2023-06-02 09:56:59 +08:00