File tree 2 files changed +27
-2
lines changed
config/telink/chip-module
2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ config HEAP_MEM_POOL_SIZE
84
84
85
85
config COMMON_LIBC_MALLOC_ARENA_SIZE
86
86
default 20716 if SOC_RISCV_TELINK_TL321X || SOC_SERIES_RISCV_TELINK_B9X_RETENTION
87
- default 16384 if SOC_RISCV_TELINK_TL721X
87
+ default 20716 if SOC_RISCV_TELINK_TL721X
88
88
default 12288
89
89
90
90
config NET_IPV6_MLD
@@ -307,6 +307,19 @@ endchoice
307
307
config CHIP_ENABLE_ICD_SUPPORT
308
308
default y if CHIP_THREAD_DEVICE_ROLE_SLEEPY_END_DEVICE
309
309
310
+ config OPENTHREAD_CSMABACKOFF_OPTIMIZATION
311
+ bool "Skip the first backoff during sending data request"
312
+ depends on CHIP_ENABLE_ICD_SUPPORT
313
+ default y if SOC_SERIES_RISCV_TELINK_TLX_RETENTION || SOC_SERIES_RISCV_TELINK_B9X_RETENTION
314
+ default n
315
+
316
+ config IEEE802154_TLX_OPTIMIZATION
317
+ bool "optimize the rf performance for tlx"
318
+ default y if SOC_SERIES_RISCV_TELINK_TLX_RETENTION
319
+ default n
320
+ help
321
+ optimize the rf performance for tlx.
322
+
310
323
config OPENTHREAD_THREAD_STACK_SIZE
311
324
default 2400 if PM || SOC_RISCV_TELINK_TL321X
312
325
Original file line number Diff line number Diff line change @@ -66,6 +66,10 @@ extern "C" void otSysProcessDrivers(otInstance * aInstance);
66
66
extern " C" void otAppCliInit (otInstance * aInstance);
67
67
#endif
68
68
69
+ #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION && CONFIG_IEEE802154_TLX_OPTIMIZATION
70
+ bool isThreadCommissioned = false ;
71
+ #endif /* CONFIG_IEEE802154_TLX_OPTIMIZATION */
72
+
69
73
namespace chip {
70
74
namespace DeviceLayer {
71
75
namespace Internal {
@@ -372,6 +376,14 @@ bool GenericThreadStackManagerImpl_OpenThread<ImplClass>::_IsThreadAttached()
372
376
curRole = otThreadGetDeviceRole (mOTInst );
373
377
Impl ()->UnlockThreadStack ();
374
378
379
+ #if defined CONFIG_IEEE802154_TLX_OPTIMIZATION && CONFIG_IEEE802154_TLX_OPTIMIZATION
380
+ if ((curRole != OT_DEVICE_ROLE_DISABLED && curRole != OT_DEVICE_ROLE_DETACHED))
381
+ {
382
+ if (isThreadCommissioned == false )
383
+ isThreadCommissioned = true ;
384
+ }
385
+ #endif /* CONFIG_IEEE802154_TLX_OPTIMIZATION */
386
+
375
387
return (curRole != OT_DEVICE_ROLE_DISABLED && curRole != OT_DEVICE_ROLE_DETACHED);
376
388
}
377
389
@@ -2111,4 +2123,4 @@ template class GenericThreadStackManagerImpl_OpenThread<ThreadStackManagerImpl>;
2111
2123
} // namespace DeviceLayer
2112
2124
} // namespace chip
2113
2125
2114
- #endif // GENERIC_THREAD_STACK_MANAGER_IMPL_OPENTHREAD_IPP
2126
+ #endif // GENERIC_THREAD_STACK_MANAGER_IMPL_OPENTHREAD_IPP
You can’t perform that action at this time.
0 commit comments