Under Bridged mode of configuration, when creating VLAN interface,
we create VLAN for both WAN and LAN side, whereas LAN side VLAN is
not requried.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
This Patch fixes leds incorrect service state issue, and correct the
label names for all wifi6 APs
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
- Currently ath10/11k reports time_bss_rx (amount of time the radio spent receiving data on a local BSS)
inside time_rx (amount of time the radio spent receiving data). This patch fixes the behavior.
- Added support to report time_bss_rx over nl80211
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Channel time, busy and other survey counters are showing incorrect values (less than previous or sometimes zero).
Consecutive survey dumps are expected to return monotonically increasing counter values.
Root Cause:
Clear on read in ath10k was leading to this issue.
Solution: Use the non-clearing
WMI_BSS_SURVEY_REQ_TYPE_READ wmi_bss_survey_req_type
Note: ath11k already has this fix.
Patch also fixes the utilization percentage calculation for different survey parameters in opensync
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
Sometimes we see a Client session created with sessionId=0,
and this never gets deleted. The AP keep on sending this event
as long as it exist in the events list.
SessionId=0 is invalid. Adding checks to avoid creating session
with Id=0. Also added a check in the opensync ubus to skip
already processed events.
Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
Add rrm channel setting through radio config. This
allows channel change through radio config in the
case where vif is not reloaded.
The below commit disables reload of vif when setting
RRM parameters:
"wifi-2648:Config RRM params without wifi vif reload"
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Configure the following without vif reload:
Tx power
probe_response_threshold
client disconnect threshold
Beacon and multicast rates
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
This patch will add the conditions to respond captive portal API's to
only valid configuration
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Mismatch in vifC and vifS for captive portal is
leading to opennds restarts and memory leakage.
Fix by making sure the vifC and vifS are in parity.
uci_blob not being freed, fix by making uci_blob
as global so that it need not be freed and can
be reused instead.
Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
Cleaning up captive portal code to improve stability and reduce memory leaks
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
- During the configuration process, AP was triggering network
and wireless reload multiple times in a very short window
resulting in a poorly configured hostapd. This patch makes sure
that network/wireless is reloaded only once after all the configuration
is committed to UCI files.
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
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 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>