Commit Graph

29 Commits

Author SHA1 Message Date
Arif Alam
a886575bce WIFI-1808: Fix interworking related parameter config
Fixes various config params for passpoint.

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-03-18 17:06:00 -04:00
Ammad Rehmat
79a65c2985 Wifi-1623 : Any event coming from hostapd with 5G frequency will be treated as coming from 5G radio not 5gU/5gL
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-24 19:17:33 -05:00
John Crispin
65cdb70c3b hostapd: add per phy max sta count
Normally max_num_sta is per BSS. This patch allows setting a pre IFACE max.

Signed-off-by: John Crispin <john@phrozen.org>
2021-02-22 13:54:42 -05:00
Arif Alam
ccefe53629 hostapd: fix passpoint r2 osu config params
Fixes WIFI-1498

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-02-09 13:17:23 -05:00
Ammad Rehmat
fd35b98e61 Wifi-888 : Channel switch events due to high interference and DFS
Signed-off-by: Ammad Rehmat <ammad.rehmat@connectus.ai>
2021-02-04 22:01:17 -05: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
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
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
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
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
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
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
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
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