Commit Graph

81 Commits

Author SHA1 Message Date
jackcybertan
125a148764 add PoE support for client ports
Since PSE Power on/off Control needs to be done through the ucentral config file, multiple config nodes and corresponding ucodes have been added.

Poe is placed under the ethernet node.

Fixes: WIFI-14724
Signed-off-by: jackcybertan <jack.tsai@cybertan.com.tw>
2025-06-27 07:26:26 +02:00
Marek Kwaczynski
a86b8b07b4 Fix typo in enhanced MPSK property name
Corrected property key from `enhanced-mpsk` to `enhanced_mpsk`

Fixes: d8260f8 ("add property that allows disabling MPSK")
Fixes: WIFI-14484

Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
2025-06-27 07:23:56 +02:00
Ian Chen
6faaa1f655 HaLow: Extend ucentral schema & state for HaLow
1. Extend ucentral schema & state for HaLow
2. Refine "system" into "sysinfo" to avoid confliction with system trace in state.uc

Fixes: WIFI-14436
Signed-off-by: Ian Chen <ian77_chen@accton.com>
2025-05-12 07:42:01 +02:00
John Crispin
d8260f8ff3 add property that allows disabling MPSK
Signed-off-by: John Crispin <john@phrozen.org>
2025-03-24 07:50:14 +01:00
Marek Kwaczynski
a518b02075 schema, ssid: add mpsk-radius encryption
Add a new encryption type to specify MPSK AAA for 6GHz.
 mpsk-radius encryption means:
 - psk2-radius for 2.4GHz, 5GHz
 - sae for 6GHz

Signed-off-by: Marek Kwaczynski <marek@shasta.cloud>
2025-03-11 10:09:49 +01:00
John Crispin
d09196a7a5 fix phy lookup on none wifi-7 devices
Signed-off-by: John Crispin <john@phrozen.org>
2025-02-05 06:45:03 +01:00
John Crispin
61e5802789 add multi radio support
Signed-off-by: John Crispin <john@phrozen.org>
2024-12-09 08:34:39 +01:00
John Crispin
df95905c2d do not restart the mpsk daemon upon cfg reload
Signed-off-by: John Crispin <john@phrozen.org>
2024-10-01 10:15:30 +02:00
Venkat Chimata
42e59d5524 Add system-password to the schema
With this addition, a desired password can be configured through ucentral config

