mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
rrmd: do not automatically trigger beacon reports when a station joins
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
@@ -29,8 +29,9 @@ function station_add(device, addr, data, seen, bssid) {
|
||||
beacon_report: {},
|
||||
};
|
||||
|
||||
if (config.beacon_request_assoc)
|
||||
/* if (config.beacon_request_assoc)
|
||||
stations[addr].beacon_request_assoc = time();
|
||||
*/
|
||||
}
|
||||
|
||||
/* update device, seen and signal data */
|
||||
@@ -47,6 +48,7 @@ function station_add(device, addr, data, seen, bssid) {
|
||||
global.event.send('rrm.station.add', { addr, rrm: stations[addr].rrm, bssid });
|
||||
|
||||
/* check if a beacon_report should be triggered */
|
||||
/*
|
||||
if (stations[addr].beacon_request_assoc && time() - stations[addr].beacon_request_assoc >= 30) {
|
||||
global.station.beacon_request({ addr, channel: stations[addr].channel});
|
||||
stations[addr].beacon_request_assoc = 0;
|
||||
@@ -56,6 +58,7 @@ function station_add(device, addr, data, seen, bssid) {
|
||||
global.event.send('rrm.beacon.report', { addr, report: stations[addr].beacon_report });
|
||||
stations[addr].beacon_report_seen = 0;
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function station_del(addr) {
|
||||
|
||||
Reference in New Issue
Block a user