mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
wifi-2070: Increase CSA count
- Channel switch in case of high interference was failing when multiple ssids are configured. Increasing CSA count helps all the vifs to reserve context and get ready before CSA can be finalized. - Log when we detect high interference Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
This commit is contained in:
committed by
Rick Sommerville
parent
482cfee8d5
commit
6021a14426
@@ -163,7 +163,7 @@ void rrm_nf_timer_handler(struct ev_loop *loop, ev_timer *timer, int revents)
|
||||
|
||||
if (nf > nf_drop_threshold)
|
||||
{
|
||||
LOGD("[%s] backup=%d nf=%d nf_lwm=%d drop=%d thresh=%d",
|
||||
LOGI("Interference detected on [%s], switching to backup_channel=%d nf=%d nf_lwm=%d drop=%d thresh=%d",
|
||||
radio->config.if_name,
|
||||
rrm_config->rrm_data.backup_channel,
|
||||
nf,
|
||||
|
||||
@@ -73,7 +73,7 @@ int ubus_set_channel_switch(const char *if_name, uint32_t frequency, int channel
|
||||
}
|
||||
|
||||
blobmsg_add_u32(&b, "freq", frequency);
|
||||
blobmsg_add_u32(&b, "bcn_count", 1);
|
||||
blobmsg_add_u32(&b, "bcn_count", 5);
|
||||
blobmsg_add_u32(&b, "bandwidth", channel_bandwidth);
|
||||
blobmsg_add_u32(&b, "sec_channel_offset", sec_chan_offset);
|
||||
return ubus_invoke(ubus, id, "switch_chan", b.head, NULL, NULL, 1000);
|
||||
|
||||
Reference in New Issue
Block a user