mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
Set low limit frequency for 2.4Ghz
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
NumChannels = 233
|
||||
|
||||
def freq_to_channel(freq):
|
||||
if freq <= 2472: # 2.4ghz wifi
|
||||
if 2412 <= freq <= 2472: # 2.4ghz wifi
|
||||
return int(((freq - 2412) / 5) + 1)
|
||||
elif freq == 2484: # channel 14 special
|
||||
return int(14)
|
||||
|
Reference in New Issue
Block a user