Commit Graph

27147 Commits

Author SHA1 Message Date
muhaidong
5caf842f72 esp_supplicant: wpa pmf should be disabled 2023-06-13 11:43:11 +08:00
Jiang Jiang Jian
1c07880c34 Merge branch 'bugfix/add_event_cb_for_pcl_v5.0' into 'release/v5.0'
Nimble: Add support to send power control event in registered callback(v5.0)

See merge request espressif/esp-idf!23584
2023-06-13 11:20:34 +08:00
Jiang Jiang Jian
9f99495cb2 Merge branch 'feature/add_log_when_mspi_timing_tuning_is_enabled_v5.0' into 'release/v5.0'
mspi: added timing tuning start, and success log (v5.0)

See merge request espressif/esp-idf!24054
2023-06-13 10:51:49 +08:00
Jiang Jiang Jian
a591730d29 Merge branch 'bugfix/tempsensor_wifi_conflict_v5.0' into 'release/v5.0'
temperature_sensor: Fix issue that have conflict with phy / Fix phy pwdet and tsens power cannot be set twice issue (v5.0)

See merge request espressif/esp-idf!24066
2023-06-13 10:47:32 +08:00
chenjianhua
187d77d702 Revert "bluedroid: report disconnect event after BLE link closed"
This reverts commit 0cb5a90663.
2023-06-13 10:33:17 +08:00
Armando
9bec4233a4 adc: port gh pr to current adc continuous mode driver
DMA EOF may happens per multiple dma descriptors, instead of only one.

Closes https://github.com/espressif/esp-idf/pull/11500
2023-06-13 10:28:46 +08:00
Niklas Gürtler
82c055bac9 Fix #10804 by running continuous ADC DMA in endless loop instead of restarting after each run (descriptor chain) to avoid losing samples. Use descriptor error callback for GDMA to check for DMA buffer overrun.
Signed-off-by: Armando <douyiwen@espressif.com>
2023-06-13 10:28:46 +08:00
Armando
ac3f74ecb6 adc: fix adc continuous driver conv_frame_size not bigger than 4092 issue
Closes https://github.com/espressif/esp-idf/issues/11385
2023-06-13 10:28:46 +08:00
Jiang Jiang Jian
c82d9ca887 Merge branch 'bugfix/bod_glitch_reset_c6_v5.0' into 'release/v5.0'
bootloader: fix BOD and glitch reset on C6 and H2 (v5.0)

See merge request espressif/esp-idf!23407
2023-06-13 10:25:47 +08:00
hongshuqing
d82af7f54a fix chip broken bug in monitor mode for c2 c3 s2 s3 to v5.0 2023-06-13 10:22:40 +08:00
Jiang Jiang Jian
c0f55d9a53 Merge branch 'feat/improve_wifi_rx_in_high_interference_v5.0' into 'release/v5.0'
esp_phy: update esp32c2 phy lib to fix some issues(v5.0)

See merge request espressif/esp-idf!24162
2023-06-13 10:20:36 +08:00
Jiang Jiang Jian
899925e66b Merge branch 'feature/usb_host_interface_claim_debug_info_v5.0' into 'release/v5.0'
USB Host: better debugging information during usb_host_interface_claim() (backport v5.0)

See merge request espressif/esp-idf!23446
2023-06-13 10:15:42 +08:00
Armando
156da3a22c doc: update s3 psram vaddr max range size 2023-06-13 10:13:57 +08:00
Jiang Jiang Jian
faf54ca1d6 Merge branch 'bugfix/aes_dma_align_issue_v5.0' into 'release/v5.0'
aes: fix DMA descriptor calculation for the alignment case (v5.0)

See merge request espressif/esp-idf!24094
2023-06-13 10:09:16 +08:00
morris
e37618cda7 Merge branch 'bugfix/adc_outof_bound_read_v5.0' into 'release/v5.0'
adc: fix out of bound read

See merge request espressif/esp-idf!24170
2023-06-13 10:05:39 +08:00
Roland Dobai
17a455dfa6 Merge branch 'bugfix/removed_working_directory_error_v5.0' into 'release/v5.0'
Tools bugfix: Removed working directory when using idf.py (v5.0)

