Commit Graph

327 Commits

Author SHA1 Message Date
Ravi Vaishnav
258e484d5f uboot-envtools: Fix syntax on number of sectors
ProblemStatement: On EAP104, "fw_setenv" fails with the error "MTD erase error on /dev/mtd10: Invalid argument"
RootCause: uboot-envtools expects hex format for the number of sectors while the config file (/etc/fw_env.config) contains a decimal number format for the number of sectors. This leads to out-of-boundary size calculation within the function "environment_end()".
Solution: Update the scripts to write a hex value instead of a decimal value in the config file.

Reference for the expected format from the config file: Please check the function "get_config" in the file "fw_env.c", where the function uses sscanf to read the parameters from the config file.

Fixes: WIFI-12189
Signed-off-by: Ravi Vaishnav <ravi.vaishnav@netexperience.com>
2023-01-27 12:18:37 +01:00
John Crispin
fbcfddfbdc initial events support
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-27 12:18:37 +01:00
John Crispin
492db67f64 base-files: sysupgrade: always imply -n if -f is not provided
This ensures that no random config giles get carried over.

Signed-off-by: John Crispin <john@phrozen.org>
2023-01-27 12:18:37 +01:00
John Crispin
20cda84f47 netifd: allow disabling unicast_to_multicast conversion on bridged wifi
Fixes: WIFI-11550
Signed-off-by: John Crispin <john@phrozen.org>
2023-01-27 12:18:37 +01:00
John Crispin
db617e23f0 ipq807x: do no keep uboot-env config during sysupgrade
Signed-off-by: John Crispin <john@phrozen.org>
2022-12-08 15:31:30 +01:00
John Crispin
71189b1b74 ramips: add yuncore fap640 support
Signed-off-by: John Crispin <john@phrozen.org>
2022-12-08 15:31:13 +01:00
Sohail Ahmad
fb64d45c39 From: Sohail Ahmad <sohail@indionetworks.com> Date: Mon Dec 5 02:58:36 2022 +0000 Subject: [PATCH] dnsmasq: enabled EDNS configuration options- CPE ID and subnet
Signed-off-by: Sohail Ahmad <sohail@indionetworks.com>
2022-12-05 11:45:06 +01:00
John Crispin
74ea7a7a1e ucentral-schema: update to latest HEAD
efd60c9 add maximum_clients_ignore_probe support

Signed-off-by: John Crispin <john@phrozen.org>
2022-11-29 14:30:54 +01:00
John Crispin
8e2f2fcce3 hostapd: add dynamic_probe_resp support
Signed-off-by: John Crispin <john@phrozen.org>
2022-11-23 09:00:38 +01:00
Piotr Dymacz
93f603e27c base-files: fix foreign sysupgrade detection
Backups are gzipped, include the missing 'z' parameter in 'tar' call.
While at it, make 'grep' call quiet (add 'q' parameter).

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
2022-11-14 07:47:20 +01:00
John Crispin
3bdfa68ff5 dnsmasq: ignore dhcp events on spotfilter-ifb
Signed-off-by: John Crispin <john@phrozen.org>
2022-11-14 07:47:20 +01:00
John Crispin
bea3d2c4f8 usteer2: add new package
Signed-off-by: John Crispin <john@phrozen.org>
2022-11-14 07:47:20 +01:00
John Crispin
0272d4bcad hostapd: AAA WISPr rates are sent as mbit
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-17 15:35:20 -04:00
John Crispin
736ab2b803 uhttpd: update to latest HEAD
Fixes: WIFI-10665
Signed-off-by: John Crispin <john@phrozen.org>
2022-10-06 07:02:49 +02:00
John Crispin
47468145c6 spotfilter: add a maissing v5.4 kernel backport
fixes an off-by-one bug in the validator

Signed-off-by: John Crispin <john@phrozen.org>
2022-09-26 22:06:53 +02:00
John Crispin
86948e1052 ucentral-schema: update to latest HEAD
55b8272 add support for overriding country codes

Signed-off-by: John Crispin <john@phrozen.org>
2022-09-26 22:06:53 +02:00
John Crispin
ed397f5ce4 ucentral-client: update to latest HEAD
f5e5a61 propagate "cancelled" when a runqueue job timed out

