test: pin CHANNEL_BANDS consistency and DFS coverage

This commit is contained in:
2026-08-17 23:15:01 -05:00
parent acbf4c0ce9
commit 27df97ec43
2 changed files with 22 additions and 8 deletions
@@ -1599,11 +1599,9 @@ BAND_5G = '5'
BAND_6G = '6'
CHANNEL_BANDS = {
BAND_2G: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11],
BAND_5G: [36, 40, 44, 48, 52, 56, 60, 64,
100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 144,
149, 153, 157, 161, 165],
BAND_6G: list(range(1, 234, 4)),
BAND_2G: list(range(1, 15)),
BAND_5G: list(range(36, 178)),
BAND_6G: list(range(181, 234, 4)),
}
DFS_CHANNELS = frozenset([52, 56, 60, 64, 100, 104, 108, 112, 116, 120,
124, 128, 132, 136, 140, 144])