Commit Graph

32 Commits

Author SHA1 Message Date
Arif Alam
514a320d01 opensync: add various RADIUS configuration
- Add functionality to configure RADIUS NAS-Id and Operator-Name
- Add functionality to configure RADIUS accounting interval
- Enable RADIUS Chargeable User Identity

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-12-07 11:11:58 +01:00
Mario Senecic
266c631830 hostapd: ClientIpEvent
Signed-off-by: Damir Franusic <damir.franusic@sartura.hr>
Signed-off-by: Mario Senecic <mario.senecic@sartura.hr>
2020-12-02 07:32:53 +01:00
Nagendrababu
cb8bbc7ac1 WIFI-414: Staging-Captive-Portal-Radius-Users
This Patch add APNOS support for captive portal radius user
authentication
Package: OpenNDS
Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2020-12-02 07:31:52 +01:00
Arif Alam
430ca86150 opensync: add support for passpoint icon config
- Add support for passpoint icon config

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-11-23 07:36:15 +01:00
Arif Alam
d82f42d0c2 opensync: passpoint config
- Add support for configuring Passpoint parameters
- Add support for configuring RADIUS accounting parameters

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-11-08 13:04:15 +01:00
Damir Franusic
bec00936da ubus_collector/hostapd: fixes reverted 81fdc566
* Previous patch caused CI/CD to fail; this fix
  fixes the issue.

Signed-off-by: Mario Senecic <mario.senecic@sartura.hr>
Signed-off-by: Damir Franusic <damir.franusic@sartura.hr>
2020-11-08 13:02:01 +01:00
John Crispin
ffa251f009 Revert "ubus_collector and hostapd bugfix"
This reverts commit 81fdc5663b.

The patch was causing the CI/CD to fail.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-04 19:01:21 +01:00
Mario Senecic
81fdc5663b ubus_collector and hostapd bugfix
* Bugfix in hostapd: fixed improper increment operator usage in os_realloc
  function that caused a crash on multiple SSIDs

* Bugfix in ubus_collector: fixed the improper usage of blobmsg_for_each_attr
  macro and the misplaced evsched_task_reschedule calls

* Reverted the previous client sessions hostapd patch

Signed-off-by: Mario Senecic <mario.senecic@sartura.hr>
2020-11-04 05:59:55 +01:00
Yashvardhan
97ebe9d588 hostapd: Disconnect client when rssi is low
Disconnect client in case rssi drops below the set threshold level

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-10-30 17:16:08 +01:00
Yashvardhan
c6461046a3 Revert "hostapd: added support for clients sessions"
The commit 6fa3b43cbf is causing the issue reported
in WIFI-972. Thus reverting it for now.

Signed-off-by: Yashvardhan <yashvardhan@netexperience.com>
2020-10-22 23:40:38 +02:00
Ben Greear
e609a6fe05 mac80211: Limit number of pending skbs
Signed-off-by: Ben Greear <greearb@candelatech.com>
2020-10-19 09:07:02 +02:00
Damir Franusic
6fa3b43cbf hostapd: added support for clients sessions
* 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>
2020-10-16 15:45:21 +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
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
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
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
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
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
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
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
John Crispin
7ba671cb1c hostapd: add rssi_ignore_probe_request option
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>
2020-08-08 14:28:10 +02:00
Arif Alam
a9b3afd2b0 netifd: remove beacon_rate param
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>
2020-08-06 20:53:53 +02:00
Arif Alam
16c5d2931d opensync: rrm support
- Add rrm manager
- Add rrm config params to schema

Signed-off-by: Arif Alam <arif.alam@connectus.ai>
2020-08-06 07:06:02 +02:00
John Crispin
09a67e40f1 opensync: move vif deletion into its own context
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>
2020-07-31 14:12:18 +02:00
John Crispin
d75651171f batman: backport latest version
the 19.07 version of batman breaks with v5.7 backports.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-29 14:17:39 +02:00
John Crispin
bf054a6485 wpad-basic: disable wpad-basic
Explicitly turn of the package inside the wlan-ap profile.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-15 18:03:17 +02:00
John Crispin
8dd5935707 hostapd: disable wpad-mini/basic
We require the eap version of the package. Default_packages was leaking in
the the wrong variant. Rather than patching every target we just make the
variant non available.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-14 09:19:27 +02:00
John Crispin
7831ce8899 ath10k-ct-firmware: update to latest .19 builds
Update names and hashes to latest version 19.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00
John Crispin
6a401b74ab mac80211: disable dynamic wifi reload
This is a new feature from OpenWrt HEAD that breaks when using APVLAN.
Disable it while we test.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 11:57:22 +02:00
John Crispin
0190fc78e0 backport/wifi: ath10k-ct: update to v5.7
Update the git hash and enable the v5.7 driver.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-01 21:21:05 +02:00
John Crispin
7aa5c2e7d9 backport/wifi: backport wifi stack from OpenWrt HEAD
This makes the v5.7 based wifi feature set from OpenWrt HEAD work inside
19.07.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-01 21:20:35 +02:00