Marek Kwaczynski
810bc501e1
ratelimit: fix rate limiting on WiFi-7 devices
...
Rate limiting was not applied on WiFi-7 devices because their
hostapd interface names use the phy* prefix instead of wlan*.
This patch extends the match pattern to include both wlan* and phy*.
Fixes: WIFI-14884
Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
2025-07-22 15:19:57 +02:00
John Crispin
ddbf50b673
ratelimit: delete iface data when a radio gets restarted
...
Fixes: WIFI-14050
Signed-off-by: John Crispin <john@phrozen.org>
2024-09-17 07:59:25 +02:00
John Crispin
249b24c3c6
ratelimit: add a dump function
...
Signed-off-by: John Crispin <john@phrozen.org>
2024-09-09 15:27:07 +02:00
John Crispin
c312d45e21
ratelimit: re-init device settings upon radio level config changes
...
The device was not re-initialized if ony radio settings get updated without the
device settings changing.
Fixes: WIFI-14050
Signed-off-by: John Crispin <john@phrozen.org>
2024-09-09 15:27:07 +02:00
John Crispin
d603ecd10a
ratelimit: apply updated ratelimit to associated stations
...
Fixes: WIFI-13453
Fixes: WIFI-13840
Signed-off-by: John Crispin <john@phrozen.org>
2024-08-02 12:41:00 +02:00
John Crispin
470983bba3
ratelimit: allow flushing all default values
...
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-07 09:38:55 +02:00
Arif Alam
22126a3410
ratelimit: fix ratelimit with dynamic vlan
...
Fixes WIFI-13512
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2024-03-22 07:06:21 +01:00
John Crispin
0c9499c085
ratelimit: replace script with daemon
...
Fixes: WIFI-10190
Fixes: WIFI-10194
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-05 16:25:48 +02:00
John Crispin
0fbe2e9089
ratelimit: fix flowid generation on flow delete
...
The ID was not properly generated causing the code to delete all flow rules.
Signed-off-by: John Crispin <john@phrozen.org>
2022-07-18 10:35:05 +02:00
John Crispin
cedcbcbc2b
ratelimit: fix ratelimit for multiple bss
...
The function looking up the rate was leaking a local variable into the global space
Signed-off-by: John Crispin <john@phrozen.org>
2022-04-19 07:40:58 +02:00
John Crispin
dd995426a5
hostapd: always install the cli
...
Fixes: WIFI-6834
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-15 12:50:31 +01:00
John Crispin
002880c3fa
ratelimit: increase the wait timeout
...
The timeout of 75s was a little to shart and would sometimes cause
5G interfaces to not enable ratelimit correctly. Increasing the
timeout to 120s makes the flow more reliable.
Fixes: WIFI-5701
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-18 14:52:50 +01:00
John Crispin
ba406fe01b
hostapd: add radius based wispr/bandwidth control
...
Fixes: WIFI-4888
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-09 12:50:31 +01:00
John Crispin
0b9087bd44
ucentral: development update
...
* huge update to data model V2
Signed-off-by: John Crispin <john@phrozen.org>
2021-05-15 14:49:02 +02:00
John Crispin
6a54bb6cfb
ucentral: development update
...
* update ucentral-client
* update ucentral-wifi
* update ucentral-schema
* update ucentralgw
* update udhcpsnoop
* update ath10k-ct
* add ucentral-event
* fix eap102 port mapping
* fix ratelimit
Signed-off-by: John Crispin <john@phrozen.org>
2021-04-26 17:14:57 +02:00
John Crispin
668f79f021
ucentral: development update
...
* add dhcp snooping
* add wired 802.1x
* add firewall4
* add tplink low cost outdoor AP
* update ucentral-wifi
* fix wan bridge setup
* got to latest OpenWrt 21.02
* fix ratelimit on DFS interfaces
Signed-off-by: John Crispin <john@phrozen.org>
2021-04-13 12:45:19 +02:00
John Crispin
490f4eacc2
ucentral: development update
...
* fix vlans on ipq40xx
* fix ratelimit
* merge eap102 fixes
* update schema
* drop uci bridge hack
Signed-off-by: John Crispin <john@phrozen.org>
2021-04-09 15:05:05 +02:00
John Crispin
0fa5d55f90
ucentral: development update
...
* adds ratelimit
* fixes md
* update schema
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-31 20:24:10 +02:00