mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
rrmd: fix CSA on 6G channels
Fixes: WIFI-13384 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -24,6 +24,8 @@ function channel_to_freq(cur_freq, channel) {
|
||||
return 5000 + channel * 5;
|
||||
else if (band == '5G' && channel >= 183 && channel <= 196)
|
||||
return 4000 + channel * 5;
|
||||
else if (band == '6G' && channel >= 5)
|
||||
return 5950 + channel * 5;
|
||||
else if (band == '60G' && channel >= 1 && channel <= 6)
|
||||
return 56160 + channel * 2160;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ function scan_timer() {
|
||||
} catch(e) {
|
||||
printf('%.J\n', e.stacktrace[0].context);
|
||||
};
|
||||
return 1000;
|
||||
// return 1000;
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user