Skip to content

Commit a831bce

Browse files
shubhamdppull[bot]
authored andcommitted
Removed few unused config options (#23086)
* Removing the unused config options for ESP32 - MAX_SESSION_KEYS - DISABLE_PROVISIONING_AUTH - SERVICE_DIRECTORY_CACHE_SIZE - EVENT_LOGGING_PROD_BUFFER_SIZE * Remove unused config option CHIP_DEVICE_CONFIG_ENABLE_TRAIT_MANAGER
1 parent e1a709a commit a831bce

File tree

4 files changed

+0
-62
lines changed

4 files changed

+0
-62
lines changed

config/esp32/components/chip/Kconfig

-47
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,6 @@ menu "CHIP Core"
175175

176176
menu "Security Options"
177177

178-
config MAX_SESSION_KEYS
179-
int "Max Session Keys"
180-
range 0 65535
181-
default 8
182-
help
183-
The maximum number of simultaneously active session keys.
184-
185178
menu "Debugging"
186179

187180
config SECURITY_TEST_MODE
@@ -193,17 +186,6 @@ menu "CHIP Core"
193186
WARNING: This option makes it possible to circumvent basic CHIP security functionality,
194187
including message encryption. Because of this it SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.
195188

196-
config DISABLE_PROVISIONING_AUTH
197-
bool "Disable Provisioning Authentication Checks"
198-
default n
199-
help
200-
Disable authentication checks for CHIP provisioning operations. This makes it possible to
201-
perform device provisioning operations (e.g. adding a network or joining a fabric) without
202-
establishing a secure session.
203-
204-
WARNING: This option makes it possible to circumvent basic CHIP security functionality.
205-
Because of this it SHOULD NEVER BE ENABLED IN PRODUCTION BUILDS.
206-
207189
endmenu # "Debugging"
208190

209191
endmenu # "Security Options"
@@ -245,14 +227,6 @@ menu "CHIP Device Layer"
245227
default 25
246228
help
247229
The maximum number of events that can be held in the CHIP Platform event queue.
248-
249-
config SERVICE_DIRECTORY_CACHE_SIZE
250-
int "CHIP Service Directory Cache Size"
251-
range 0 65535
252-
default 512
253-
help
254-
The size (in bytes) of the service directory cache. This limits the maximum size of the directory
255-
that can be returned in response to a service directory query.
256230

257231
config ENABLE_EXTENDED_DISCOVERY
258232
bool "Enable Extended discovery Support"
@@ -570,18 +544,6 @@ menu "CHIP Device Layer"
570544

571545
endmenu
572546

573-
menu "CHIP Trait Manager"
574-
575-
config ENABLE_TRAIT_MANAGER
576-
bool "Enable Trait Manager"
577-
default y
578-
help
579-
Enable support for the CHIP Trait Manager.
580-
581-
The Trait Manager is an experimental feature of the CHIP Device Layer.
582-
583-
endmenu
584-
585547
menu "Time Sync Options"
586548

587549
config ENABLE_SERVICE_DIRECTORY_TIME_SYNC
@@ -811,15 +773,6 @@ menu "CHIP Device Layer"
811773

812774
This critical production event buffer must exist.
813775

814-
config EVENT_LOGGING_PROD_BUFFER_SIZE
815-
int "Event Logging Production Buffer Size"
816-
range 0 65535
817-
default 2048
818-
help
819-
A size, in bytes, of the individual production event logging buffer.
820-
821-
This critical production event buffer must exist.
822-
823776
config EVENT_LOGGING_INFO_BUFFER_SIZE
824777
int "Event Logging Info Buffer Size"
825778
range 0 65535

src/include/platform/CHIPDeviceConfig.h

-13
Original file line numberDiff line numberDiff line change
@@ -791,19 +791,6 @@
791791
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_DNS_CLIENT 0
792792
#endif
793793

794-
// -------------------- Trait Manager Configuration --------------------
795-
796-
/**
797-
* CHIP_DEVICE_CONFIG_ENABLE_TRAIT_MANAGER
798-
*
799-
* Enable or disable the chip Trait Manager.
800-
*
801-
* NOTE: The Trait Manager is an experimental feature of the chip Device Layer.
802-
*/
803-
#ifndef CHIP_DEVICE_CONFIG_ENABLE_TRAIT_MANAGER
804-
#define CHIP_DEVICE_CONFIG_ENABLE_TRAIT_MANAGER 0
805-
#endif
806-
807794
// -------------------- Network Telemetry Configuration --------------------
808795

809796
/**

src/platform/ESP32/CHIPDevicePlatformConfig.h

-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@
9090
#define CHIP_DEVICE_CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT CONFIG_SERVICE_PROVISIONING_REQUEST_TIMEOUT
9191
#define CHIP_DEVICE_CONFIG_ENABLE_TEST_SETUP_PARAMS CONFIG_ENABLE_TEST_SETUP_PARAMS
9292
#define CHIP_DEVICE_CONFIG_TEST_SERIAL_NUMBER CONFIG_USE_TEST_SERIAL_NUMBER
93-
#define CHIP_DEVICE_CONFIG_ENABLE_TRAIT_MANAGER CONFIG_ENABLE_TRAIT_MANAGER
9493
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_TELEMETRY CONFIG_ENABLE_THREAD_TELEMETRY
9594
#define CHIP_DEVICE_CONFIG_ENABLE_THREAD_TELEMETRY_FULL CONFIG_ENABLE_THREAD_TELEMETRY_FULL
9695
#define CHIP_DEVICE_CONFIG_EVENT_LOGGING_CRIT_BUFFER_SIZE CONFIG_EVENT_LOGGING_CRIT_BUFFER_SIZE

src/platform/ESP32/CHIPPlatformConfig.h

-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@
5353

5454
#define CHIP_CONFIG_MAX_UNSOLICITED_MESSAGE_HANDLERS CONFIG_MAX_UNSOLICITED_MESSAGE_HANDLERS
5555
#define CHIP_CONFIG_MAX_EXCHANGE_CONTEXTS CONFIG_MAX_EXCHANGE_CONTEXTS
56-
#define CHIP_CONFIG_MAX_SESSION_KEYS CONFIG_MAX_SESSION_KEYS
5756
#define CHIP_CONFIG_MAX_FABRICS CONFIG_MAX_FABRICS
5857
#define CHIP_CONFIG_SECURITY_TEST_MODE CONFIG_SECURITY_TEST_MODE
5958

0 commit comments

Comments
 (0)