feat(openthread): remove the range for some configurations

This commit is contained in:
zwx 2024-05-10 15:20:11 +08:00 committed by Xu Si Yu
parent 3e81bd22c3
commit 2fc047d61d

View File

@ -206,7 +206,6 @@ menu "OpenThread"
int "The size of max commissioning joiner entries"
depends on OPENTHREAD_COMMISSIONER
default 2
range 2 50
config OPENTHREAD_JOINER
bool "Enable Joiner"
@ -228,7 +227,6 @@ menu "OpenThread"
int "Specifies number of service entries in the SRP client service pool"
depends on OPENTHREAD_SRP_CLIENT
default 5
range 2 20
help
Set the max buffer size of service entries in the SRP client service pool.
@ -257,14 +255,11 @@ menu "OpenThread"
int "The number of openthread message buffers"
depends on OPENTHREAD_ENABLED
default 65
range 10 100 if !OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT
range 10 8191 if OPENTHREAD_PLATFORM_MSGPOOL_MANAGEMENT
config OPENTHREAD_SPINEL_RX_FRAME_BUFFER_SIZE
int "The size of openthread spinel rx frame buffer"
depends on OPENTHREAD_ENABLED || OPENTHREAD_SPINEL_ONLY
default 1024
range 512 8192
default 2048
config OPENTHREAD_MAC_MAX_CSMA_BACKOFFS_DIRECT
int "Maximum backoffs times before declaring a channel access failure."
@ -278,13 +273,11 @@ menu "OpenThread"
int "The size of max MLE children entries"
depends on OPENTHREAD_ENABLED
default 10
range 5 50
config OPENTHREAD_TMF_ADDR_CACHE_ENTRIES
int "The size of max TMF address cache entries"
depends on OPENTHREAD_ENABLED
default 20
range 5 50
config OPENTHREAD_DNS64_CLIENT
bool "Use dns64 client"
@ -303,8 +296,7 @@ menu "OpenThread"
config OPENTHREAD_UART_BUFFER_SIZE
int "The uart received buffer size of openthread"
depends on OPENTHREAD_ENABLED
default 768
range 128 1024
default 2048
help
Set the OpenThread UART buffer size.
@ -377,7 +369,7 @@ menu "OpenThread"
default n
help
Select this option to enable the radio statistics feature, you can use radio command to print some radio
Statistics informations.
Statistics information.
config OPENTHREAD_SPINEL_ONLY
bool "Enable OpenThread External Radio Spinel feature"
@ -386,11 +378,11 @@ menu "OpenThread"
Select this option to enable the OpenThread Radio Spinel for external protocol stack, such as Zigbee.
config OPENTHREAD_RX_ON_WHEN_IDLE
bool "Enable OpenThread radio capibility rx on when idle"
bool "Enable OpenThread radio capability rx on when idle"
default y if !ESP_COEX_SW_COEXIST_ENABLE
default n if ESP_COEX_SW_COEXIST_ENABLE
help
Select this option to enable OpenThread radio capibility rx on when idle. Do not support this feature when
Select this option to enable OpenThread radio capability rx on when idle. Do not support this feature when
SW coexistence is enabled.
menu "Thread Address Query Config"
@ -398,19 +390,16 @@ menu "OpenThread"
int "Timeout value (in seconds) for a address notification response after sending an address query."
depends on OPENTHREAD_FTD || OPENTHREAD_MTD
default 3
range 1 10
config OPENTHREAD_ADDRESS_QUERY_RETRY_DELAY
int "Initial retry delay for address query (in seconds)."
depends on OPENTHREAD_FTD || OPENTHREAD_MTD
default 15
range 1 120
config OPENTHREAD_ADDRESS_QUERY_MAX_RETRY_DELAY
int "Maximum retry delay for address query (in seconds)."
depends on OPENTHREAD_FTD || OPENTHREAD_MTD
default 120
range OPENTHREAD_ADDRESS_QUERY_RETRY_DELAY 960
endmenu
endmenu