Commit Graph

857 Commits

Author SHA1 Message Date
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
Francisco Jose Alvarez
8b3701bf2e ucentral-schema: add support for configuring snmpd service using ucentral.
Signed-off-by: Francisco Jose Alvarez <francisco.alvarez@galgus.ai>
2024-09-22 14:10:38 +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
Venkat Chimata
658a29d248 state.uc: Fixing negative coutners
Index the port counters with names instead of sequential accessing.
With sequential accessing, there is no gurantee that we may get the
same counter in two consequent accesses

Signed-off-by: Venkat Chimata <venkata@shasta.cloud>
2024-09-02 16:09:11 +02:00
Jonas Gorski
06745bcc42 handle multi-band phys for encryption check
Do not validate encryption against bands supported by the phy, but
against the band in use by getting the cross-section of ssid bands and
phy bands.

Fixes no default wireless configuration being generated if the phy is
both 5G and 6G capable, as all 6G encryption constraints are applied
even if the radio isn't configured for the 6G band.

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
2024-09-02 15:55:00 +02:00
Jonas Gorski
c113cac7ba fix 80211w value for "none" encryption
We treated ssid.encryption.proto = "none" in validate_encryption() as no
encryption, we should do the same in match_ieee80211w().

Signed-off-by: Jonas Gorski <jonas.gorski@bisdn.de>
2024-09-02 15:54:14 +02:00
tanya.singh
a626097064 add schema for RRM based on Channel Utilization
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
2024-08-07 06:24:37 +02:00
John Crispin
39aed21ed9 captive: allow loading the web-root from an external http server
Signed-off-by: John Crispin <john@phrozen.org>
2024-08-05 10:29:31 +02:00
John Crispin
37e38951a5 add multi-psk2-radius
Signed-off-by: John Crispin <john@phrozen.org>
2024-08-05 10:29:31 +02:00
John Crispin
bf512cd20d fix wifi assoc with main PSK in MPSK scenarios
Signed-off-by: John Crispin <john@phrozen.org>
2024-07-24 06:49:13 +02:00
Firas Shaari
255fe2f968 Update ucentral.schema.json 2024-07-24 06:40:22 +02:00
Firas Shaari
2128865f80 Update interface.ssid.roaming.yml 2024-07-24 06:40:04 +02:00
Firas Shaari
30c96ef2d0 Update ucentral.schema.pretty.json 2024-07-24 06:40:04 +02:00
Firas Shaari
a80c34c26b Update ucentral.schema.full.json
default value for 802.11r OTA
2024-07-24 06:40:04 +02:00
John Crispin
f4924dcb46 roaming: add support for 256 bit AES keys
Signed-off-by: John Crispin <john@phrozen.org>
2024-07-24 06:21:43 +02:00
Venkat Chimata
2b144865e3 Fixing issues with section names in network config
In ethernet.uc, the section names are the same as that of interface names with . replaced by _
However name and ifname should still be the name with the . (dot). Fixed it.
Interface with _ in the name does n't exist

In ieee8021x.uc , auth and aut_vlan should be updated on the already created section in the network
and not on a new section. Otherwise a redundant device section would be created which is not correct.

