Commit Graph

163 Commits

Author SHA1 Message Date
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
Ben Greear
42283ba1ff ath10k-ct: Fix ipq4019 fwcfg file.
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>
2020-09-14 07:35:33 +02:00
Yashvardhan
6ad1c0f30b opensync: Support of Client DHCP attributes in OVSDB
- 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>
2020-09-11 17:27:43 +02:00
Ammad Rehmat
7aa405d4e1 opensync: Command_State now reflects command string as well
Fixes: WIFI-729
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-09-11 09:31:39 +02:00
Arif Alam
4c9a6686e8 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-11 09:27:19 +02:00
Nagendrababu
5fbd9243d4 opennds: Fix for redirect page problem
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>
2020-09-11 09:26:23 +02:00
Ben Greear
b9e1d36e00 ath10k-ct: Update to latest firmware.
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>
2020-09-11 09:24:53 +02:00
John Crispin
a6348d3fe7 wlan-ap-config: fix fwcfg files on ec420
the pci fwcfg file was not setup properly on ec420.

Fixes: WIFI-731
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-09 09:58:00 +02:00
Ammad Rehmat
efb5e4a9aa WIFI-442 : Support for synthetic radius client added
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-09-07 11:47:28 +02:00
Nagendrababu
88e8163410 package:openNDS
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>
2020-09-07 11:38:33 +02:00
John Crispin
f8a2150f66 base-files: add the wlan-ap repo hash
currently the banner will show the revision of the build tree.
This patch adds the hash of the wlan-ap tree.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 08:28:44 +02:00
Ammad Rehmat
c56aebcc85 opensync: channel is reported in Wifi_VIF_State now
Fixes: WIFI-561
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2020-08-29 08:00:25 +02:00
John Crispin
c2559486b1 profiles: add ct-bugcheck to wlan-ap.py
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 07:51:04 +02:00
Ben Greear
7766193c0b setup: Allow cloning openwrt with --reference
This helps speed up a clone, especially on slow networks.

python3 setup.py --setup --reference ~/git/tip/wlan-ap-wallaby/openwrt/

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-29 07:45:42 +02:00
Ben Greear
9e457cd352 ath10k-ct: Update to latest driver.
Will support firmware binary crashdumps through debugfs.

Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-08-29 07:45:15 +02:00
Rick Sommerville
ae2d0ae077 opensync: Add SSID to client stats
Fixes: WIFI-527
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-08-29 07:44:08 +02:00
Linus Lüssing
97f6cd8203 profiles: adding batman-adv packages
Adding the batman-adv kernel module and the batctl userspace
configuration tool to the wlan-ap profile.

Signed-off-by: Linus Lüssing <ll@simonwunderlich.de>
2020-08-29 07:42:11 +02:00
John Crispin
34897d13e1 Revert "opensync: populate Wifi_Route_State"
This reverts commit 42fc1965cd.

The commit was causing issues when updating NM2 state.

Fixes: WIFI-702
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-29 07:40:19 +02:00
Chaitanya Kiran Godavarthi
0dbbfe8c58 opensync: Bug fix for ssid-client-rate-limit
Client ratelimit doesnt get updated when client
roams between ssids in the Access Point.

Signed-off-by: Chaitanya Kiran Godavarthi <chaitanya.kiran@connectus.ai>
2020-08-23 20:01:27 -04:00
Ammad Rehmat
5d9ea412e5 opensync: DHCP synthetic client support added
- 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>
2020-08-18 07:59:47 +02:00
Ammad Rehmat
ff9357ae43 opensync: 802.11r settings bug
- 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>
2020-08-18 07:58:15 +02:00
Rick Sommerville
d178036d1d opensync: Adjust wlan naming convention.
Replace dashes with underscores to simplify operation with UCI.

Fixes: WIFI-628
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-08-18 07:56:52 +02:00
John Crispin
175558bd46 wlan-ap-config: fix board name sanitisation
the code was not stripping the vendor prefix correctly. Fix this by
using .* syntax.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-18 07:55:01 +02:00
John Crispin
1660f1b45c opensync: capitalize the board name and remove the vendor prefix
The dts compat string is used as the board name. Strip the vendor prefix
and capitalize the remainder.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-17 06:22:16 +02:00
John Crispin
f6daf894a3 README.md: add AX instructions
Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00
John Crispin
42e9d44311 ipq807x: add board2.bin on hk01
This makes sure the bdf file is installed on the reference board.

Signed-off-by: John Crispin <john@phrozen.org>
2020-08-16 16:17:14 +02:00