Commit Graph

209 Commits

Author SHA1 Message Date
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
Arif Alam
3741e3c999 opensync: enable dhcp sniffing only on bridge interface
Reduce nm running memory footprint by enabling dhcp sniffing only on bridge interface.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-02-11 23:09:24 -05:00
Ammad Rehmat
e8bb46609d Wifi-1502 : Hostapd has the list of channels it can switch to in case of DFS event
- Hostapd will have a list of channels which it is allowed to switch to after receiving DFS event.
- cpp check switched from 1.82 to 1.90-4 so some code changes in redirclient.c and captive.c for passing static analysis.

Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-11 22:12:13 -05:00
Chaitanya Godavarthi
efc52018e5 opensync: Add support for dynamic vlan in custom_options
Add support for dynamic vlan in custom_options:
dynamic_vlan (values 0 1 and 2)
0 - disabled
1 - enabled
2 - enabled and reject if Radius server doesnt have Dynamic VLAN

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-09 13:19:40 -05:00
Nagendrababu
d6e1a02432 WIFI-1458-Tx-Power-Range
This patch will resolve the radio config fail problem, when tx
power configured more than allowed operational range of AP.

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-08 17:27:03 -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
Chaitanya Godavarthi
b6b0ddfcf6 ssidratelimit: Convert bits/sec to bytes/sec
Convert kbits/sec bandwidth information given
to kbytes/sec.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-04 22:06:07 -05:00
Ammad Rehmat
fd35b98e61 Wifi-888 : Channel switch events due to high interference and DFS
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-04 22:01:17 -05:00
Ammad Rehmat
f6739a6c0f WIFI-1412 Command manager clears entries upon completion/failure from state and config table
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-03 21:19:19 -05:00
Ammad Rehmat
af486ae7f7 WIFI-1435 : Stop session command implemented in command manager
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-03 21:17:39 -05:00
Yashvardhan
06c9dd4d2a opensync: Add GRE support
- Added support to create GRE tunnel interface and corresponding
   vlans

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-02-02 22:24:00 -05:00
Nagendrababu
fb04fbbd00 WIFI-1355 Configure MIMO mode
This patch will add fix for MIMO mode configuration issue

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-02 22:14:48 -05:00
Nagendrababu
f65c9cd537 WIFI-961: Fix for Command Manager Crash
This patch will reslove command manager crash issue and also add support for deleting the lingering entries in
the command state table

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-02-01 15:36:45 -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
253ff7b918 WIFI-1308 Validate EAP parameters before UCI update
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-26 13:11:25 -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
Ammad Rehmat
f7345e5e18 NETEXP-898: Increase the waiting time before terminating the websocket
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-01-19 09:08:25 -05:00
John Crispin
2f71c9c367 wlan-ap-config: fix hostname detection on qcom/ax units
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
3392cec348 wlan-ap-config: properly detect the cig wf-194c serial
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
db9507bcc1 wlan-ap-config: move oom reboot trigger to the right location
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
Yashvardhan
861c2168ab opensync: Fix events timestamp
- Added milliseconds timestamp precision
- Data type changed to uint64 to hold millisecond timestamp

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-01-14 20:31:19 -05:00
John Crispin
73b62d7126 luci-mod-simple: add tab to allow LAN configuration in the webui
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-13 14:26:48 +01:00
Arif Alam
7bdc20f093 NETEXP-928: fix associated clients keeps switching state
Fixes an issue where client was getting deleted and added to ovsdb causing state change.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-01-12 12:23:03 -05:00
John Crispin
fcc2f78c33 wlan-ap-config: force system reboot upon OOM
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-12 11:52:50 +01:00
Rick Sommerville
c22b87df10 Force utilization >100% to 100%
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-01-07 14:36:44 -05:00
Yashvardhan
c9d439b905 opensync: Add ip events
Support for ip events in ubus collector and sm_events_report

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2021-01-06 15:27:24 -05:00
Arif Alam
6abe539c5d opensync: remove stale clients
Remove stale clients from client list in case disconnect event was not received.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-01-06 15:26:12 -05:00
RickSommerville
8cb715cfb4
Merge pull request #131 from Telecominfraproject/staging-channels-rstate
Wifi-886 : Channels field in radio state table populated
2021-01-05 10:58:30 -05:00
RickSommerville
3c80cec845
Merge pull request #143 from Telecominfraproject/staging-delete-invalid-vifs
Remove wifi-iface definitions not matching TIP format.  Eg. defaults …
2021-01-05 10:57:52 -05:00
RickSommerville
7be66d84ee
Merge pull request #147 from Telecominfraproject/staging-client-events-refactoring
opensync: Major refactoring/bug fixes for client events
2021-01-05 10:56:15 -05:00
RickSommerville
ef41cc6291
Merge pull request #146 from Telecominfraproject/staging-fixmgrkill
opensync: terminate all managers on service stop/restart
2021-01-05 10:41:39 -05:00
RickSommerville
95288430a5
Merge pull request #142 from Telecominfraproject/staging-survey-report-per-radio
WIFI-1105: Bug fix for survey report per radio
2021-01-05 10:40:09 -05:00
Nagendrababu
df0b30ad94 WIFI-1105: Bug fix for survey report per radio
package:opensync

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-01-04 17:35:57 -05:00
Rick Sommerville
9564b17467 Remove wifi-iface definitions not matching TIP format. Eg. defaults introduced by non-TIP load.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-12-24 15:56:13 -05:00
Yashvardhan
c8e4543aed opensync: Major refactoring/bug fixes for client events
- Removed unwanted nested client event structures.
   Doing this not only reduced complexity in the code but also helped get
   rid of multple memory leaks and crashes in SM and datapipeline.
 - Simplified ubus invoke calls. Nested ubus invokes were resulting in some
 - data loss in callbacks
 - Fixed incorrect conversion of session_id data type. This was blocking
   clearing of sessions.
 - Got rid of unnecessary strdups/mallocs. Potential memory leaks.
 - Fixed missing conversion of frequency to band
 - Removed unwanted logging which was filling the syslog buffer.
 - Resolved a race occuring on the shared list between ubus_collector and SM.
 - Relevant changes in datapipeline/protobuf to support the modified interface.

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-12-24 08:38:51 -08:00
Arif Alam
710f0346bf opensync: terminate all managers on service stop/restart
Not all opensync managers were terminated on service stop/restart.
Send SIGKILL to terminate all managers.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2020-12-24 08:24:22 -05:00
Chaitanya Godavarthi
4977c9800d interapcomm: Add firewall rule statically instead of startup scripts
Added the rules statically in firewall.config, hence reverted the code
which adds firewall rules during startup.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2020-12-21 07:10:10 +05:30
Ammad Rehmat
6ae5a124c2 Wifi-886 : Channels field in radio state table populated
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-12-18 13:42:53 -05:00
Arif Alam
19ea471ff8 opensync: fix passpoint config
- fix potential issue with icon config section name
- remove passpoint related entries in config wireless on delete

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-12-18 18:41:58 +01:00
Rick Sommerville
33a960690b Adjust the dhcp event message to be 3. Channel change uses 2.
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-12-18 18:41:22 +01:00
Luka Kudra
d89798e413 opensync: add x_id to DhcpTransaction message
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
ebb4788eda opensync: fix nameing of dhcp events in opensync_stats.proto
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
9f2a6809a9 opensync: dhcp events proto update
- group the common data in dhcp events into one message
- add a timestamp in milliseconds in each dhcp event
- aggregate all dhcp events into a single dhcp event

Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
98e35296af opensync: add proto definitions for dhcp events
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
43880ecfb5 opensync: fix nameing of dhcp events in opensync_stats.proto
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
0c0c7c678e opensync: dhcp events proto update
- group the common data in dhcp events into one message
- add a timestamp in milliseconds in each dhcp event
- aggregate all dhcp events into a single dhcp event

Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
28149562fa opensync: add proto definitions for dhcp events
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Luka Kudra
97acafeb1c opensync: add dhcp events proto definitions
Signed-off-by: Luka Kudra <luka.kudra@netexperience.com>
2020-12-18 15:28:13 +01:00
Yashvardhan
099feb23ec opensync: Capture dhcp packets in promiscous mode
DHCP_leased_IP table was not getting populated for some of the
associated clients. Enabling capture in promiscous mode allows
capturing of all the dhcp packets.

Fixes: WIFI-1177

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-12-13 18:46:52 +01:00
Ben Greear
e03b575df7
Merge pull request #133 from Telecominfraproject/staging-fixnat
opensync: fix NAT clients not getting IP
2020-12-11 16:28:04 -08:00