@@ -431,9 +431,16 @@ menu "CHIP Device Layer"
431
431
432
432
menu "WiFi Station Options"
433
433
434
+ config ENABLE_WIFI_STATION
435
+ bool "Enable CHIP WIFI STATION"
436
+ default y
437
+ help
438
+ Enables WiFi station for CHIP.
439
+
434
440
config DEFAULT_WIFI_SSID
435
441
string "Default WiFi SSID"
436
442
default ""
443
+ depends on ENABLE_WIFI_STATION
437
444
help
438
445
The SSID of network to connect to if no WiFi station configuration exists in NV storage
439
446
at the time the device boots.
@@ -443,6 +450,7 @@ menu "CHIP Device Layer"
443
450
config DEFAULT_WIFI_PASSWORD
444
451
string "Default WiFi Password"
445
452
default ""
453
+ depends on ENABLE_WIFI_STATION
446
454
help
447
455
The password for the default WiFi network.
448
456
@@ -452,20 +460,23 @@ menu "CHIP Device Layer"
452
460
int "WiFi Station Interface Reconnect Interval (ms)"
453
461
range 0 65535
454
462
default 5000
463
+ depends on ENABLE_WIFI_STATION
455
464
help
456
465
The interval at which the CHIP platform will attempt to reconnect to the configured WiFi network (in milliseconds).
457
466
458
467
config MAX_SCAN_NETWORKS_RESULTS
459
468
int "Max ScanNetworks Results"
460
469
range 0 65535
461
470
default 10
471
+ depends on ENABLE_WIFI_STATION
462
472
help
463
473
The maximum number of networks to return as a result of a CHIP NetworkProvisioning:ScanNetworks request.
464
474
465
475
config WIFI_SCAN_COMPLETION_TIMEOUT
466
476
int "WiFi Scan Completion Timeout (ms)"
467
477
range 0 65535
468
478
default 10000
479
+ depends on ENABLE_WIFI_STATION
469
480
help
470
481
The amount of time (in milliseconds) after which the CHIP platform will timeout a WiFi scan
471
482
operation that hasn't completed. A value of 0 will disable the timeout logic.
@@ -474,6 +485,7 @@ menu "CHIP Device Layer"
474
485
int "WiFi Connectivity Timeout (ms)"
475
486
range 0 65535
476
487
default 30000
488
+ depends on ENABLE_WIFI_STATION
477
489
help
478
490
The amount of time (in milliseconds) to wait for Internet connectivity to be established on
479
491
the device's WiFi station interface during a Network Provisioning TestConnectivity operation.
@@ -482,9 +494,16 @@ menu "CHIP Device Layer"
482
494
483
495
menu "WiFi AP Options"
484
496
497
+ config ENABLE_WIFI_AP
498
+ bool "Enable CHIP WIFI AP"
499
+ default y
500
+ help
501
+ Enables WiFi AP for CHIP.
502
+
485
503
config WIFI_AP_SSID_PREFIX
486
504
string "WiFi AP SSID Prefix"
487
505
default "MATTER-"
506
+ depends on ENABLE_WIFI_AP
488
507
help
489
508
A prefix string used in forming the WiFi soft-AP SSID. The remainder of the SSID
490
509
consists of the final two bytes of the device's primary WiFi MAC address in hex.
@@ -493,27 +512,31 @@ menu "CHIP Device Layer"
493
512
int "WiFi AP Channel"
494
513
range 1 14
495
514
default 1
515
+ depends on ENABLE_WIFI_AP
496
516
help
497
517
The WiFi channel number to be used by the soft-AP.
498
518
499
519
config WIFI_AP_MAX_STATIONS
500
520
int "WiFi AP Max Allowed Stations"
501
521
range 1 10
502
522
default 4
523
+ depends on ENABLE_WIFI_AP
503
524
help
504
525
The maximum number of stations allowed to connect to the soft-AP.
505
526
506
527
config WIFI_AP_BEACON_INTERVAL
507
528
int "WiFi AP Beacon Interval (ms)"
508
529
range 100 60000
509
530
default 100
531
+ depends on ENABLE_WIFI_AP
510
532
help
511
533
The beacon interval (in milliseconds) for the WiFi soft-AP.
512
534
513
535
config WIFI_AP_IDLE_TIMEOUT
514
536
int "WiFi AP Idle Timeout (ms)"
515
537
range 0 600000
516
538
default 120000
539
+ depends on ENABLE_WIFI_AP
517
540
help
518
541
The amount of time (in milliseconds) after which the CHIP platform will deactivate the soft-AP
519
542
if it has been idle.
0 commit comments