mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
New freq sorting
This commit is contained in:
parent
da1c22eb93
commit
17c57cb5da
1 changed files with 5 additions and 1 deletions
|
@ -66,9 +66,13 @@ int go_next_help(char sort_order[], int i, probe_entry entry,
|
|||
break;
|
||||
|
||||
// frequency
|
||||
// mac is 5 ghz or 2.4 ghz?
|
||||
case 'f':
|
||||
return entry.freq < next_entry.freq &&
|
||||
mac_is_equal(entry.client_addr, next_entry.client_addr);
|
||||
if(entry.freq >= 5000) &&
|
||||
if(next_entry.freq <= 5000) &&
|
||||
//entry.freq < 5 &&
|
||||
mac_is_equal(entry.client_addr, next_entry.client_addr);
|
||||
break;
|
||||
|
||||
// signal strength (RSSI)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue