|
1 | 1 | /* |
2 | | - * SPDX-FileCopyrightText: 2021-2024 Espressif Systems (Shanghai) CO LTD |
| 2 | + * SPDX-FileCopyrightText: 2021-2025 Espressif Systems (Shanghai) CO LTD |
3 | 3 | * |
4 | 4 | * SPDX-License-Identifier: Apache-2.0 |
5 | 5 | */ |
|
449 | 449 | #ifndef OPENTHREAD_CONFIG_CSL_RECEIVE_TIME_AHEAD |
450 | 450 | #define OPENTHREAD_CONFIG_CSL_RECEIVE_TIME_AHEAD (OPENTHREAD_CONFIG_MAC_CSL_REQUEST_AHEAD_US + 320) |
451 | 451 | #endif |
| 452 | + |
| 453 | +/** |
| 454 | + * @def OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE |
| 455 | + * |
| 456 | + * Enable the periodic parent search feature. |
| 457 | + * |
| 458 | + */ |
| 459 | +#ifndef OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE |
| 460 | +#define OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE CONFIG_OPENTHREAD_PARENT_SEARCH_MTD |
| 461 | +#endif |
| 462 | + |
| 463 | +/** |
| 464 | + * @def OPENTHREAD_CONFIG_PARENT_SEARCH_CHECK_INTERVAL |
| 465 | + * |
| 466 | + * Specifies the interval in seconds for a child to check the trigger condition to perform a parent search. |
| 467 | + * |
| 468 | + * Applicable only if periodic parent search feature is enabled (see `OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE`). |
| 469 | + */ |
| 470 | +#ifndef OPENTHREAD_CONFIG_PARENT_SEARCH_CHECK_INTERVAL |
| 471 | +#define OPENTHREAD_CONFIG_PARENT_SEARCH_CHECK_INTERVAL CONFIG_OPENTHREAD_PARENT_SEARCH_CHECK_INTERVAL_MINS * 60 |
| 472 | +#endif |
| 473 | + |
| 474 | +/** |
| 475 | + * @def OPENTHREAD_CONFIG_PARENT_SEARCH_BACKOFF_INTERVAL |
| 476 | + * |
| 477 | + * Specifies the backoff interval in seconds for a child to not perform a parent search after triggering one. This is |
| 478 | + * used when device is an MTD child. |
| 479 | + * |
| 480 | + * Applicable only if periodic parent search feature is enabled (see `OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE`). |
| 481 | + */ |
| 482 | +#ifndef OPENTHREAD_CONFIG_PARENT_SEARCH_BACKOFF_INTERVAL |
| 483 | +#define OPENTHREAD_CONFIG_PARENT_SEARCH_BACKOFF_INTERVAL CONFIG_OPENTHREAD_PARENT_SEARCH_BACKOFF_INTERVAL_MINS * 60 |
| 484 | +#endif |
| 485 | + |
| 486 | +/** |
| 487 | + * @def OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD |
| 488 | + * |
| 489 | + * Specifies the RSS threshold used to trigger a parent search. |
| 490 | + * |
| 491 | + * Applicable only if periodic parent search feature is enabled (see `OPENTHREAD_CONFIG_PARENT_SEARCH_ENABLE`). |
| 492 | + */ |
| 493 | +#ifndef OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD |
| 494 | +#define OPENTHREAD_CONFIG_PARENT_SEARCH_RSS_THRESHOLD CONFIG_OPENTHREAD_PARENT_SEARCH_RSS_THRESHOLD |
| 495 | +#endif |
0 commit comments