mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 04:52:10 -07:00
Update wifi.go
This commit is contained in:
parent
dd05670e1f
commit
f9ab25aa8b
1 changed files with 2 additions and 0 deletions
|
@ -25,6 +25,8 @@ func Dot11Freq2Chan(freq int) int {
|
|||
return ((freq - 5035) / 5) + 7
|
||||
} else if freq >= 5875 && freq <= 5895 {
|
||||
return 177
|
||||
} else if freq >= 5955 && freq <= 7115 {
|
||||
return ((freq - 5955) / 5) + 1
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue