Commit Graph

466 Commits

Author SHA1 Message Date
John Crispin
f006db7913 ipq807x: reduce USB related log-spam
The kernel will spew a WARN(1) upon boot if it fails to probe USB phys that are not
populated on the eap102. This warning is a false positive so lets silence it.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-26 10:23:20 +01:00
John Crispin
6a14c4ca12 ath11k: reduce log-spam
Do not print unknown event warnings.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-26 10:07:15 +01:00
John Crispin
e9042b5150 tplink: add ex227/ex447 profiles and workflow support
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-25 17:31:58 +01:00
John Crispin
67b7d8fac2 ipq807x: enable 32bit mode for the target
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-25 17:11:23 +01:00
John Crispin
6a8a2296ea dnsmasq: add CVE mitigation patches
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-25 17:11:20 +01: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
13b2d00a35 wifi-ax: fix WIFI-1244 - iwinfo did not allow you to set the county code
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 18:19:55 +01:00
John Crispin
d2c848538e wifi-ax: wireless-regdb was not getting installed on QCA/AX images
This broke DFS.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 17:41:56 +01:00
John Crispin
7ae17f821b ipq807x: update kernel patches and add new boards
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01: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
John Crispin
b8ccbc2ec9 ipq807x: do not broadcast netlink messages while in an atomic context
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-12 11:39:17 +01:00
John Crispin
26606cf079 ipq807x: do not dump the whole ram when unit panics
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-12 11:39:04 +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
c9b2813876
Merge pull request #139 from Telecominfraproject/staging-wifi-1032-ec420-lan-mac
WIFI-1032 Repair EC420 MAC retrieval from manufacturing data
2021-01-05 10:56:53 -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
752e6397c5
Merge pull request #144 from Telecominfraproject/staging-wifi-11ax-defaults
WIFI-1240 Remove default SSID on 802.11ax radios
2021-01-05 10:40:56 -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
RickSommerville
ab388aebdc
Merge pull request #140 from Telecominfraproject/staging-bugfix-firewall
firewall: Fix APC, UCC firewall rule addition
2021-01-05 10:37:10 -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
Rick Sommerville
fa15169eb6 WIFI-1240 Remove default SSID on 802.11ax radios
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-12-22 13:23:44 -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
Rick Sommerville
8247dd865e WIFI-1032 Repair EC420 MAC retrieval from manufacturing data
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-12-19 12:11:05 -05:00
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
John Crispin
c983331569 ipq60xx: update to latest wifi firmware
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-15 20:36:06 +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