Add channel and band (2G 5GL 5GU) in the voice/video detect
protobuf messages.
Add Provider domain and codecs in voice/video detect protobuf
Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
* implementation of the following ubus methods:
1. "get_sessions"
2. "clear_sessions"
3. "clear_session"
4. "get_bss_list"
* tracking of STA sessions and events (AUTH, ASSOC, etc.)
* caching of events is handled by hostapd and resides in
AVL until it is processed by ubus_collector
* added hard-coded caching limit to prevent memory leaks;
this should be made configurable at some point in the
future
Signed-off-by: Damir Franusic <damir.franusic@netexperience.com>
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>
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>
This patch will support captive portal username and password
Package:openNDS
Fixes: WIFI-413
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
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>
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>
- 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>
* 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>
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>
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>
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>
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>
- 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>
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>
- Support to decode dhcp fingerprint using a locally stored fingerbank database
Fixes: WIFI-433
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
- 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>
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>
- 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>
Rick noticed I had a typo in previous commit, which caused 16 vdevs
to be allocated instead of 8. Fix this to be back to 8 as intended,
and now we can increase stations-per-radio to 147 again.
Signed-off-by: Ben Greear <greearb@candelatech.com>
- Enabled DHCP sniffing support in libinet
- Added support to populate DHCP_leased_IP table with sniffing results
Fixes: WIFI-432
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
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>
this code changes resolve the problem of not redirecting to intended page after client
authentication
Fixes: WIFI-596
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
This rebalances the 4019 firmware memory usage so it can support
more TIDs. This should fix the crash seen in CICD stress tests
of the ea3800 platform. Bug would have shown on other 4019 radio
testbeds as well if tested to same level as we test ea8300.
Signed-off-by: Ben Greear <greearb@candelatech.com>
Implement a per-SSID embedded Captive Portal making use of OpenNDS
Authentication type:None
Fix for WIFI-596
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Client ratelimit doesnt get updated when client
roams between ssids in the Access Point.
Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
- synthetic dhcp client checks if the dhcp server is responsive and
reports back to cloud
Fixes: WIFI-441
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
- FT over DS was set to 0 which wasnt taking effect due to missing
declarations in the policy
Fixes: WIFI-560
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
The radio is a qca9984 not a qca9888. Apply the correct firmware configuration.
The change also appplies to the AP2220 (obsolete).
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
Track the average RSSI of associated stations. This information can be
used to deauth stations if their rssi gets too low.
Signed-off-by: John Crispin <john@phrozen.org>
- Added helper script to apply redirector address
- Added support to preserve the same
- Changed the default fqdn
Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
We can now put "option rssi_ignore_probe_request -40" into uci. Probe requests
with a rssi worse then -40 will not be replied to.
Signed-off-by: John Crispin <john@phrozen.org>
beacon_rate config was introduced as part of rrm commit. Some
drivers don't support this. Removing this config from
hostapd config.
Signed-off-by: Arif Alam <arif.alam@connectus.ai>
the last nm2 patch incorrectly contained a chunk that disabled the process
watchdog for nm and wm. revert this change.
this patch shall be folded into the other nm2 patches when we move to trunk.
Signed-off-by: John Crispin <john@phrozen.org>
This patch adds support for the Sercomm Kiwi AP.
Specification:
- SoC: Qualcomm Atheros IPQ807x ARM64 quad core
- RAM: 1GB
- NAND Flash: 256MB
- Ethernet: 1 x 2G
- WLAN: 2x Titan AX
Installation instructions:
1) scp openwrt-ipq807x-sercomm_kiwi-squashfs-nand-factory.bin into the preflashed qsdk image
2) ssh into the unit and call sysupgrade -n openwrt-ipq807x-sercomm_kiwi-squashfs-nand-factory.bin
Signed-off-by: John Crispin <john@phrozen.org>
Doing the symlinking in uci-defaults was racey and on first boot the cfg
was not always present when the driver loads.
Signed-off-by: John Crispin <john@phrozen.org>
Add openNDS package to enable captive portal at bridge level added customized
configurations to make it work as required Package:openNDS
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
Deleteing entries from ucis internal state while looping of it was causing
issues related as the ordering of the list is not deterministic.
Signed-off-by: John Crispin <john@phrozen.org>
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>