Applying the user configured dwell time for off-channel scan
requests. This needed driver changes to accommodate the command/event
processing time in the configured scan timeout, otherwise the scan
is aborted resulting in no off-channel survey results.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
This fix applies to EA8300, WF194c and EAP102. For these APs,
the br-wan is mapped to eth1 instead of eth0. Adding fix to
use the mac address from eth1 as ID for these particular APs.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
This patch will change the label names for WiFi6 APs to follow common naming convention
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Average Noise Floor is calcluated for the last few samples based on the
configured Noise Floor time. This calculated avg Noise Floor is compared
against the configured Noise Floor threshold to decide if a Channel hop
is required. While calculating the average, each noise sample is first
converted from dBm to milliWatts, an avaerage of the all the noise
samples in milliWatt is calculated, then the average is converted back
to dBm.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Sometimes the APC_State mode gets stuck in WT mode
on bootup. Sometimes the APC State gets updated at
the same time as disabling the APC (SIGTERM puts it in NC mode)
So it may get updated to WT just after SIGTERM handler
puts it in NC mode.
Fix this by setting APC_State in NC mode again after disabling
the APC from opensync (wm).
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This patch will add the support to read the cpu temperature of ath11k
chipset boards and update to the UI
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
The earlier changes for detaching the nl sockets for SM activity
also included a small change to relocate the event subscription.
This relocation of code is causing the crash due to possible
NULL pointer dereference.
Reverting the event subscription relocation code to avoid the
continuous SM crash.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Could not root-cause the issue for SM crash, but there were enough
indications of some kind of memory corruption. Different core captures
show the code crashing at different places. An experiment to unblock
the SM socket on the receive end helped avoid the corruption and
subsequently the crashes.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
-Reduced the BDR->DR swap time.
-Monitor the cloud connection and start/stop APC
based on the connection stability.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Proxy service is started only if
- Radius_Proxy_Config ovsdb table is present
- APC elects AP as DR
Also fixes WIFI-2377
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
- WM was getting stuck on recvmsg() while receiving netlink event notifications
Since we are already using event loop to read data as and when it arrives, there was
no need to keep nl_recvmsgs() in blocking mode for notifications.
Setting socket to non-blocking mode resolves the issue.
- Also removed a redundant reload_config call in captive.c.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Remove stale radius proxy config on ovsdb delete.
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
WIFI-2377: check radius proxy service on APC state change
Start or stop radius proxy service as needed on APC state change.
Radius proxy service is only started if:
- AP is elected as a DR (Designated Router) via APC
- radproxy is set to true in vif config custom options for any
ssid
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
If there is a cloud connectivity loss, we do not
want the AP to be elected as a DR/BDR since that would
mean the APs configuration could mismatch with all the
other APs linked to it.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Raise the priority of BDR in case
when DR is inactive, so that in the
election process BDR is elected as
DR.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Fix firewall setting not being applied.
return incase the interap socket fails.
Clean up in failure conditions.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
- Make sure that uci_context used while loading a UCI is exclusive at
any given time.
- Some other improvements in the same area.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
- Add config parameters for accounting server in non-TLS case
- Allow server port to be configurable
- Fix up multiple realm to server mapping config
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
Fixes the following passpoint config params:
- Network Auth Type
- Connection Capability
- IP Address Availability
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
Reading model info from flash. If no info present in flash,
then read it from /tmp/sysinfo/boardname.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Add custom options to enable proxy arp and
mcast to ucast, this is used for Hotspot 2.0.
It is tested for ipv4.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
- 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>
Fix SM crash event during chan switch event due
to global chan switch struct not being freed properly.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This patch will resolve the channel switching issue when there is a single SSID on each radio
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Fix Rate set bug by deviding the given value by 10, since
the value is given in multiples of 10 by the cloud.
Increase wait time to 20 seconds for the FW to settle
before applying the rate
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
ath10k-ct: Fix mcast/bcast/mgt/beacon rate overrides.
Somewhere around 5.7 kernel, mac80211 started setting
mcast/bcast, and ath10k started auto-calculating the
mgt ratecodes. This was overriding anything a user set through
debugfs.
Instead, have debugfs take precedence in case a user sets
a rate there.
Signed-off-by: Ben Greear <greearb@candelatech.com>