Update wifi.go

This commit is contained in:
Nelson Murilo 2025-03-13 15:33:09 -04:00 committed by GitHub
parent dd05670e1f
commit f9ab25aa8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,6 +25,8 @@ func Dot11Freq2Chan(freq int) int {
return ((freq - 5035) / 5) + 7 return ((freq - 5035) / 5) + 7
} else if freq >= 5875 && freq <= 5895 { } else if freq >= 5875 && freq <= 5895 {
return 177 return 177
} else if freq >= 5955 && freq <= 7115 {
return ((freq - 5955) / 5) + 1
} }
return 0 return 0
} }