Commit Graph

44 Commits

Author SHA1 Message Date
Nagendrababu
547fb36d78 WIFI-1934-LED-Turnoff
This Patch will add support to turnoff LEDs of the AP through cloud
command

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-06-11 09:43:14 -04:00
Arif Alam
b9e54ac20e WIFI-838: Dynamic discovery of HSPs/IDPs
Dynamically discover RADSEC endpoint based on NAPTR DNS records.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-06-11 09:34:24 -04:00
Nagendrababu
80f67521f8 WIFI-1933-Blink-APs-LED
This patch will change the label names for WiFi6 APs to follow common naming convention

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-06-04 13:08:00 -04:00
Owen Anderson
3881ec638b WIFI-2148: Added auto value for hw_mode in config
Signed-off-by: Owen Anderson <owenthomasanderson@gmail.com>
2021-06-03 12:50:56 -04:00
John Crispin
4403a913ca opensync: make sure that the intermediate CA bundle is always installed
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-01 17:36:09 -04:00
Owen Anderson
60bff767d2 WIFI-1845: Updated rotation conf file with new date format
Signed-off-by: Owen Anderson <owenthomasanderson@gmail.com>
2021-06-01 15:16:26 -04:00
Chaitanya Godavarthi
53ad416396 wifi-2342 wifi-2343: APC BDR/DR swap fix and monitor cloud connection
-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>
2021-05-28 15:40:49 -04:00
Rick Sommerville
ebaa9b25ce WIFI-2416 Auto redirector bug fix (re-enable webserver, manage Maverick)
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-05-27 23:26:14 -04:00
Owen Anderson
94bcfaf93f WIFI-1845: Added functionality to rotate the logs for ovsdb
Signed-off-by: Owen Anderson <owenthomasanderson@gmail.com>
2021-05-27 11:41:40 -04:00
Rick Sommerville
e71df5ebe4 WIFI-2427 Preserve certs and redirector over factory-reset
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-05-25 11:28:41 -04:00
Rick Sommerville
d7b413bd0e WIFI-2416 Automatically DigiCert if no redirector setup
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-05-22 22:08:59 -04:00
Rick Sommerville
a1ff0f90f6 WIFI-2381 Query DigiCert's API for Redirector's address
Signed-off-by: Max Brenner <xamrennerb@gmail.com>
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-05-22 10:32:51 -04:00
Chaitanya Godavarthi
e5bc8c9550 opensync: fix Rate-set bug
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>
2021-04-23 17:36:57 -04:00
Chaitanya Godavarthi
068a6b787a opensync: Fix redirector update
Fix redirector update issue, redirector occassionally
doesnt update in the system file.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-03-18 19:38:04 -04:00
Chaitanya Godavarthi
710cebf3e1 opensync: Dynamic VLAN add hotplug
Add hotplug script which adds the Dynamic
VLAN for the desired interface.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-20 15:46:41 -05:00
Chaitanya Godavarthi
ed7194e1b4 Fix for wifi6 Crash in nft in ssidratelimit hotplug
Fixes crash in kernel due to nft accessing
kernel in hotplug code early on.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-18 20:40:59 -05:00
Chaitanya Godavarthi
d92c28e5cb opensync: fix ssid-ratelimiting
Fix ssid ratelimiting bugs

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-17 11:02:49 -05:00
Rick Sommerville
122965a3ad Wifi-1472 Wifi6 software upgrade fix with TIP cloud
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-02-07 22:20:18 -05:00
Rick Sommerville
dca36b0128 Wifi-1393 Software upgrade SHA check repair.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-29 10:05:45 -05:00
Rick Sommerville
6e451ce367 WIFI-1318 Reduce memory required for sysupgrade
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-21 16:59:40 -05:00
Yashvardhan
955ae11f94 opensync: Set beacon and multicast tx rates
- Support to configure fixed beacon and multicast rates
- Modified/Removed unwanted RRM parameters

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-11-23 07:35:48 +01:00
Rick Sommerville
dafcf692f6 opensync: Align AP VLAN implementation with cloud
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-10-30 13:04:55 +01:00
Yashvardhan
6bb9d00899 opensync: Add support to report inactive firmware version
- Inactive firmware image version is stored over upgrade
   and is reported in AWLAN_Node table.
 - Rename FW_IMAGE_NAME to FW_IMAGE_ACTIVE