See merge request espressif/esp-idf!24151
2023-06-12 23:18:58 +08:00
Armando
6602cfa760 phy: fix phy pwdet and tsens power cannot be set twice issue
Closes https://github.com/espressif/esp-idf/issues/11627
2023-06-12 19:42:05 +08:00
Jiang Jiang Jian
6012986e2a Merge branch 'bugfix/delete_node_during_list_traverse_5.0' into 'release/v5.0'
bugfix: Fixed the crash of LoadProhibited caused by invalid operation on list node in handling hci_hardware_error event (v5.0)

See merge request espressif/esp-idf!23117
2023-06-12 18:16:25 +08:00
Jiang Jiang Jian
a40fc4035d Merge branch 'bugfix/a2dp_source_crash_connect_to_Bose_speaker_v5.0' into 'release/v5.0'
Bugfix/a2dp source crash connect to bose speaker (v5.0)

See merge request espressif/esp-idf!23349
2023-06-12 18:16:12 +08:00
Jiang Jiang Jian
c098c0b6fa Merge branch 'bugfix/dpp_retry_start_listening_issue_v5.0' into 'release/v5.0'
esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure (v5.0)

See merge request espressif/esp-idf!23595
2023-06-12 18:15:55 +08:00
Armando
75bd7008a5 mspi: added timing tuning start, and success log 2023-06-12 16:14:13 +08:00
muhaidong
25b40c9d5e esp_wifi: fix some wifi bugs
1.pm: mesh sleep support phy ref
2.pm: send wake null after scan if txq isn't idle
3.fix esp32 wifi schm interrupted by ble act
4.fix the bug that ble scan start impacts wifi in some coex scenarios
5.fix softAP qos null issue
6.fix the tx data error when change phymode from LR to 11N
7.fix the heap corrupt issue in MTXON task
8.add new api for supplicant to get softAP's max connection
9.owe: reject pmf incapable ciphers for owe connections
10.fix nvs store softap pmk not match ssid&password
11.install keys after successful transmission of eapol 4/4 message
12.add apis to get assoc id and negotiated phymode
13.softAP pmf: handle SA Query bug in AP-STA concurrent mode when both connections are pmf enabled
14.softAP pmf: merge softAP and station SA Query handlers
15.add wpa_sta_connected callback
16.softAP: validate softAP interface when sending beacon
17.ftm: send ftm frames immediately
18.fix ftm procedure with peer failed status 4 issue
19.fix set inactive time crash issue
2023-06-12 15:40:19 +08:00
muhaidong
811e5e06d2 docs: update ftm docs 2023-06-12 15:24:40 +08:00
muhaidong
0d2271e539 docs: add some details for wifi scan description 2023-06-12 15:24:20 +08:00
Sarvesh Bodakhe
b678fa1290 esp_wifi: Combine bugfixes for softAP PMF, beacon tx process and add wpa_sta_connected callback
1. Handle SA-Query bug in AP-STA concurrent mode when both connections are PMF enabled
2. Add wpa_sta_connected callback
3. Validate softAP interface when sending beacon frame
2023-06-12 15:24:07 +08:00
aditi_lonkar
ded3169aa5 esp_wifi: Add APIs to get Assoc id and negotiated phymode. 2023-06-12 15:23:55 +08:00
Shreyas Sheth
70e3d8f511 esp_wifi: Install keys after successful transmission of EAPOL 4/4 Message 2023-06-12 15:23:40 +08:00
zhangyanjiao
273f36829a wpa_supplicant: Fix max sta num error for softAP 2023-06-12 15:23:26 +08:00
zhangyanjiao
e70f45acd1 Update the ESP-NOW frame length in docs 2023-06-12 15:23:15 +08:00
xueyunfei
a21312a5a1 Fixed bug for stop dhcps before set dns
Closes https://github.com/espressif/esp-idf/issues/10762
2023-06-12 15:23:04 +08:00
morris
6849be6397 adc: fix out of bound read
when SOC_ADC_PERIPH_NUM==1, the adc_unit should only be assigned with 0
2023-06-12 15:21:19 +08:00
Chen Jian Xing
f0b1869ceb Merge branch 'bugfix/fix_some_txop_issues_v5.0' into 'release/v5.0'
esp_wifi: fix some txop issues(Backport v5.0)

See merge request espressif/esp-idf!24160
2023-06-12 15:04:24 +08:00
Krzysztof Budzynski
40b93eaf36 Merge branch 'docs/fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram_v5.0' into 'release/v5.0'
Docs/Fix error in esp32-s2-devkitc-1 pin layout diagram (v5.0)

