|
667 | 667 | #define CHIP_CONFIG_UNAUTHENTICATED_CONNECTION_POOL_SIZE 4
|
668 | 668 | #endif // CHIP_CONFIG_UNAUTHENTICATED_CONNECTION_POOL_SIZE
|
669 | 669 |
|
670 |
| -/** |
671 |
| - * @def CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
672 |
| - * |
673 |
| - * @brief Defines the size of the pool used for tracking the state of |
674 |
| - * secure sessions. This controls the maximum number of concurrent |
675 |
| - * established secure sessions across all supported transports. |
676 |
| - * |
677 |
| - * This is sized by default to cover the sum of the following: |
678 |
| - * - At least 3 CASE sessions / fabric (Spec Ref: 4.13.2.8) |
679 |
| - * - 1 reserved slot for CASEServer as a responder. |
680 |
| - * - 1 reserved slot for PASE. |
681 |
| - * |
682 |
| - * NOTE: On heap-based platforms, there is no pre-allocation of the pool. |
683 |
| - * Due to the use of an LRU-scheme to manage sessions, the actual active |
684 |
| - * size of the pool will grow up to the value of this define, |
685 |
| - * after which, it will remain at or around this size indefinitely. |
686 |
| - * |
687 |
| - */ |
688 |
| -#ifndef CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
689 |
| -#define CHIP_CONFIG_SECURE_SESSION_POOL_SIZE (CHIP_CONFIG_MAX_FABRICS * 3 + 2) |
690 |
| -#endif // CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
691 |
| - |
692 | 670 | /**
|
693 | 671 | * @def CHIP_CONFIG_SECURE_SESSION_REFCOUNT_LOGGING
|
694 | 672 | *
|
|
712 | 690 | #define CHIP_CONFIG_MAX_FABRICS 16
|
713 | 691 | #endif // CHIP_CONFIG_MAX_FABRICS
|
714 | 692 |
|
| 693 | +/** |
| 694 | + * @def CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
| 695 | + * |
| 696 | + * @brief Defines the size of the pool used for tracking the state of |
| 697 | + * secure sessions. This controls the maximum number of concurrent |
| 698 | + * established secure sessions across all supported transports. |
| 699 | + * |
| 700 | + * This is sized by default to cover the sum of the following: |
| 701 | + * - At least 3 CASE sessions / fabric (Spec Ref: 4.13.2.8) |
| 702 | + * - 1 reserved slot for CASEServer as a responder. |
| 703 | + * - 1 reserved slot for PASE. |
| 704 | + * |
| 705 | + * NOTE: On heap-based platforms, there is no pre-allocation of the pool. |
| 706 | + * Due to the use of an LRU-scheme to manage sessions, the actual active |
| 707 | + * size of the pool will grow up to the value of this define, |
| 708 | + * after which, it will remain at or around this size indefinitely. |
| 709 | + * |
| 710 | + */ |
| 711 | +#ifndef CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
| 712 | +#define CHIP_CONFIG_SECURE_SESSION_POOL_SIZE (CHIP_CONFIG_MAX_FABRICS * 3 + 2) |
| 713 | +#endif // CHIP_CONFIG_SECURE_SESSION_POOL_SIZE |
| 714 | + |
715 | 715 | /**
|
716 | 716 | * @def CHIP_CONFIG_MAX_GROUP_DATA_PEERS
|
717 | 717 | *
|
|
0 commit comments