Commit Graph

165 Commits

Author SHA1 Message Date
Shu Chen
52790bf4f5 feat(openthread): use the actual receive sensitivity for link quality evaluation 2026-08-04 02:39:08 +00:00
Zhang Wen Xu
aa3408ec84 Merge branch 'fix/resolve_issues_reported_via_bbp' into 'master'
fix(openthread): fix null pointer deref, uninitialized struct, and unbounded strcpy in spinel/RCP code

See merge request espressif/esp-idf!50294
2026-07-30 08:37:57 +00:00
Shu Chen
73b55e893f Merge branch 'support/ot_register_154_event_cb' into 'master'
feat(openthread): use ieee802154 event callback list instead of weak overrides

See merge request espressif/esp-idf!50825
2026-07-17 11:08:50 +00:00
zwx
b9bcfa0f2c feat(openthread): use ieee802154 event callback list instead of weak overrides 2026-07-16 15:39:18 +08:00
Xu Si Yu
a2bf19842d fix(openthread): fix TREL peer discovery by selecting IPv6 from mDNS address list 2026-07-06 16:29:52 +08:00
zwx
9d2d425166 fix(openthread): fix null pointer deref, uninitialized struct, and unbounded strcpy in spinel/RCP code 2026-07-02 15:36:05 +08:00
Zhang Wen Xu
3630aab6c9 Merge branch 'fix/reverse-extended-address-byte-order-in-esp-radio-spiel' into 'master'
fix(openthread): add APIs to clear a single src match short and extended entry in esp radio spinel

See merge request espressif/esp-idf!49576
2026-06-26 11:15:12 +00:00
Shu Chen
14d28f974d Merge branch 'feat/openthread_generic_if' into 'master'
feat(openthread) Add generic interface to OpenThread

See merge request espressif/esp-idf!48773
2026-06-25 11:23:20 +00:00
Xu Si Yu
f3cf13ad71 feat(openthread): add APIs to clear a single src match short and extended entry in esp radio spinel 2026-06-22 15:58:32 +08:00
Xu Si Yu
251d10f6d2 fix(openthread): use spi slave tx_length/rx_length and remove rx DMA bounce buffer 2026-06-18 19:21:52 +08:00
Xu Si Yu
57ec08b1cf fix(openthread): replace all malloc calls with calloc to avoid hidden uninitialized memory issues 2026-06-18 17:57:53 +08:00
Soh Kam Yung
8c87790e47 feat(openthread) Add custom transport to OpenThread
- add a custom transport with Tx() and Rx() callbacks in OpenThread config
  - OpenThread calls Tx() to transmit, Rx() to receive data
  - external driver provides the transport for sending data between OT RCP and Host
- add an OpenThread call used by external driver to send a signal to OpenThread when there is incoming data
2026-06-16 13:28:20 +08:00
Xu Si Yu
851af557f0 fix(openthread): avoid HDLC TX stall on fd write failure 2026-05-27 18:39:59 +08:00
Xu Si Yu
2e5df3eeb6 fix(openthread): fix the esp_openthread_stop 2026-05-06 10:57:40 +08:00
Xu Si Yu
261224dd16 fix(openthread): always reserve null-terminator space when appending escaped args 2026-04-30 10:58:04 +08:00
Zhang Wen Xu
49e9bf9f10 Merge branch 'fix/rcp_spi_crash_issue' into 'master'
fix(openthread): fix multiple SPI communication bugs that caused the host to...

Closes IDFCI-9931

See merge request espressif/esp-idf!47660
2026-04-29 10:57:04 +00:00
zwx
179056118f fix(openthread): fix SPI host-RCP communication loss
- 1. H2 SPI slave DMA transaction length insufficient for CMD_RESET
  frame
- 2. H2 SPI slave BUSY race at boot causing permanent deadlock
- 3. H2 INT pin spurious NEGEDGE on chip reset
- 4. H2 SPI slave trans_len exceeding buffer size
- 5. S3 host RST flag handling preventing Spinel-layer reset detection
- 6. S3 stale eventfd events after HardwareReset causing WaitResponse
  timeout
- 7. ot_br missing coprocessor reset failure callback
2026-04-28 18:14:10 +08:00
Xu Si Yu
b392e92377 feat(openthread): align spinel radio caps with RCP CSMA backoff and TX retry support 2026-04-28 17:27:22 +08:00
Xu Si Yu
c0f4173bdc fix(openthread): escape CLI arguments and enforce command buffer bounds 2026-04-28 15:20:22 +08:00
Zhibin (Ryan) Wen
49652ce314 feat(openthread): add test support for esp_netif glue disabled scenario
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-21 12:11:43 +08:00
Zhibin (Ryan) Wen
fd402bfb17 feat(openthread): make esp_netif glue optional
Signed-off-by: Zhibin (Ryan) Wen <wenzhibin@espressif.com>
2026-04-21 12:11:43 +08:00
zwx
aebf890e98 fix(openthread): make the code more robust 2026-04-17 15:42:26 +08:00
Xu Si Yu
b07620afb6 Merge branch 'feat/radio_spinel_driver_interface_optimization' into 'master'
feat(openthread): optimize radio spinel uart interface

