socallinuxexpo / scale-network

SCaLE's on-site expo network configurations, wifi, tooling, and scripts
https://www.socallinuxexpo.org/
BSD 3-Clause "New" or "Revised" License
40 stars 16 forks source link

Update wifi channel validation to enumeration #701

Closed kylerisse closed 3 months ago

kylerisse commented 3 months ago

Description

checking for a valid wifi 2.4 channel currently allows any value between 1 and 11. This should only allow 1, 6, or 11

Acceptance Criteria

isvalidwifi24chan function only passes for channels 1, 6, or 11