Fixes: WIFI-10768
Signed-off-by: John Crispin <john@phrozen.org>
2022-09-09 13:40:03 +02:00
John Crispin
cb7ed7a37b hostapd: backport multicast_to_unicast patch
Fixes: WIFI-10766
Signed-off-by: John Crispin <john@phrozen.org>
2022-09-08 12:49:27 +02:00
Tanya Singh
21176badf7 firstcontact: Zero touch provisioning with DHCP option 138
Fixes: WIFI-7266
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
2022-08-30 07:22:25 +02:00
John Crispin
a3fc407f25 hostapd: manually generate roaming keys when SAE is used
Fixes: WIFI-10570
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-23 17:09:08 +02:00
John Crispin
736e3e58cf uhttp: update to latest HEAD and add 2 pending fixes
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-23 15:09:35 +02:00
John Crispin
c9a76b8d76 openssl: update to 22.03-rc6 version
Fixes: WIFI-10390
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-23 09:01:07 +02:00
John Crispin
0603953d9f hostapd: add multi CoA support
Signed-off-by: John Crispin <john@phrozen.org>
2022-08-19 08:17:00 +02:00
Sven Eckelmann
3e692ed95a ipq807x: Add support for Plasma Cloud PAX1800 v1
Device specifications:
======================

* Qualcomm IPQ6000
* 256 MB of RAM
* 64 MB of SPI NOR flash
  - 2x 28 MB available; but one of the 28 MB regions is the recovery image
* 2T2R 2.4 GHz Wi-Fi (11ax)
* 2T2R 5 GHz Wi-Fi (11ax)
* multi-color LED (controlled via red/green/blue GPIOs)
* 1x GPIO-button (reset)
* external h/w watchdog (enabled by default))
* TTL pins are on board
* 2x ethernet
  - eth0
    + 1000 Mbps Ethernet
    + used as LAN interface
  - eth1
    + 1000 Mbps Ethernet
    + 802.3at POE
    + used as WAN interface
* 12 2A DC
* internal antennas

This device is not exported via a profile in TIP because there were
concerns about the 256MB limitations. But the actual OpenWrt support is
still added for interested parties.

Flashing instructions:
======================

Various methods can be used to install the actual image on the flash.
Two easy ones are:

ap51-flash
----------

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.

initramfs from TFTP
-------------------

The serial console must be used to access the u-boot shell during bootup.
It can then be used to first boot up the initramfs image from a TFTP server
(here with the IP 192.168.1.21):

   setenv serverip 192.168.1.21
   setenv ipaddr 192.168.1.1
   setenv bootargs 'console=ttyMSM0,115200n8 rootfstype=squashfs,jffs2 board=PAX1800 root=31:10 mtdparts=spi32766.0:768k(0:SBL1),64k(0:MIBIB),1664k(0:QSEE),64k(0:DEVCFG),128k(0:RPM),64k(0:CDT),64k(0:APPSBLENV),640k(0:APPSBL),256k(0:ART),28672k(inactive),28672k(inactive2),64k(custom),64k(0:KEYS),2304k(0:WIFIFW)'
   tftpboot <filename-of-initramfs-kernel>.bin && bootm

The actual sysupgrade image can then be transferred (on the LAN port) to the
device via

  scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/

On the device, the sysupgrade must then be started using

  sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-08-10 06:45:51 +02:00
Sven Eckelmann
cc54c8654f ipq807x: Add support for Plasma Cloud PAX1800 v2
Device specifications:
======================

* Qualcomm IPQ6000
* 512 MB of RAM
* 64 MB of SPI NOR flash
  - 2x 28 MB available; but one of the 28 MB regions is the recovery image
* 2T2R 2.4 GHz Wi-Fi (11ax)
* 2T2R 5 GHz Wi-Fi (11ax)
* multi-color LED (controlled via red/green/blue GPIOs)
* 1x GPIO-button (reset)
* external h/w watchdog (enabled by default))
* TTL pins are on board
* 2x ethernet
  - eth0
    + 1000 Mbps Ethernet
    + used as LAN interface
  - eth1
    + 1000 Mbps Ethernet
    + 802.3at POE
    + used as WAN interface
* 12 2A DC
* internal antennas

Flashing instructions:
======================

Various methods can be used to install the actual image on the flash.
Two easy ones are:

ap51-flash
----------