See merge request espressif/esp-idf!24117
2023-06-12 11:56:35 +08:00
chenjianxing
cdb11885f5 esp_phy: update esp32c2 phy lib to fix some issues
1. improve Wi-Fi rx 11b pkts for AC-DC power supply modules.
2. fix Wi-Fi disconnect in low temperature.
3. fix RTC_SW_CPU_RST occur in Wi-Fi start and stop process.
2023-06-12 11:54:11 +08:00
jasta
9325029d87 esp_dpp: Fix retry with esp_supp_dpp_start_listen after failure
This fixes a subtle bug in which ESP_ERR_DPP_TX_FAILURE errors would
call esp_supp_dpp_stop_listen which sets the s_dpp_stop_listening flag
to true.  Subsequent attempts to restart listening with
esp_supp_dpp_start_listen then only attempt to listen once more for
500ms before reading the s_dpp_stop_listening flag again and giving up.

This contributes greatly to #10615, but the fix here is still largely
a work-around as it sometimes requires manually retrying a couple times
before it works.  Without this fix, any number of retries by
deinit/init again will seemingly not work as the retries for currently
unknown reasons.

Signed-off-by: Shreyas Sheth <shreyas.sheth@espressif.com>

Closes https://github.com/espressif/esp-idf/pull/10865
2023-06-12 03:26:10 +00:00
Jin Cheng
7e810cd65c fix a2dp source crash when connect to Bose speaker 2023-06-12 03:24:15 +00:00
Jin Cheng
95b363aa91 fixed the crash of LoadProhibited caused by taht
the nodes are deleted during the traversal of the linked list
2023-06-12 03:23:18 +00:00
Jiang Jiang Jian
e6ad0a4fa2 Merge branch 'bugfix/fix_wps_with_sae_enabled_ap_v5.0' into 'release/v5.0'
esp_wifi: Fix WPS issue for WPA3+WPA2 mode(v5.0)

See merge request espressif/esp-idf!24154
2023-06-12 11:20:51 +08:00
Jiang Jiang Jian
838850abab Merge branch 'feature/example_deep_sleep_wake_stub_backport_v5.0' into 'release/v5.0'
example: add deepsleep_wake stub example (backport v5.0)

See merge request espressif/esp-idf!23414
2023-06-12 11:07:59 +08:00
Jiang Jiang Jian
86ed0c53d5 Merge branch 'feature/update_nimble_examples_readme_v5.0' into 'release/v5.0'
Nimble:Updated nimble examples README to include chip information (v5.0)

See merge request espressif/esp-idf!22981
2023-06-12 11:06:09 +08:00
Jiang Jiang Jian
a658d37e68 Merge branch 'bugfix/sntp_docs_time_t_64bit_v5.0' into 'release/v5.0'
docs: remove outdated section on custom toolchain for 64-bit time_t (v5.0)

See merge request espressif/esp-idf!23329
2023-06-12 11:02:51 +08:00
Jiang Jiang Jian
34d6805465 Merge branch 'bugfix/mbo_ie_absent_prob_req_v50' into 'release/v5.0'
wpa_supplicant : Add MBO ie in probe request(backport v5.0)

See merge request espressif/esp-idf!24098
2023-06-12 11:02:14 +08:00
muhaidong
398403e251 esp_wifi: fix some txop issues 2023-06-09 23:24:02 +08:00
Kapil Gupta
a66d93a75f esp_wifi: Fix WPS issue for WPA3+WPA2 mode 2023-06-09 17:58:34 +05:30
Marek Fiala
5a7eae4743 Tools bugfix: Removed working directory when using idf.py
Added check for existence of current working directory when using idf.py

Closes https://github.com/espressif/esp-idf/issues/11476
2023-06-09 14:28:11 +02:00
KonstantinKondrashov
4ceae4654b efuse: Do not load real efuses before some test (some chips have burned efuse blocks) 2023-06-09 19:10:47 +08:00
Roland Dobai
7493b907ef Merge branch 'feature/extend_proj_desc_json_v5.0' into 'release/v5.0'
extend information in project_description.json (v5.0)

See merge request espressif/esp-idf!24126
2023-06-09 00:52:47 +08:00
Frantisek Hrbata
9156bbb55c 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 14:30:07 +02:00
Frantisek Hrbata
30735b33ef 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 14:30:07 +02:00
Wang Ning
48bd249d7b fix_error_in_esp32-s2-devkitc-1_pin_layout_diagram 2023-06-08 16:16:00 +08:00