Signed-off-by: Venkat Chimata <venkata@shasta.cloud>
2024-09-22 14:11:21 +02:00
John Crispin
45e6c53480 command: add fixed_config
Signed-off-by: John Crispin <john@phrozen.org>
2024-09-16 16:03:45 +02:00
John Crispin
79f8158096 wrap up psk2-radius / enhanced MPSK
Signed-off-by: John Crispin <john@phrozen.org>
2024-09-09 15:02:36 +02:00
John Crispin
9ccc1e07b3 add enhanced mpsk support
Signed-off-by: John Crispin <john@phrozen.org>
2024-07-11 08:37:54 +02:00
John Crispin
cc0bf95db1 fix un-tagged swconfig upstream ports
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-12 06:39:28 +02:00
John Crispin
70bd716d4d move switch-vlan generation to brige-vlan
Signed-off-by: John Crispin <john@phrozen.org>
2024-01-12 10:03:53 +01:00
John Crispin
b287fee80f prevent duplicate usage of untagged ports
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-09 08:41:43 +01:00
John Crispin
9d2312a510 ieee8021x: rework render code
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-03 08:44:53 +01:00
John Crispin
70be51edd4 add admin-ui support
Signed-off-by: John Crispin <john@phrozen.org>
2023-09-28 14:52:40 +02:00
John Crispin
77031d10cd swconfig: fix interfaces with mixed switch and raw ports
Signed-off-by: John Crispin <john@phrozen.org>
2023-07-14 08:27:25 +02:00
John Crispin
00d0403a55 add swconfig support
Signed-off-by: John Crispin <john@phrozen.org>
2023-07-12 09:14:24 +02:00
John Crispin
dbc38abb26 start bridger early
Signed-off-by: John Crispin <john@phrozen.org>
2023-07-04 15:14:53 +02:00
John Crispin
87ac2d1f68 allow using a shared service->captive for multiple instances
Signed-off-by: John Crispin <john@phrozen.org>
2023-06-20 07:37:38 +02:00
John Crispin
c3d8380fc2 add new dhcp-relay render code
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-22 09:28:01 +02:00
John Crispin
99cd625111 captive: allow mutliple instances
Signed-off-by: John Crispin <john@phrozen.org>
2023-05-02 17:34:40 +02:00
John Crispin
47b470f122 make captive portal radius-gw-proxy aware
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-19 08:56:43 +01:00
John Crispin
40de47357b add developer=1 override option for locked units
Signed-off-by: John Crispin <john@phrozen.org>
2022-11-02 08:12:09 +01:00
John Crispin
d40b4c676c add FCC restriction support
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-31 09:19:09 +01:00
John Crispin
161fa7e666 captive: various improvements
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-30 15:15:43 +02:00
John Crispin
bab27cb967 add support for advanced captive-portal
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-23 14:58:32 +02:00
John Crispin
80b87d8651 add support for vxlan-overlay/wireguard tunnels
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-29 14:52:57 +02:00
Jo-Philipp Wich
084b847b8a renderer: introduce ipcalc.expend_wildcard_address() helper
The `expand_wildcard_address()` function takes a wildcard address such as
`0.0.1.110` and a CIDR network block, such as `192.168.0.1/22` and merges
the wilcard with the network address, then returns the final result.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-04-20 12:44:17 +02:00
Jo-Philipp Wich
a14c385a7c renderer: handle non-vlan interfaces in ethernet.find_interface()
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-04-20 12:44:17 +02:00
Jo-Philipp Wich
3d02ca7b97 treewide: execute ucode in raw mode
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-04-20 12:44:17 +02:00
John Crispin
9dfff1744e fix include paths of the new wifi module
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-15 10:16:26 +01:00
John Crispin
302c5bf3fc drop dependency on ucentral-wifi
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-14 16:32:34 +01:00
John Crispin
5586b933a0 unit: improve password generation
Once in random password mode, the unit would never go back to the default one.

Signed-off-by: John Crispin <john@phrozen.org>
2022-03-03 08:03:55 +01:00
John Crispin
8da20fd6e8 renderer.uc: make code scanning radio aware
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-05 09:45:06 +01:00
Jo-Philipp Wich
404a9a34c2 renderer: restructure and extend documentation
- Introduce virtual uCentral class hierarchy
 - Add documentation for toplevel helper functions

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-12-05 09:45:06 +01:00
John Crispin
b110b2fa9b jsdoc: WIP
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-25 13:17:25 +01:00
John Crispin
ea8f8293fb qos: update schema and renderer
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-21 15:37:07 +02:00
John Crispin
b5e03c9de1 renderer: fix regression in lookup_by_interface_spec
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-23 11:16:02 +02:00
John Crispin
497b16a4f5 renderer: add support for explicitly setting port tagging behaviour
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-20 16:42:28 +02:00
John Crispin
68de281a99 renderer: allow masking out analysis ports
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-16 11:32:38 +02:00
John Crispin
50ab44b0f5 schema: add toplevel ethernet node
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-03 12:37:50 +02:00
John Crispin
efee6698cf schema: improve OpenFlow support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-03 12:37:50 +02:00
John Crispin
5ecb05a4a8 renderer: add openflow support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-20 14:16:59 +02:00
John Crispin
f9eae1b43f renderer: allow setting a random password
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-08 10:35:09 +02:00
John Crispin
54c2bba5fc renderer: add broad-band support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-01 12:12:09 +02:00
John Crispin
bfd1783609 schema: add broad-band support
Signed-off-by: John Crispin <john@phrozen.org>
2021-07-01 11:44:27 +02:00
Jo-Philipp Wich
34a15d4086 renderer: add infrastructure for writing non-uci files
- Introduce a "files" helper and pass it to the render template context
 - Convert the EAP user file printing into a template operation
 - Display staged files in selftest.sh
 - Write staged files in ucentral.uc

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-06-28 09:09:19 +02:00
John Crispin
3111446592 renderer: add helper to find interfaces
Signed-off-by: John Crispin <john@phrozen.org>
2021-06-10 09:59:22 +02:00