The tool ap51-flash (https://github.com/ap51-flash/ap51-flash) should be
used to transfer the image to the u-boot when the device boots up.

initramfs from TFTP
-------------------

The serial console must be used to access the u-boot shell during bootup.
It can then be used to first boot up the initramfs image from a TFTP server
(here with the IP 192.168.1.21):

   setenv serverip 192.168.1.21
   setenv ipaddr 192.168.1.1
   setenv bootargs 'console=ttyMSM0,115200n8 rootfstype=squashfs,jffs2 board=PAX1800v2 root=31:10 mtdparts=spi32766.0:768k(0:SBL1),64k(0:MIBIB),1664k(0:QSEE),64k(0:DEVCFG),128k(0:RPM),64k(0:CDT),64k(0:APPSBLENV),640k(0:APPSBL),256k(0:ART),28672k(inactive),28672k(inactive2),64k(custom),64k(0:KEYS),2304k(0:WIFIFW)'
   tftpboot <filename-of-initramfs-kernel>.bin && bootm

The actual sysupgrade image can then be transferred (on the LAN port) to the
device via

  scp <filename-of-squashfs-sysupgrade>.bin root@192.168.1.1:/tmp/

On the device, the sysupgrade must then be started using

  sysupgrade -n /tmp/<filename-of-squashfs-sysupgrade>.bin

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-08-10 06:45:51 +02:00
Sven Eckelmann
200f627a9c ipq807x: Fix installation of FTBFS gcc 5.5 patch
The toolchain path will not automatically be copied to OpenWrt. So the
build will still fail on recent Debian unstable version. Instead, it must
be applied during the setup.py process via the normal patch procedure.

Reported-by: Marek Lindner <marek.lindner@plasma-cloud.com>
Fixes: 6f6b40a94f ("toolchain/gcc: fix building gcc 5.5 on newer systems")
Signed-off-by: Sven Eckelmann <sven@narfation.org>
2022-08-10 06:45:51 +02:00
John Crispin
1c4c82a9df bpftools: backport latest version from OpenWrt HEAD
Signed-off-by: John Crispin <john@phrozen.org>
2022-07-12 10:44:57 +02:00
Tanya Singh
d9a8e771ae firstcontact: Zero touch provisioning with DHCP option 138
Fixes: WIFI-7266
Signed-off-by: Tanya Singh <tanya_singh@accton.com>
2022-07-11 07:45:23 +02:00
John Crispin
0d50975152 hostapd: backport OWE patches
Fixes: WIFI-9811
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-30 12:19:41 +02:00
John Crispin
b81d0aaf0e ipq40xx: add dual boot support for ecw5211
Fixes: WIFI-7712
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-16 12:47:13 +02:00
John Crispin
aa3cb95233 wireguard-tools: do not select the kernel module
unetd will select the correct kernel module.

Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-13 14:57:48 +02:00
John Crispin
3ea06dac40 dhcpsnoop: update code
* Update to latest version of dhcpsnoop
* always snoop all upstream interfaces
* add snooped leases to state

Fixes: WIFI-7838
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-13 14:57:21 +02:00
John Crispin
f371c789d0 ipq807x: revert all 11.5 changes
Fixes: WIFI-7570
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-09 14:03:42 +02:00
John Crispin
5a105ef06e hostapd: make psk2-radius work on wifi-5 devices
Signed-off-by: John Crispin <john@phrozen.org>
2022-06-09 13:59:43 +02:00
John Crispin
7d5eab4bf3 libnl-tine: update to latest HEAD
Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-26 09:50:34 +02:00
John Crispin
6fabaeca53 kernel-headers: make sure that the QSDK v5.4 kernel has access to the wireshark headers
Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-26 09:28:59 +02:00
John Crispin
be4ca445f5 netifd: update to latest HEAD
Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-26 09:28:36 +02:00
John Crispin
e99c8b27e1 libubox: update to latest HEAD
Fixes: WIFI-7571
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-26 09:28:11 +02:00
John Crispin
85af9d7e0b ipq807x: add motorola q14 support
Fixes: WIFI-8040
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-24 14:05:06 +02:00
John Crispin
9a8278afcc hostapd: add psk2-radius support
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-17 07:45:32 +02:00
John Crispin
c6a45184fd ipq807x: fix buildsystem for ath11.5-csu
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-17 07:45:32 +02:00
John Crispin
9650f8eaa8 iwinfo: fix 6e channel calculation
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-12 11:45:30 +02:00
John Crispin
d6d5422152 ipq40xx: add indio UM510/550AC support
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-06 09:08:59 +02:00
John Crispin
5cbac23e3f ramips: disable switch/bridge offload
This is breaking win10 laptops when vlan_filtering is enabled

Signed-off-by: John Crispin <john@phrozen.org>
2022-05-04 17:09:53 +02:00
John Crispin
172c0d3690 bpf.mk: backport a fix that unbreaks bpf compile on armv7
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-03 07:44:34 +02:00
John Crispin
535f41d58b hostapd: fix phy level max-assoc settings
Signed-off-by: John Crispin <john@phrozen.org>
2022-05-02 08:47:12 +02:00
John Crispin
2be18091a4 proxy_arp: backport skb->cb fix from upstream kernel
this caused proxy_arp to misbehave

Signed-off-by: John Crispin <john@phrozen.org>
2022-04-26 12:24:51 +02:00
Johann Hoffmann
efde86be9d x86: add vm images
Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
2022-04-21 11:18:58 +02:00
John Crispin
739e8c12fb ramips: fix actiontect web7200 wifi macs
Signed-off-by: John Crispin <john@phrozen.org>
2022-04-21 11:18:58 +02:00
Sohail Ahmad
0a56755bef ramips: Support for Indio UM-305AX AP
Signed-off-by: Sohail Ahmad <sohail@indionetworks.com>
2022-04-21 11:18:58 +02:00
John Crispin
c35290772d ipq40xx: add certificate partition to cig-wf610
Signed-off-by: John Crispin <john@phrozen.org>
2022-04-19 10:28:15 +02:00
John Crispin
16e0724ace ramips: fix actiontec web7200 dual boot
Signed-off-by: John Crispin <john@phrozen.org>
2022-04-04 16:09:55 +02:00
John Crispin
6ebe189d71 ramips: fix uboot-env-tools mtd offset
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-31 13:41:16 +02:00
John Crispin
606e27e256 wifi: fix channel select when using ACS
there were several small issues that caused ACS to leave the radio in a bad state
during sanity runs.

Signed-off-by: John Crispin <john@phrozen.org>
2022-03-31 10:58:45 +02:00
John Crispin
58388f84b6 ipq40xx: add status led support on udaya board
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-29 13:44:54 +02:00
John Crispin
0f13f7f5cd ipq40xx: add support for udaya a5 id2
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-25 16:08:34 +01:00
Sohail Ahmad
d18eef480c ipq40xx: add Support for Indio's UM-325AC AP
Changes made in OpenWrt supported targets to Include Indio's UM-325AC AP which is an indoor WiFi5 AP based on ipq4019 chipset.

Signed-off-by: Sohail Ahmad <sohail@indionetworks.com>
2022-03-22 08:04:40 +01:00
John Crispin
a0880ed0f1 edgecore: disable dual boot on eap10x/ecw5211
Signed-off-by: John Crispin <john@phrozen.org>
2022-03-11 16:28:41 +01:00
John Crispin
ed6d683980 ramips: add bmtv2 and nbnm support
this fixes the nand issue on the actiontec web7200

Signed-off-by: John Crispin <john@phrozen.org>
2022-03-11 14:57:54 +01:00
John Crispin
4b07afe59f ucentral-schema: update to latest HEAD
19fcc8d update schemareader
bef2a8f state: add the upstream dhcp servers ip to the state message

Signed-off-by: John Crispin <john@phrozen.org>
2022-03-02 15:12:50 +01:00
John Crispin
17fe72c6e9 wifi: revert some tweaks that are causing stability issues
this will come back in 2.6 once stability is restored

Signed-off-by: John Crispin <john@phrozen.org>
2022-02-25 17:34:27 +01:00
John Crispin
ce3849e131 ipq40xx: revert an upstream patch causing problem with ea8300 eth ports
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-23 07:54:00 +01:00
John Crispin
300924a4be hostapd: fix syntax error inside hostapd.sh
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-22 15:13:28 +01:00
John Crispin
e4fa57b4d0 proxy_arp: backport skb->cb fix from upstream kernel
this caused proxy_arp to misbehave

Signed-off-by: John Crispin <john@phrozen.org>
2022-02-17 08:28:21 +01:00
John Crispin
b4d1d58fc9 hostapd: improve acs_exclude_dfs support
Fixes: WIFI-6933
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-15 17:06:22 +01: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
4dcd0ad1da uvol: update to latest version
Fixes: WIFI-368
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-15 07:54:43 +01:00
John Crispin
187326b7ce hostapd: add acs_exclude support
Fixes: WIFI-6933
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-14 14:09:49 +01:00
John Crispin
41dd91559a hostapd: update to latest stable upstream release
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-13 11:34:40 +01:00
John Crispin
e7a6f497a3 ucentral-schema: add support for valid-channel and allow-dfs
Fixes: WIFI-6933
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
011340ed6e ipq40xx: fix wallytech ubi size
Fixes: WIFI-7048
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
88d783c8ad hostapd: improve switch_chan support
Make the code retain current op_class if no new one was provided
via ubus.

Fixes: WIFI-7050
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
b04759322c hostapd: add the ability to use radius based mac-ACL
Fixes: WIFI-5425
Fixes: WIFI-6007
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
27947a07f7 ubox: add priority filtering to logread
Fixes: WIFI-6388
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
dc35dd1ce5 procd: add service measurement support
Fixes: WIFI-7051
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
ff118acdea ramips: add actiontec web7200 support
Fixes: WIFI-7057
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-12 17:52:30 +01:00
John Crispin
19128346ae openwrt-21.02: update to latest upstream commit
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:06 +01:00
John Crispin
34138032a7 rtkmipsel: add target support
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:06 +01:00
John Crispin
6448427eec mt7621: add support for CIG WF808
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:05 +01:00
John Crispin
bb2b6db088 patches: restructure patches and backports
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:05 +01:00
John Crispin
48a091a3a2 ipq807x: merge target patches and convert to a feed
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-04 08:06:05 +01:00
John Crispin
6d9d4ab47a ipq807x: add latest AQ FW
Fixes: WIFI-3487
Signed-off-by: John Crispin <john@phrozen.org>
2022-02-01 18:19:58 +01:00
John Crispin
64009d7d2a ipq807x: fix mac assingment on eap101
Fixes: WIFI-3487
Signed-off-by: John Crispin <john@phrozen.org>
2022-01-31 07:38:52 +01:00
John Crispin
8529d7471a ipq40xx: fix wifi mac assignment on on hfcl-ion4
Signed-off-by: John Crispin <john@phrozen.org>
2022-01-05 12:41:12 +01:00
John Crispin
02c0af4bb4 ath10k: use a custom backports package for ath10k based units
Fixes: WIFI-6161
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-15 09:47:40 +01:00
John Crispin
a686beebbb base-files: add ability to mark scanning radios inside board.json
Fixes: WIFI-6056
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-06 13:26:55 +01:00
John Crispin
ec8d056cc8 ipq807x: improve EAP106 support
The AQ PHY FW was not getting uplaoded properly.

Fixes: WIFI-6055
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-06 13:26:55 +01:00
John Crispin
1d4b8ab7ff ipq40xx: fic HFCL Ion 4 buttons and LEDs
Fixes: WIFI-6021
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-06 13:26:55 +01:00
John Crispin
04c3325710 ipq807x: bssid was not stable on wf-194c4/8
The ART does not have valid macs in it, use the
ath11k-macs fixup to work around this.

Fixes: WIFI-6012
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-02 15:05:41 +01:00
John Crispin
1e950be127 ipq807x: Make it possible to flash r2.4 on eap102 with older bootloaders
Fixes: WIFI-5997
Signed-off-by: John Crispin <john@phrozen.org>
2021-12-01 07:32:05 +01:00
John Crispin
5fc7ac166a ipq807x: explicitly set the lable_mac_addr on WF194c
Some older units did not have a stable serial number when connecting
to the GW. Fix this by explicitly setting the label_mac, this allows
the uci-defaults script to correctly pick up the right MAC.

Fixes: WIFI-5834
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-30 07:57:19 +01:00
John Crispin
87be030169 ipq807x: add support for wallytech DR6018-v4
Fixes: WIFI-5846
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-29 15:32:30 +01:00
John Crispin
7b0ef7f265 hostapd: backport ujail/hostapd fix
This is currently breaking interactive cli support.

Fixes: WIFI-5814
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-24 11:49:39 +01:00
John Crispin
4c7ee4bf6d ipq807x: fix compile error due to badly rebased patch
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-18 18:50:54 +01:00
John Crispin
90868338c7 ipq807x: add hfcl ion4x support
Fixes: WIFI-5797
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-18 18:15:12 +01:00
John Crispin
8bb9816e2b ipq807x: fix setting mac on cig wf-194c/4
Fixes: WIFI-3967
Signed-off-by: John Crispin <john@phrozen.org>
2021-11-09 17:34:16 +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
Paul Spooren
68d544c9af scripts: gen_config allow explicit warning message
Instead of generically mentioning a missing dependency the host
dependency can also be explained by defining a `warning`.

Warning messages are collected and printed at the end.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-11-08 09:15:42 +01:00
Paul Spooren
9d3768a68d scripts: gen_config add host_dependencies option
In case a package/image requres specific host dependencies it is
possible to define entries in the `host_dependencies` array. Each entry
is an object containing at least `name` and `which`. The `which` array
contains tools to be checked in the current `PATH`.

Optionally the two options `success_diffconfig` and
`fallback_diffconfig` can be set. The former is optionally added in case
the tool is found. The latter is added if the dependency is not
available.

If the dependecy is not available and no `fallback_diffconfig` is set,
the config generation is considered impossible and stopped.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-11-05 10:47:41 +01:00
John Crispin
11ed0b089c ipq807x: update BPF backport
The patch broke kernel build with lockdep enabled

Signed-off-by: John Crispin <john@phrozen.org>
2021-11-01 11:30:55 +01:00
John Crispin
a3125e6ab2 ipq807x: fix vlan offload support in v5.10 eBPF backport
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-30 08:39:39 +02:00
John Crispin
2283a64e57 ipq807x: backport eBPF layer from v5.10 kernel
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-28 19:40:05 +02:00
John Crispin
1a3054218f ipq807x: add support for wallystech dr6018
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-28 19:40:05 +02:00
John Crispin
cd85723609 ipq807x: fix v4.4 kernel-headers for BPF
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-28 10:15:58 +02:00
John Crispin
485c689408 ipq807x: add support for wf194c4
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-20 08:23:04 +02:00
John Crispin
6b3d2b8059 ipq40xx: add spw2ac1200-lan-poe profile
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-14 16:22:24 +02:00
John Crispin
330eead632 ipq40xx: improve SPW2AC1200 sysupgrade
with this fix it does not matter if the unit is in primary or secondary boot mode.

Signed-off-by: John Crispin <john@phrozen.org>
2021-10-12 18:25:57 +02:00
John Crispin
fad14af474 ipq40xx: improve EdgeCore-SPW2AC1200 sysupgrade
Make sure to always flash into the primary partition.

Signed-off-by: John Crispin <john@phrozen.org>
2021-10-12 08:13:11 +02:00
John Crispin
ec0d693d12 ath79: add certificates partition for indio device
Signed-off-by: John Crispin <john@phrozen.org>
2021-10-05 16:38:32 +02:00
John Crispin
a37ed25128 ipq807x: fixes wifi on wf194c
* the maple update broke the caldata extraction for 8x8 units

Fixes: WIFI-4418
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-27 10:05:10 +02:00
John Crispin
544e6ff3a3 Revert "ipq807x: fixes wifi on wf194c"
This reverts commit ab2ff431ee.
2021-09-27 10:05:04 +02:00
John Crispin
ab2ff431ee ipq807x: fixes wifi on wf194c
* the maple update broke the caldata extraction for 8x8 units

Fixes: WIFI-4418
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-27 09:59:46 +02:00
John Crispin
fd884e709b ipq806x/ipq807x: fix lan/wan mapping on ecw5410 and wf194
Fixes: WIFI-3706
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-25 11:06:39 +02:00
John Crispin
a5a37a22ce ipq807x: disable pstore on ipq807x
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-17 10:05:24 +02:00
John Crispin
14d3c44184 ipq807x: backport pstore support
v4.4 was missing OF support for this feature.

Signed-off-by: John Crispin <john@phrozen.org>
2021-09-16 15:27:20 +02:00
John Crispin
cd6e94f201 ipq807x: add preliminary eap106 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-15 14:01:34 +02:00
John Crispin
a3813f4b5d mt7621: add linksys ea6350 and ea7200 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-14 17:05:08 +02:00
John Crispin
0c9bc8a958 ipq50xx: add preliminary maple support
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-14 09:16:37 +02:00
John Crispin
8cd26b4b50 ipq807x: update to 11.4-CS
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-14 09:16:23 +02:00
John Crispin
2d40fa3c55 mac80211: fix builds on ath79 targets
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-13 13:43:19 +02:00
John Crispin
1e7efc68a8 config.yml: update 21.02 baseline from RC2->GA
Signed-off-by: John Crispin <john@phrozen.org>
2021-09-04 08:14:58 +02:00
John Crispin
6524e6ab7f ipq40xx: drop dead code from image Makefile
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-30 07:01:37 +02:00
John Crispin
2303a32b9c uxc: backport required packages for container support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-30 06:55:36 +02:00
John Crispin
a0c32b4915 ipq40xx: add HFCL ION4 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-26 17:38:19 +02:00
John Crispin
07a4a1af09 ipq806x: add edgecore_ssw2ac2600 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-18 16:04:12 +02:00
John Crispin
8d863239f5 ipq806x: update to latest HEAD
* this fixes the ethernet issues

Signed-off-by: John Crispin <john@phrozen.org>
2021-08-18 13:20:54 +02:00
John Crispin
0789a4db83 ipq40xx: add Wallys DR40x9 support
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-13 19:04:57 +02:00
John Crispin
ec5396f9c0 Revert "config.yml: bump OpenWrt baseline to latest 21.02"
This reverts commit 53c2b41a58.
2021-08-12 17:07:51 +02:00
John Crispin
53c2b41a58 config.yml: bump OpenWrt baseline to latest 21.02
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-11 10:05:16 +02:00
John Crispin
7255a5adce netifd: fix compile on older kernels
Signed-off-by: John Crispin <john@phrozen.org>
2021-08-07 15:59:17 +02:00
John Crispin
05e156e07f ucentral: development update
* fix phy temperature reporting

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-27 13:50:01 +02:00
John Crispin
1396c25a78 ucentral: development update
* fix mac assign on ath11k

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-27 10:10:32 +02:00
John Crispin
9c17c4c8cb ucentral: development update
* fix ovs deadlock
* add tpt led trigger to ath11k
* update ucentral-wifi
* add open-flow to data model

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-20 15:21:58 +02:00
John Crispin
2a1e323a7c ucentral: development update
* fix ec420 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-19 19:52:23 +02:00
John Crispin
446ed8071a ucentral: development update
* fix reset buttons on cig188/194 and ec420

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-18 17:43:48 +02:00
John Crispin
ce5e0a14d9 ucentral: development update
* spawn a console on usbserial dongle

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-13 15:24:53 +02:00
John Crispin
f26171c1d4 ucentral: development update
* update netifd to latest HEAD
* fix mikrotik support
* enable getty
* update ucentral-wifi
* make firewall provide ssh on wan during early firstboot

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-13 08:59:14 +02:00
John Crispin
670bc9d2e2 ucentral: development update
* make BTLE work on several devices
* update ucentral-schema
* update ucentral-client
* make cBPF work
* update mac80211
* update usteer

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-08 11:05:23 +02:00
John Crispin
8d8af8c59a ucentral: development update
* update ucentral
* add edgecore SPW2AC1200 support
* add wwan support
* fix passpoint support

Signed-off-by: John Crispin <john@phrozen.org>
2021-07-02 12:59:42 +02:00
John Crispin
18f127f1d9 ucentral: development update
* update mdns daemon
* enable ssh on wan in the initial config
* add tplink cpe-710
* improve led blink behaviour

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-30 15:56:54 +02:00
John Crispin
4d265de38a ucentral: development update
* add missing patch for over the air roaming
* update usteer init.d script
* add Indio um-305ac support
* add support for tplink powerline
* update ucentral-schema

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-30 11:50:15 +02:00
John Crispin
42251224b3 ucentral: development update
* more mac80211/hapd script improvements
* more led blink/off commands
* update ucentral-schema
* further improvement on maverick
* various ipq807x led improvements

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-25 09:18:09 +02:00
John Crispin
0825cb93c5 ucentral: development update
* update netifd
* update dynamic vlan
* improve maverick
* update schema
* fix ath11k STA mode

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-24 08:39:17 +02:00
John Crispin
e9de5c0c69 ucentral: development update
* another ecw5410 fix

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-21 14:12:58 +02:00
John Crispin
99f2840848 ucentral: development update
* fix ecw5410 5G radio

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-21 13:44:21 +02:00
John Crispin
6424ec80b5 ucentral: development update
* fix missing mac80211 script update
* fix ecw5410
* update iwinfo

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-21 12:55:36 +02:00
John Crispin
235139882a ucentral: development update
* update ugps
* update mac80211
* update mt76
* fix ec420 image upload
* enable gps on oap100

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-19 16:05:55 +02:00
John Crispin
0c86f9159a ucentral: development update
* update ucentral-schema
* improve /certificate generation
* add ecw5410 support
* add oap100 support
* add ec420 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-18 14:30:45 +02:00
John Crispin
1511b324ac ucentral: development update
* improve handling of the /certificates partition
* ignore sysupgrade.tgz provided by R1
* update netifd
* fix mac80211.sh bug when setting HE beamforming
* update ucentral-schema

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-17 11:20:11 +02:00
John Crispin
2017bcd200 ucentral: development update
* fix ecw5211 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-15 17:05:02 +02:00
John Crispin
e5bbf8b65c ucentral: development update
* eth and wifi leds were not working as expected on eap101

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-14 17:42:18 +02:00
John Crispin
9f417bfd6f ucentral: development update
* update ieee8021x
* update schema
* update ucode
* add dhcp option82 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-08 15:55:22 +02:00
John Crispin
de4eb9c7d2 ucentral: development update
* add tplink archer c50-v4 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-07 07:00:50 +02:00
John Crispin
4f20c642a5 ucentral: development update
* fix ath11k reload issue
* drop patches that were used by data mode v0
* imporve maverick logging
* fix lldp on qca units

Signed-off-by: John Crispin <john@phrozen.org>
2021-06-05 15:40:11 +02:00
John Crispin
0402a5b750 ucentral: development update
* fix AX builds
* update client/schema
* fix lldp restart
* drop old  realtek patch
* improve realtime events
* update dhcpsnoop

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-30 14:57:28 +02:00
John Crispin
30a078b90a ucentral: development update
* backport latest netifd, mac8021, hostapd, iw
* maverick and certificate fixes
* update ucentral-wifi
* update ucentral-client
* add qcom hk14 wifi 6e support (pine)
* add tplink ex228

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-27 17:18:22 +02:00
John Crispin
e0063c69c7 ucentral: development update
* enhance maverick stability
* add persistent certificate storage
* update schema
* add channel stats to telemetry messages
* make rtty cmd handler work
* add support for recovery images

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-27 13:19:21 +02:00
John Crispin
1cb0137234 ucentral: development update
* enhance first contact
* add dedicated maverick tool
* move examples around
* fix eap102 sysupgrade
* update ucentral-schema
* update ucentral-client
* update ucentral-wifi
* update udevmand
* make sure that wifi-ax creates default interfaces

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-22 17:06:35 +02:00
John Crispin
5c72b50975 ucentral: development update
* yet another huge data model 2 update

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-18 10:56:09 +02:00
John Crispin
5a941a18d1 ucentral: development update
* another huge data model v2 update

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-16 17:41:42 +02: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
893bc05661 ucentral: development update
* update realtek kernel
* add new PoE tool
* improve CI

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-12 19:40:16 +02:00
Sven Eckelmann
ad2873f74a ipq807x: Enable bridge-mgr to control port mac address learning
The switch in the IPQ807x/IPQ60xx devices will automatically learn the mac
addresses behind a port. But it will not unlearn this entry when some mac
switches from the ethernet port to the CPU port. This will for example
happens when a device roams from on AP to another AP. At least when both
are APs are bridging the wifi traffic directly or indirectly (mesh) to the
same ethernet broadcast domain.

As result, the roaming device can no longer receive any ethernet packets
which the AP is expected to receive on the ethernet port. This state will
be kept for a couple of minutes until the entry in the FDB is dropped
automatically. But it is still possible for the wifi device to send data
via the ethernet during this whole time.

One solution is to just disable learning on all ports. The other option
would be to enable the qca bridge-mgr which takes care of gathering the
events from the bridge and forwards it to the qca-ssdk (to manipulate the
state of the switch). The latter option was chosen to follow the approach
which QCA is also using in their QSDK.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2021-05-09 12:58:18 +02:00
John Crispin
d28a0c3d9d ucentral: development update
* update mkits.sh to work with 2021.04 uboot
* add mediatek pstore

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-09 12:38:33 +02:00
John Crispin
31c0880c00 ucentral: development update
* add tplink_cpe510_v3 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-08 11:31:59 +02:00
John Crispin
e54a3d7db0 ucentral: development update
* update ucentral-client
* update ucentral-schema
* rework CI file deployment
* fix firmware version reporting

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-06 14:25:37 +02:00
John Crispin
86b23f9ccf ucentral: development update
* fix poco build on MIPS
* add certificate generation for the gateway package
I make vlan filtering work on mt7621
* add ucentral-gateway profile
* add ubnt_edgerouter-x profiles

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-04 19:16:52 +02:00
John Crispin
81346f2d80 ucentral: development update
* add board information page to webui
* fix github workflow, it actually reports fails now

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-04 13:51:23 +02:00
John Crispin
1f1e7c2e04 ucentral: development update
* properly pass current firmware hash to the gateway
* revert lldp downgrade patch
* update ucentral-client - fixes zlib/b64 error
* add radius disctionary to ucentral-defaults
* several additional hostapd patches

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-03 10:44:10 +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
7a40e97658 ucentral: development update
* rename eap6x0 to exxx7
* update schema
* update client
* update gateway
* update usteer
* implement all missing ucentral commands
* patch the led script to allow turning of all leds

Signed-off-by: John Crispin <john@phrozen.org>
2021-04-19 13:53:08 +02:00
John Crispin
aef9711647 ucentral: development update
* fix dhcpsnoop on ipq807x
* update ucentralgw
* add eap620/660 support
* add cigwf610d
* do not deploy a default ratelimit config
* add eap225 support

Signed-off-by: John Crispin <john@phrozen.org>
2021-04-13 17:15:08 +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
256c322f85 ucentral: development update
* update base 21.02 revision
* update v5.10 support
* fix captive portal
* cleanup ucentral-* packages
* update ucentral-* packages
* cleanup profiles
* fix worflow

Signed-off-by: John Crispin <john@phrozen.org>
2021-04-07 11:48:28 +02:00
John Crispin
0b95ce5d02 ucentral: update to latest development state
* add support for more commands
* add firstcontact support
* add pstore based crashlog support
* fix github workflow
* improve captive portal/guest support

Signed-off-by: John Crispin <john@phrozen.org>
2021-03-31 10:46:56 +02:00
John Crispin
bc13ab4544 ucentral: various updates and fixes
* Gateway and client are now talking jsonrpc on the wire.
* update the datamodel to the latest version.
* add github workflow
* add zero touch on-boarding

Signed-off-by: John Crispin <john@phrozen.org>
2021-03-29 18:51:13 +02:00
John Crispin
528a778e38 open-converged-wireless: Import 21.02 based uCentral tree
Signed-off-by: John Crispin <john@phrozen.org>
2021-03-25 12:19:47 +01:00