WLAN-Pi / wlanpi-profiler

Wi-Fi client capabilities analyzer tool built for the WLAN Pi
BSD 3-Clause "New" or "Revised" License
25 stars 8 forks source link

incorrect channels reported for some regulatory domains #45

Closed joshschmelzle closed 3 years ago

joshschmelzle commented 3 years ago

profiler does not use the correct logic when calculating support channels from a particular channel set. this is because it does not factor regulatory domain (FCC, ETSI, etc.) into the calculation.

i believe we would need a way to determine the clients regulatory domain and then use a dictionary lookup to report back the correct channels for a particular channel set.

joshschmelzle commented 3 years ago

the issue is when the support channels IE gives a channel set with a range of > 1. we assume that given range is contiguous. this is erroneous in some non-US regulatory domains like Australia. at the moment, we don't have a plan to address this.