Closes TZ-2415

See merge request espressif/esp-idf!46229
2026-04-09 14:50:50 +08:00
zwx
a60e8a66c5 fix(openthread): pre-export PSA key bytes in task context to fix ISR mutex crash 2026-04-08 11:40:47 +00:00
Xu Si Yu
2d1cbe418c feat(openthread): optimize radio spinel uart interface 2026-04-08 19:16:02 +08:00
Xu Si Yu
bfabb605cc fix(openthread): avoid ot_cli_loop busy loop by using select-based linenoise read 2026-04-02 14:19:34 +08:00
Tan Yan Quan
b14c2f1753 feat(openthread): update OT to 9b887f6bd 2026-03-19 10:35:13 +08:00
Xu Si Yu
d074c72538 feat(openthread): add a task block monitor 2026-03-12 12:14:18 +08:00
Tan Yan Quan
7c6f8e325e feat(openthread): use heap_caps_calloc_prefer for messagepool 2026-03-10 12:13:15 +08:00
Shu Chen
5f298edabc Merge branch 'fix/add_check_and_fix_docs_for_154' into 'master'
fix(802.15.4) added some error checks to make the code more robust

See merge request espressif/esp-idf!44110
2026-03-06 10:12:09 +00:00
Zhang Wen Xu
a11485ef49 Merge branch 'feat/use_ot_cmakelists' into 'master'
feat(openthread): use upstream CMakeLists.txt for radio build

See merge request espressif/esp-idf!45420
2026-03-06 02:36:04 +00:00
zwx
8bd1ce4c53 fix(802.15.4) added some error checks to make the code more robust 2026-03-03 11:39:35 +08:00
Xu Si Yu
4232a4df6b fix(openthread): fix a macro error 2026-02-26 18:03:49 +08:00
Tan Yan Quan
ca02f5700a feat(openthread): use explicit source list for RCP build 2026-02-02 14:37:47 +08:00
zwx
31c1f34053 feat(openthread): support openthread heap allocation from PSRAM 2026-01-14 14:18:20 +08:00
Ashish Sharma
ab35bd85a8 feat: migrates openthread to PSA APIs 2025-12-30 09:31:49 +05:30
Xu Si Yu
71bbb45fa2 feat(openthread): add message pool deinitialization 2025-12-23 16:21:02 +08:00
Zhang Wen Xu
3bda023b7d Merge branch 'feat/update_154_get_recent_rssi' into 'master'
feat(802.15.4): support get real time rssi

See merge request espressif/esp-idf!43856
2025-12-18 07:04:24 +00:00
zhuanghang
0b7fe3035a feat(802.15.4): Update the 'ieee802154_get_recent_rssi' API to obtain real-time RSSI 2025-12-12 16:56:25 +08:00
Tan Yan Quan
eb1fffe63e feat(openthread): support RCP console debug via spinel 2025-12-10 19:58:10 +08:00
zwx
19d6265d73 fix(openthread): open nvs from the configured partition 2025-12-04 19:47:57 +08:00
Xu Si Yu
c85b9c3f94 fix(openthread): fix a potential stack overflow in TREL 2025-12-03 10:34:15 +08:00
Xu Si Yu
330c174117 fix(openthread): remove the duplicate macro definition 2025-11-20 15:51:39 +08:00
Xu Si Yu
5759c4ca27 feat(openthread): support custom netif config during initialization 2025-10-24 15:59:51 +08:00
David Cermak
11921c10b9 fix(esp_netif): Fix return value of PPP input function 2025-10-20 12:22:38 +02:00
David Cermak
fd9de0c19e fix(openthread): Update OT netif layers to return error 2025-10-20 12:22:38 +02:00
Xu Si Yu
c3035bb382 feat(openthread): add openthread start stop APIs 2025-09-26 10:59:52 +08:00
Shu Chen
2f4c63b11c Merge branch 'feat/update_ot_upstream' into 'master'
feat(openthread): update OT upstream to 3b3dd203b

See merge request espressif/esp-idf!42040
2025-09-23 10:57:24 +00:00
Tan Yan Quan
bab69aec4a feat(openthread): update OT upstream to 3b3dd203b 2025-09-19 16:09:07 +08:00
Xu Si Yu
a0777a0ee5 fix(openthread): check if the command is valid before calling the input function 2025-09-18 16:21:13 +08:00