Commit Graph

97 Commits

Author SHA1 Message Date
Nagendrababu
ce703e1b2e WIFI-1933-Blink-APs-LED
This patch will change the label names for WiFi6 APs to follow common naming convention

Signed-off-by: Nagendrababu <nagendrababu.bonkuri@connectus.ai>
2021-06-29 19:15:56 -04:00
Rick Sommerville
e71df5ebe4 WIFI-2427 Preserve certs and redirector over factory-reset
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-05-25 11:28:41 -04:00
John Crispin
5a5bdac405 ipq807x: fix eap101 leds
The LEDs defined in the dts did not match what UCI expected.

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-19 13:18:22 -04:00
John Crispin
327b85b44a ipq807x: add support for the new eap102 version
* import the patch provided by edgecore.

Signed-off-by: John Crispin <john@phrozen.org>
2021-05-16 15:20:17 -04:00
Arif Alam
b0a660ba31 netifd: Add WPA3 Enterprise modes
Add configuration options for:
- WPA3 Enterprise Only mode
- WPA3 Enterprise Transition mode

Fixes: WIFI-1940

Signed-off-by: Arif Alam <arif.alam@netexperience.com>
2021-04-30 14:31:10 -04:00
ravi vaishnav
b4e20e6289 WiFi-1921. Fix for hostapd error logs when configuring 16 SSID
When configuring 16 VLAN, we see hostapd complaining
about no buffer space available while handling receive
events. Hence, increasing the socket buffer memory size
to 512KB.

Signed-off-by: ravi vaishnav <ravi.vaishnav@netexperience.com>
2021-04-22 20:05:17 -04:00
Chaitanya Godavarthi
b717b1361d netifd: Dont renew dhcp on bridge topo change
Do not renew the dhcp on bridge topology change
as this causes some of the dhcp servers to fail.
This occurs when many interfaces are added on to
a bridge and for every interface there is a dhcp
renew. The server considers receiving renew many
times in a quick succession as a DOS attack. So for
now we disable dhcp lease renew when a new interface
is added.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-04-19 17:34:16 -04:00
Chaitanya Godavarthi
077009a263 Fix ssid ratelimiting in wifi6 AP
This patch backports some fixes in netfilter
ratelimiting kernel module for wifi6 (linux v4.4.60).
These fixes are ported from until following commit id
6e323887565fe8a23c6c85faf9e395a24affd05c in
the mainline kernel.
Also, fix bugs in client ratelimiting.
Per Client Ratelimiting will be used henceforth
instead of Per ssid Ratelimiting.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-04-08 09:49:42 -04:00
Chaitanya Godavarthi
5feaee3327 Add ESMT Nand support and ubi imgs
Add ESMT Nand support, required for ex227/ex447
Add ubi images for ex227, ex447

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-04-06 09:09:26 -04:00
Chaitanya Godavarthi
9cb289b605 openwrt: Revert UBUS pending list iteration method
This commit partially reverts the earlier patch:
"workaround possibly false positive uses of memory after it is freed"

This fixed the crash while freeing a list item in
ubus_process_pending_msg due to a double free.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-03-30 16:09:42 +02:00
Chaitanya Godavarthi
a9665a0d32 openwrt: Remove NOR factory image for tplink-ex447/ex227
Remove NOR factory image for tplink-ex447/ex227 as now its
switched to nand based image.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-03-22 12:11:42 -04:00
Chaitanya Godavarthi
2cc526b379 openwrt: Nand images for tp-link EX447 and EX227
Generate factory nand images for tp-link ex447 and ex227.
This image is used to flash for migrating from stock qsdk
image to tip openwrt image using the nand flash.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-03-16 10:49:34 -04:00
John Crispin
9d13fc7330 ipq807x: add 512MB profile
This greatly improves the memory issues that we were seeing on QCA/AX.

Signed-off-by: John Crispin <john@phrozen.org>
2021-03-11 16:31:13 +01:00
Chaitanya Godavarthi
80778b5bab openwrt: Fix wifi leds for ecw5211 wf610d eap102
Fix typo error for ecw5211 and eap102, correct
boardname for wf610d

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2021-02-22 19:25:42 -05:00
Rick Sommerville
3c035cb5b0 Wifi-1473 WF188n set eth0/br-wan and eth1/br-lan
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2021-02-19 19:06:55 -05:00
John Crispin
558a13fc06 ipq807x: fix ex227/447 sysupgrade
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-09 10:12:47 +01:00
John Crispin
686c4df90d ath11k: fix broken mac detection on eap102 / wf188n
Signed-off-by: John Crispin <john@phrozen.org>
2021-02-01 07:28:18 +01:00
John Crispin
b8de9c5f67 ipq807x: add missing kernel symbol for gpio-watchdog
WF188n will enter a reboot loop without this.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-26 18:06:34 +01:00
John Crispin
f006db7913 ipq807x: reduce USB related log-spam
The kernel will spew a WARN(1) upon boot if it fails to probe USB phys that are not
populated on the eap102. This warning is a false positive so lets silence it.