FIXES: WIFI-609

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-09-30 19:37:41 +02:00
Yashvardhan
61ad8756b3 opensync: Added support for local dhcp fingerprint decoding
- Support to decode dhcp fingerprint using a locally stored fingerbank database

Fixes: WIFI-433

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-09-15 14:43:10 +02:00
Yashvardhan
24a3c6e6e7 opensync: Support to apply and preserve redirector address
- Added helper script to apply redirector address
 - Added support to preserve the same
 - Changed the default fqdn

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-08-09 09:18:08 +02:00
John Crispin
ed379f94f2 opensync: more network manager fixes
This patch will get folded into the main patch when we push to trunk.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-02 11:53:07 +02:00
John Crispin
ef59c4c6e4 opensync: add netifd manager
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-31 14:12:11 +02:00
John Crispin
d9bf09d3c2 opensync: add wifi tcpdump support
This patch will bring up a monitor interface on a named phy and start a scan.
Once completed, the resulting pcap will be uploaded to a http server.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-30 15:55:30 +02:00
Rick Sommerville
6a6cb55ff0 opensync: Support Multi-SSID per radio. Support radioX -> wlanX-Y naming convention.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-07-30 07:55:38 +02:00
John Crispin
75b5e5a88e opensync: set default ssid
Use Maverick-<eth0 mac> as the ssid.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 19:04:46 +02:00
John Crispin
322d5130e7 opensync: add ec430 to tip.sh
On the ec420, the wifi devices names were not updated yet.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
Yashvardhan
1f5b46b51e Opensync: fix sysupgrade
The current script was using the wrong upgrade file and incorrectly deleted
$TMPDIR after it was done.

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-07-29 14:17:39 +02:00
John Crispin
1b168a811e opensync: add kernel crash detection
This feature makes use of the crashlog driver in the kernel. If we experience
an oops, the kernel will store the stack trace inside /sys/kernel/debug/crashlog.
OpenSync will then add an entry to the Alarms table. The could can then retrieve
the crashlog via the Command_config table.

A crash can be simulated with
   echo c > /proc/sysrq-trigger

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
Yashvardhan
7215d000d9 opensync: Support FW upgrade from a tar package
- Added support to upgrade firmware from a URL to a FW tar/tar.gz package
 - Checksum validation using sha256sum
 - Some error handling
 - Added support to share the firmware tar name to the gateway

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-07-24 09:08:32 +02:00
John Crispin
7690787c9f opensync: add command manager
This allows us to trigger remote commands, such as tcpdump.
Also allow configuring NTP and remote syslog.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-23 18:54:03 +02:00
John Crispin
866b4b7eae wlan-ap-config: move all config/uvi-defaults scripts into the same package
When adding a new baord we had to edit files all over the tree. After this patch
they are all located in the same folder.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-23 17:10:56 +02:00
Arif Alam
f237d4104e opensync: add interface name mappings for ECW5410, ECW5211, and AP2220
Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-07-22 14:58:04 +02:00
John Crispin
1bab63de00 opensync: add command manager
This adds 2 new tables
* CommandConfig
* CommandState

This allows us to remotely trigger, tcpdump, remote syslog, ...

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-22 14:58:04 +02:00
Chaitanya Kiran Godavarthi
f7e637467f opensync: Addd hotplug script for ratelimiting
Add hotplug script for rate limiting to occur
when a wifi interface comes up.

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-07-22 14:58:04 +02:00
John Crispin
22f43634f3 opensync: add a unified build target
With this patch applied we do not need build variants anymore.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-22 14:58:04 +02:00
John Crispin
0e6ce72ac7 opensync: fix wan6
With wan having become a bridge we need to update the wan6 ifname to @wan.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-16 19:30:44 +02:00
John Crispin
a34d844742 opensync: add vlan support
When we bring up a VLAN we need to add several sections to make openwrt
aware of the new vlan network.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
2255d34fe2 opensync: turn wan into a bridge and enable vlan_filtering
We want wan and lan to be a bridge with vlan_filtering enabled.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
d8091386bf opensync: update to 2.0.5.0
Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00