Commit Graph

835 Commits

Author SHA1 Message Date
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
John Crispin
a37fa2c6f4 do not add a default valid channels list
Signed-off-by: John Crispin <john@phrozen.org>
2024-03-14 08:13:59 +01:00
John Crispin
da090931f0 fix bss color handling
setting the option to 0 would not disable the feature correctly.

Signed-off-by: John Crispin <john@phrozen.org>
2024-03-11 13:17:02 +01:00
John Crispin
35da0a1cd0 drop ports.duplex support
Signed-off-by: John Crispin <john@phrozen.org>
2024-03-06 14:15:24 +01:00
Arif Alam
e3d9064378 captive: fix custom webroot config
Fixes WIFI-13441

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2024-02-28 07:34:22 +01:00
Kishan Shukla
a3ea74a914 Provide Input Validation for Romaing Mobility Domain
Signed-off-by: Kishan Shukla <kishan.shukla@hfcl.com>
2024-02-19 14:15:55 +01:00
John Crispin
fda6ded45a fix tracking of upstream swconfig vlans
Signed-off-by: John Crispin <john@phrozen.org>
2024-02-08 05:49:25 +01:00
John Crispin
3093a565c4 track upstream vlans created by swconfig
Signed-off-by: John Crispin <john@phrozen.org>
2024-01-19 08:44:03 +01:00
Paul White
605ed2fcef bridge-vlan: add wan port only behind swconfig
Configure only the switch port for the WAN port instead of all Ethernet
ports.  When adding a dynamic VLAN, it should be added to the WAN port
as tagged only, and not the LAN ports.

When LAN ports were included in the interface config, it resulted in
their switch ports also being added to event.swconfig.ports as well as
duplicating the CPU port for each LAN port.   This also caused the
swconfig command to fail.

Config before the fix:
    config config 'config'
        list wan_port 'eth0.1'
        option swconfig 'switch1'
        list swconfig_ports '5t'
        list swconfig_ports '6t'
        list swconfig_ports '2t'
        list swconfig_ports '6t'
        list swconfig_ports '3t'
        list swconfig_ports '6t'
        list swconfig_ports '4t'
        list swconfig_ports '6t'

Config after the fix:
    config config 'config'
        list wan_port 'eth0.1'
        option swconfig 'switch1'
        list swconfig_ports '5t'
        list swconfig_ports '6t'

Signed-off-by: Paul White <paul@shasta.cloud>
2024-01-19 08:41:51 +01:00
Mike Hansen
bfd4a07bce Fix state/interface.ssid.yml
Signed-off-by: Mike Hansen <mike.hansen@netexperience.com>
2024-01-19 08:39:21 +01:00
John Crispin
ecc742a373 allow sending multiple DNS servers to dhcp clients
Signed-off-by: John Crispin <john@phrozen.org>
2024-01-12 10:03:53 +01: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
c544ab01e5 state: ignore non connected thermal zones
The QCA v5.4 kernel introduced thermal zones for PA. These will read
500C+ if not wired. Skip them.

Signed-off-by: John Crispin <john@phrozen.org>
2024-01-09 08:41:38 +01:00
John Crispin
ab52fb543a fix udevstats config on swconfig devices
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-14 16:13:05 +01:00
John Crispin
e77cd3fa1e radio: force auto channel if a STA is present
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-14 11:49:24 +01:00
John Crispin
fd4d755498 only check for port usage duplication on non-swconfig devices
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-13 14:29:54 +01:00
John Crispin
e2cef05c78 return a success message before triggering FW upgrade
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-13 09:53:38 +01:00
John Crispin
9338ea9cef bridge-vlan: track wan ports behind swconfig
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-12 15:22:58 +01:00
John Crispin
75222fea70 udevstats: fix UCI generation for swconfig ports
Signed-off-by: John Crispin <john@phrozen.org>
2023-12-01 09:39:37 +01:00
John Crispin
f8608f6b21 enable bridge port isolation for wifi devices
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-22 10:50:21 +01:00
John Crispin
d8d36666b9 properly sanitize the port enable option
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-22 10:47:50 +01:00
John Crispin
ef7e9e6d0a always restart ucentral-state
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-21 17:42:15 +01:00
John Crispin
eda854cb71 bridge port isolation was not properly setup when isolate-hosts was enabled
Signed-off-by: John Crispin <john@phrozen.org>
2023-11-20 14:20:20 +01:00