[channel-manager] require CSL to enabled with CSL_CHANNEL_SELECT_ENABLE (#10266)

This commit requires `MAC_CSL_RECEIVER_ENABLE` to be enabled when
`CHANNEL_MANAGER_CSL_CHANNEL_SELECT_ENABLE` is also enabled. This is
checked and enforced in the `channel_manager.hpp`, emitting an
`#error` if it fails. This simplifies the `#if` checks related to
this in the `ChannelManager` class and CLI module.
This commit is contained in:
Abtin Keshavarzian
2024-07-11 14:16:26 -07:00
committed by GitHub
parent fbb715baa7
commit 2d2e8cf80a
7 changed files with 39 additions and 48 deletions
-6
View File
@@ -245,9 +245,6 @@ jobs:
COVERAGE: 1
THREAD_VERSION: 1.3
VIRTUAL_TIME: 1
INTER_OP: 1
INTER_OP_BBR: 1
ADDON_FEAT_1_2: 1
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
@@ -268,9 +265,6 @@ jobs:
- name: Run
run: |
ulimit -c unlimited
./script/test cert_suite ./tests/scripts/thread-cert/Cert_*.py
./script/test cert_suite ./tests/scripts/thread-cert/test_*.py
./script/test cert_suite ./tests/scripts/thread-cert/v1_2_*.py
./script/test cert_suite ./tests/scripts/thread-cert/addon_test_channel_manager_autocsl*.py
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1
if: ${{ failure() }}