Signed-off-by: Venkat Chimata <venkata@shasta.cloud>
2024-07-12 11:42:13 +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
joydeepbenison
3cdfe8be41 Increase MAX MTU to 1600
Signed-off-by: joydeepbenison <joydeep.ghosh@benisontech.com>
2024-07-11 07:50:17 +02:00
John Crispin
dd31b74374 set 3.2.0 as the version
Signed-off-by: John Crispin <john@phrozen.org>
2024-07-03 08:18:57 +02:00
John Crispin
83218cf4c5 use the correct path when removing old config files
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-19 16:27:03 +02:00
John Crispin
6e90f22d54 captive: fix NAT mode traffic capturing
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-13 14:52:27 +02:00
John Crispin
857c3ba767 OWE: reorder config sections to ensure that the vendor IE gets populated with the correct SSID
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-12 17:33:15 +02:00
Arif Alam
dcd571e728 allow only psc on 6GHz auto channel selection
Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2024-06-10 06:06:52 +02:00
John Crispin
310095a0e6 captive: handle /logoff and /logout paths
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-07 17:27:55 +02:00
John Crispin
7aceedcd0a ratelimit: reload the service rather than restarting it
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-07 09:31:26 +02:00
John Crispin
ce416682ba fingerprint: add missing allow_wan option to render code
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-07 09:05:49 +02:00
i-chvets
721568b1c8 Merge pull request #17 from Telecominfraproject/WIFI-431-fix-update-internal-schema-validation
fix: modified code to use final as default for fingerprint mode
2024-06-06 13:41:48 -04:00
John Crispin
7d05e70128 more AFC fixes
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-06 17:27:52 +02:00
John Crispin
5226dc878b fix afc_op_class
Signed-off-by: John Crispin <john@phrozen.org>
2024-06-06 14:11:11 +02:00
Ivan Chvets
2d7a9934c6 fix: modified code to use final as default for fingerprint mode
https://telecominfraproject.atlassian.net/browse/WIFI-431

Summary of changes:
- Modified code to use `final` as default value for fingerprint mode.

Signed-off-by: Ivan Chvets <ivan.chvets@kinarasystems.com>
2024-06-05 11:53:35 -04:00
John Crispin
8045e6c51d add full fingerprinting data model
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-31 12:07:01 +02:00
joydeepbenison
409e444044 Fix strict-forwarding for Yuncore_fap655
Fixes WIFI-13641 : strict-forwarding for yuncore_fap655 and
other similar devices where the wan_port is on the switch.
Update the correct wan_port in /etc/config/event as part of the
configuration update.

Signed-off-by: joydeepbenison <joydeep.ghosh@benisontech.com>
2024-05-27 11:56:03 +02:00
John Crispin
e5dc7eabb6 add AFC support to the rendering code
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-27 11:14:06 +02:00
John Crispin
e1487e5112 fix factory reset command.
cmd_line needs to be converted from array to string.

Signed-off-by: John Crispin <john@phrozen.org>
2024-05-14 15:37:02 +02:00
John Crispin
79e1a9d873 explicitly set owe_transition_ssid in OWE transition mode
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-14 10:15:30 +02:00
John Crispin
a0a420fd43 gracefully close the websocket during factory reset
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-10 12:03:53 +02:00
John Crispin
73c3d5d04e fix roaming auto mode
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-09 10:02:42 +02:00
John Crispin
ef9f6d1117 state: align schema with messages being sent
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-03 09:00:35 +02:00
John Crispin
ef09cf05ba remove boottime fro state, it is in accurate without a RTC
Signed-off-by: John Crispin <john@phrozen.org>
2024-05-03 08:23:45 +02:00
John Crispin
c24f1db5ed captive: add nftables support
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-30 14:34:35 +02:00
John Crispin
bda8143f9e captive: /tmp/ucentral/ was not being created correctly
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-30 11:32:53 +02:00
John Crispin
a7cff0c696 set v3.1.0 version
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-27 11:32:34 +02:00
John Crispin
ed08058e92 properly setup up/down macs
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-26 14:21:54 +02:00
John Crispin
3a34665b67 delete old config files after applying a new one
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-25 08:24:14 +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
b81c1291ec Revert "do not add a default valid channels list"
This reverts commit a37fa2c6f4.

Signed-off-by: John Crispin <john@phrozen.org>
2024-04-10 14:44:27 +02:00
John Crispin
a3b7e3106e add the option for providing vendor specific versioning info
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-09 16:17:21 +02:00
John Crispin
377c2ab9c1 add ap/schema version to capabilities
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-09 08:54:56 +02:00
John Crispin
cb1c18db70 add support for device fingerprinting
Signed-off-by: John Crispin <john@phrozen.org>
2024-03-25 11:14:16 +01:00