Commit Graph

188 Commits

Author SHA1 Message Date
Sasikantha Babu
30f337c519 wlan-ap: changed docker PATH to docker to speed up compilation.
Otherwise docker build is sending around 12G-16GB to docker daemon.
Since we are binding the wlan-ap code in the docker we do not have  to
send entire code to docker daemon.

Signed-off-by: Sasikantha Babu <sbabu@benunets.com>
2020-10-16 15:42:21 +02:00
Sasikantha Babu
4016a3f116 opensync: Added support for gre tunneling
WIFI-762

Signed-off-by: Sasikantha Babu <sbabu@benunets.com>
2020-10-16 15:42:10 +02:00
Sasikantha Babu
1c62e846ca gre: enable GRE package and kernel modules for gre & tunneling
WIFI-762

Signed-off-by: Sasikantha Babu <sbabu@benunets.com>
2020-10-16 15:41:57 +02:00
John Crispin
0b13cb3171 ipq807x: add edgecore eap-102 support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-16 04:28:51 +02:00
Ammad Rehmat
bd2412f02e opensync: Remote ssh session feature
The feature provides ability to create a remote ssh session.

libwebsocket is a modified version of library hence included as a package.

Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-10-15 07:58:56 +02:00
Sven Eckelmann
0cb7073abb ipq807x: Add batman-adv for wifi-ax's mac80211
The batman-adv source code in openwrt-routing for OpenWrt 19.07 is
expecting the backports' compat code from OpenWrt 19.07. But the mac80211
package in wifi-ax is providing the ABI (and API) from a much newer kernel.

To work around this problem, a fork of the batman-adv package from OpenWrt
19.07 without the patches 0001-0004 can be used to switch to the new
netlink policy structure from newer kernel versions.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-10-13 16:14:29 +02:00
Nagendrababu
22317ae623 opensync: Support for Captive Portal Phase2
This patch will support captive portal username and password
Package:openNDS

Fixes: WIFI-413
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2020-10-13 16:14:15 +02:00
Felix Fietkau
f417061a3e opensync: significantly reduce package size
Use -Wl,--gc-sections and drop -rdynamic in order to allow the linker to
leave out unused functions

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2020-10-09 14:35:02 +02:00
John Crispin
80df28835e nf_uccdetect: disable log spam
disable what appears to be a dbg message in the kernel module.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-08 11:50:40 +02:00
John Crispin
64bc01c7ea wlan-ap: make use of the initial bringup webui
The default Luci module is now the TIP onboarding one. Ut gets disabled
when the AP makes first contact with the cloud.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-08 11:17:44 +02:00
John Crispin
b9aa316179 profiles: drop wf188.yml
We will be using the wf188n version so we can drop the profile for the unit
used during bringup.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-08 10:00:41 +02:00
Ben Greear
f92d250141 ath10k-ct-fw: Update to latest firmware.
This pulls in latest firmware.  Not much change from last time, qcache builds
are slightly less broken, but still broken none the less, so don't use those
for general use.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-10-07 20:28:38 +02:00
Ben Greear
fbf2e1753a ath10k-ct: Don't override regulatory domain.
A painfully slow bug hunt lead to the fact that edge-core 5410-L EU
variant has radios that hang when the driver sets the regulatory domain
to USA.

So, stop overriding regulatory domain by default.  If a user wants to
do this on a platform, it can be changed on their specific platform.

While at it, increase tx buffers for 9984 a bit since we have some
extra RAM to spare.  This will help scale high tx speed with lots of
stations associated since there is more buffer space to build larger ampdus.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-10-07 20:28:17 +02:00
John Crispin
cb9d5f9bdc dnsmasq: turn the base uci section into a named one
Handling this section from opensync is complicated if it is unnamed.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-06 16:40:37 +02:00
Arif Alam
c178797a46 opensync: ovsdb schema for passpoint
Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-10-06 16:02:30 +02:00
John Crispin
04f6078da6 ipq807x: update AX support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-04 14:28:57 +02:00
John Crispin
e79901dde7 setup.py: drop the local cloud-sdk support
The persistent cloud is now available so we no longer require this in the
tree.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-04 14:28:56 +02: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
Damir Franusic
29a2821659 opensync: build system update
* opensync_stats.proto gets compiled during the build
  process. The pre-compiled files (opensync_stats.pb-c.*)
  should not be patched any longer; I have also updated
  some older patches for all of this this to work. OpenWrt
  creates a temporary proto-c package for the host ARCH and
  generates source and header files for the target platform.
  This happens after all the patches have been applied and just
  before the opensync compilation process.

