mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Update for better wifi channel calculation
Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
NumChannels: int = 233
|
||||
|
||||
def freq_to_channel(freq: float) -> int:
|
||||
"""
|
||||
Convert a Wi-Fi frequency (in MHz) to its corresponding channel number.
|
||||
|
Reference in New Issue
Block a user