Signed-off-by: John Crispin <john@phrozen.org>
2021-01-26 10:23:20 +01:00
John Crispin
67b7d8fac2 ipq807x: enable 32bit mode for the target
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-25 17:11:23 +01:00
John Crispin
6a8a2296ea dnsmasq: add CVE mitigation patches
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-25 17:11:20 +01:00
John Crispin
7ae17f821b ipq807x: update kernel patches and add new boards
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-18 08:03:29 +01:00
John Crispin
26606cf079 ipq807x: do not dump the whole ram when unit panics
Signed-off-by: John Crispin <john@phrozen.org>
2021-01-12 11:39:04 +01:00
RickSommerville
c9b2813876
Merge pull request #139 from Telecominfraproject/staging-wifi-1032-ec420-lan-mac
WIFI-1032 Repair EC420 MAC retrieval from manufacturing data
2021-01-05 10:56:53 -05:00
Chaitanya Godavarthi
4977c9800d interapcomm: Add firewall rule statically instead of startup scripts
Added the rules statically in firewall.config, hence reverted the code
which adds firewall rules during startup.

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2020-12-21 07:10:10 +05:30
Rick Sommerville
8247dd865e WIFI-1032 Repair EC420 MAC retrieval from manufacturing data
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-12-19 12:11:05 -05:00
Chaitanya Godavarthi
6de999929b ipq40xx: Add support for CIG WF-610D AP
Add support for CIG WF-610D AP

Signed-off-by: Chaitanya Godavarthi <chaitanya.kiran@netexperience.com>
2020-12-08 08:14:42 +01:00
Brian Moyle
a11f3a054e ipq806x: add mtd spi-nor support for mx25u12835f
WIFI-1155 ECW5410: unsupported spi flash device

Signed-off-by: Brian Moyle <brian.moyle@joindigital.com>
2020-12-08 08:13:20 +01:00
John Crispin
dc7049323e ipq807x: update to ath11k-ed2 release
Signed-off-by: John Crispin <john@phrozen.org>
2020-12-02 09:48:18 +01:00
John Crispin
721e7cd6ce ipq807x: update NSS Firmware package
Start using the now publicly available FW blobs.

Signed-off-by: John Crispin <john@phrozen.org>
2020-11-04 06:38:24 +01:00
John Crispin
37fdc39e35 opensync: add the wifi maverick ssid
The unit shall bring up the Maverick SSID if it fails to on-board with the cloud
within the first 10 minutes of its live.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-28 10:06:41 +01:00
John Crispin
8a1e4e87ea ipq807x: add edgecore eap101 support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-24 12:36:11 +02:00
Rick Sommerville
0c6183210e Apply EC420 11-ath10k-caldata changes supplied by TP-Link
Signed-off-by: Rick Sommerville <rick.sommerville@netexperience.com>
2020-10-24 12:34:22 +02:00
John Crispin
6ae6a1ac3e ipq40xx: add ec420 ubi images
Add code to generate ubi images for tplink ec420

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-22 10:16:56 +02:00
John Crispin
0b13cb3171 ipq807x: add edgecore eap-102 support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-16 04:28:51 +02:00
John Crispin
cb9d5f9bdc dnsmasq: turn the base uci section into a named one
Handling this section from opensync is complicated if it is unnamed.

Signed-off-by: John Crispin <john@phrozen.org>
2020-10-06 16:40:37 +02:00
John Crispin
04f6078da6 ipq807x: update AX support
Signed-off-by: John Crispin <john@phrozen.org>
2020-10-04 14:28:57 +02:00
Sven Eckelmann
215be21272 ipq807x: Fix dtc host build with GCC 10
The dtc binary has to be compiled using the host GCC and not the target
cross compiler GCC. And GCC 10 is using by default -fno-common which
inhibits the merging of tentative definitions by the linker.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2020-09-30 19:37:41 +02:00
John Crispin
133a959b3c ipq40xx: fix latest nand patch
Thgis was not in git format, causing local builds to fail.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-30 09:43:46 +02:00
cbuschfb
8d83a22159 Patch W25M02GV NAND support EdgeCore ECW5211
Signed-off-by: cbuschfb <chrisbusch@fb.com>
2020-09-29 13:44:23 +00:00
John Crispin
fdb3af3d2b ipq807x: add wallaby LED support
Add the led netdev trigger setup code making lan/wan leds work.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 17:37:28 +02:00
John Crispin
9cb690f14e ec420: add the 2 missing wifi board files
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-23 08:38:28 +02:00
John Crispin
2837dc61e6 patches: move all patches into a single folder
This allows easier managing of updated patches.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:20:11 +02:00
John Crispin
35bdbb920b profiles: move profiles into a dedicated folder
Tracking these as patches has been causing problems.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-22 18:09:24 +02:00
John Crispin
b475b15c93 ipq807x: fix patch annotation
The batman patch lost its annotation during last rebase.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-21 13:16:06 +02:00
John Crispin
bad57a30f6 ec420: fix generation of br-lan
OpenWrt does not allow bridges with no default interfaces.

Fixes: WIFI-756
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-17 08:27:38 +02:00
John Crispin
7c8e51fa4c ipq807x: fix the batman profile patch
Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 17:20:06 +02:00
John Crispin
ba41a15fec ipq807x: add CIG WF188N
This is the nand based variant.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:44 +02:00
John Crispin
456b74de85 patches/ipq807x: arm64/v4.4 compile fixes
Get the tree ready for v4.4 builds

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:27 +02:00
John Crispin
381acf5e4e ipq807x: update kernel and ath11k
Pull kernel and ath11k up to the latest release.

Signed-off-by: John Crispin <john@phrozen.org>
2020-09-16 12:07:14 +02:00