Signed-off-by: Damir Franusic <damir.franusic@netexperience.com>
2020-09-30 19:37:41 +02:00
Sven Eckelmann
215be21272 ipq807x: Fix dtc host build with GCC 10
The dtc binary has to be compiled using the host GCC and not the target
cross compiler GCC. And GCC 10 is using by default -fno-common which
inhibits the merging of tentative definitions by the linker.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-09-30 19:37:41 +02:00
John Crispin
133a959b3c ipq40xx: fix latest nand patch
Thgis was not in git format, causing local builds to fail.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-30 09:43:46 +02:00
cbuschfb
8d83a22159 Patch W25M02GV NAND support EdgeCore ECW5211
Signed-off-by: cbuschfb <chrisbusch@fb.com>
2020-09-29 13:44:23 +00:00
John Crispin
d0cecdecef opensync: make phy detection work on AX
The AX silicon uses multi phy devices. The path matching code
needs an update to be able to detect this.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-25 09:15:43 +02:00
John Crispin
b4fc797b2b wlan-ap-config: make the default tip-data work like it does on ec420
If the board does not have a special way to read the serial/model, use the
same method as EC420 does as a default.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 17:57:36 +02:00
John Crispin
fdb3af3d2b ipq807x: add wallaby LED support
Add the led netdev trigger setup code making lan/wan leds work.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 17:37:28 +02:00
John Crispin
e7e18a8e2a opensync: fix stack corruption on 64bit
This code worked on 32bit as sizeof(struct blob_attr) == 4, same as a
pointer. On 64bit a pointer requires 8 bytes however.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 15:01:30 +02:00
Rick Sommerville
9c1847ea86 Wifi--617 and WIFI-619: Add custom-options for RTS-CTS threshold and DTIM period
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-09-23 08:39:25 +02:00
John Crispin
9cb690f14e ec420: add the 2 missing wifi board files
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 08:38:28 +02:00
John Crispin
2837dc61e6 patches: move all patches into a single folder
This allows easier managing of updated patches.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:20:11 +02:00
John Crispin
35bdbb920b profiles: move profiles into a dedicated folder
Tracking these as patches has been causing problems.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:09:24 +02:00
Nagendrababu
49fc316655 opennds: Fix for Session Timeout Reporting
This patch will resolve the issue:VIF State captive_portal/session_timeout reports 0 value when not set

Fixes: WIFI-790
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2020-09-22 16:42:19 +02:00
Yashvardhan
d31c9574ea opensync: Fix incorrect client fingerprint info reporting
- Incorrect dhcp fingerprint info was reported in case client is not found in
   the local fingerbank database. This patch fixes the issue.

Fixes: WIFI-791

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-09-21 17:10:39 +02:00
Chaitanya Kiran Godavarthi
786151047e opensync: Fix SM schema add video-voice
Add video_voice string in the Wifi_Stats_Config schema

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-09-21 13:18:46 +02:00
Arif Alam
926816f18e hostapd: Set procd to respawn hostapd indefinitely
Procd currently only respawns hostapd five times. This commit
will ensure that hostapd is always respawned.

Fixes: WIFI-705
Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-09-21 13:16:56 +02:00
John Crispin
b475b15c93 ipq807x: fix patch annotation
The batman patch lost its annotation during last rebase.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-21 13:16:06 +02:00
John Crispin
bad57a30f6 ec420: fix generation of br-lan
OpenWrt does not allow bridges with no default interfaces.

Fixes: WIFI-756
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-17 08:27:38 +02:00
John Crispin
7c8e51fa4c ipq807x: fix the batman profile patch
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 17:20:06 +02:00
John Crispin
dace0d2f61 mac80211: enable 802.11ai
Enable FILS in hapd/mac80211

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 14:43:28 +02:00
John Crispin
ba41a15fec ipq807x: add CIG WF188N
This is the nand based variant.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:44 +02:00
John Crispin
456b74de85 patches/ipq807x: arm64/v4.4 compile fixes
Get the tree ready for v4.4 builds

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:27 +02:00
John Crispin
2bbf70cf79 opensync: arm64 compile fixes
Code was so far only compiled on 32bit

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:19 +02:00
John Crispin
381acf5e4e ipq807x: update kernel and ath11k
Pull kernel and ath11k up to the latest release.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:14 +02:00
John Crispin
ba24933f32 mac80211: update to latest owrt HEAD
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:05:00 +02:00
John Crispin
d210eb480b hostapd: update to latest owrt HEAD
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:05:00 +02:00
Chaitanya Kiran Godavarthi
0196cbbf4a opensync: Add timestamp for videovoicereport
Add time stamp for videovoicedetect report
2020-09-16 10:01:37 +02:00
Arif Alam
ef2f270ff4 opensync: configure ieee80211k
Add the ability to enable/disable ieee80211k via custom options

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-09-16 10:00:47 +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
9934f93701 opensync: Additional client DHCP attributes in ovsdb
- Added support to report client DHCP attributes such as
   subnetmask, gateway, dhcp server, primary and secondary dns

Fixes: WIFI-432

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-09-15 14:42:56 +02:00
Rick Sommerville
4596dd23d2 opensync: Noise floor inaccurate
On-channel survey reports only the active channel.
Off-channel survey reports on channels actually measured.
Channel utilization reported as a percentage.

Fixes: Wifi-638
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-09-15 14:41:45 +02:00
Chaitanya Kiran Godavarthi
0c3064e437 opensync: Add video/voice detect
- Add kernel module which detects voice/video by
  analysing the traffic.
- Add new report to the stats manager in opensync.
- Generates a report each time a voice call is
  detected, indicats callstart, callstop and callreport.

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-09-15 14:41:07 +02:00