[PATCH 3/3] ath79: combine UniFi AC dual firmware-partitions

2022-12-26 Thread David Bauer
ition. The initial installation has to be done with an older version of OpenWrt in case the generated image exceeds the space of a single kernel partition in the future. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 9 ++--- target/linux/ath79/image/generic-ub

[PATCH 1/3] ath79: combine OCEDO dual firmware-partitions

2022-12-26 Thread David Bauer
. The initial installation has to be done with an older version of OpenWrt in case the generated image exceeds the space of a single OS partition in the future. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar9344_ocedo_raccoon.dts | 9 ++--- target/linux/ath79/dts/qca9558_ocedo_koal

[PATCH 2/3] ramips: combine USW-Flex dual firmware-partitions

2022-12-26 Thread David Bauer
ition. The initial installation has to be done with an older version of OpenWrt in case the generated image exceeds the space of a single kernel partition in the future. Signed-off-by: David Bauer --- target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts | 8 ++-- target/linux/ramips/image/mt76

Re: [PATCH v2] ramips: add support for D-Link DAP-X1860 A1

2023-01-07 Thread David Bauer
Hi Sebastian, On 1/7/23 12:56, Sebastian Schaper wrote: [...] +&state_default { + gpio { + groups = "uart2"; + function = "gpio"; + }; +}; diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index dd49583bf4..6492748aed

Re: [PATCH] ipq40xx: convert Extreme AP3915i to DSA

2023-01-17 Thread David Bauer
Hi James, thanks for the patch. I will apply it to my staging tree and test it on my unit. One small remark (I will change when applying to the tree) On 1/17/23 08:02, tr...@ucc.asn.au wrote: +&swport5 { + status = "okay"; + + label = "lan1"; +}; + Should be lan without the index

[OpenWrt-Devel] [PATCH] ramips: add support for GL.iNet microuter-N300

2020-01-26 Thread David Bauer
e. Wait for the LED to flash 5 times. 2. Assign yourself a static IPv4 in 192.168.1.0/24 3. Upload the OpenWrt sysupgrade image at 192.168.1.1. Signed-off-by: David Bauer --- .../dts/mt7628an_glinet_microuter-n300.dts| 21 .../ramips/dts/mt7628an_glinet_vixmini.dt

Re: [OpenWrt-Devel] [PATCH] ramips: add support for GL.iNet microuter-N300

2020-01-28 Thread David Bauer
Hello Adrian, On 1/28/20 5:34 PM, Adrian Schmutzler wrote: >> The GL.iNet microuter-N300 (internally referred as MT300N-v4) is a >> pocket-size travel router. It is essentially identical to the VIXMINI >> (internally referred as MT300N-v3) but with double the RAM and >> SPI-flash. > > One could c

[OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-28 Thread David Bauer
Hi, while testing my shiny new NETGEAR R6260 with OpenWrt, i was experiencing very bad reception as well as throughput. Upon closer inspection, it turns out that the EEPROM is read from an incorrect offset. The Offset positions here are: - 0x28000 for 5GHz - 0x2 for 2.4GHz Can someone

[OpenWrt-Devel] [PATCH] ramips: fix NETGEAR R6260 EEPROM offset

2020-01-28 Thread David Bauer
The EEPROM offset for the NETGEAR R6260 is incorrect, thus no valid calibration data is used. Fix this only for the NETGEAR R6260, as it's currently unknown whether or not other boards are affected. Signed-off-by: David Bauer --- target/linux/ramips/dts/mt7621_netgear_r6260.dts

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-29 Thread David Bauer
Hello Adrian, On 1/29/20 2:57 PM, Adrian Schmutzler wrote: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On >> Behalf Of David Bauer >> Sent: Dienstag, 28. Januar 2020 21:05 >> To: drvl...@gmail.c

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-30 Thread David Bauer
Hello again, On 1/30/20 1:11 AM, David Bauer wrote: > Yes, I've checked the partitioning (and it is off). However, I still opted to > push the > other fix, as I'm unsure whether or not the partition mapping is off for all > boards or only > my specific R6260, as t

Re: [OpenWrt-Devel] Netgear R6260 EEPROM location

2020-01-30 Thread David Bauer
Hello Piotr, On 1/30/20 12:57 PM, Piotr Dymacz wrote: >> I'm still waiting for him to send ma a photo of the routers backside, but it >> seems >> we have to dynamically detect the partition map of the devices. I'll look >> into the >> SC_PART_MAP partition and the routers GPL code to find a poss

[OpenWrt-Devel] [PATCH] iwinfo: add BSS load element to scan result

2020-01-31 Thread David Bauer
This adds support for the BSS load information element. With this patch, the BSS load information is visible when using the CLI as well as when accessing scan results using the LUA binding. Signed-off-by: David Bauer --- include/iwinfo.h | 6 ++ include/iwinfo/utils.h | 2

Re: [OpenWrt-Devel] ar71xx/ath79: at803x_platform_data: reset_gpio

2020-01-31 Thread David Bauer
Hello Adrian, On 1/31/20 5:45 PM, Adrian Schmutzler wrote: > Hi, > > during support of the Ubiquiti Nanostation Loco XW, we encountered the > following > blocks in ar71xx which are only present for devices not migrated to ath79 yet: > > static struct mdio_board_info ubnt_loco_m_xw_mdio_info[] =

[OpenWrt-Devel] [PATCH 1/2] ath79: backport phy reset-controller patches

2020-02-12 Thread David Bauer
The Siemens WS-AP3610 asserts reset to the ethernet PHY with the reset-register. Backport the necessary patches to de-assert reset when probing the PHY. These patches can be dropped when using kernel 5.4. Signed-off-by: David Bauer --- ...net-phy-add-reset-controller-support.patch | 107

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for Siemens WS-AP3610

2020-02-12 Thread David Bauer
ge to flash using sysupgrade: $ sysupgrade -n /path/to/openwrt-sysuograde.bin Signed-off-by: David Bauer --- .../ath79/dts/ar7161_siemens_ws-ap3610.dts| 186 ++ .../generic/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/ieee80211/10_fix_wifi_mac | 3 + .../ba

Re: [OpenWrt-Devel] [PATCH] mpc85xx: set kernel 4.19 as default, 5.4 as testing kernel

2020-03-01 Thread David Bauer
Hello Magnus On 3/1/20 1:08 PM, Magnus Kroken wrote: > Signed-off-by: Magnus Kroken > --- > According to e-mail about pushing kernel 5.4 support to master, 5.4 was added > as testing > kernel for supported targets. For mpc85xx, 5.4 was set as its default > kernel. (This technically also applies

[OpenWrt-Devel] [PATCH] ramips: add support for Ubiquiti UniFi nanoHD

2020-03-08 Thread David Bauer
> dd if=/tmp/openwrt-sysupgrade.bin of=/dev/mtdblock6 > dd if=/tmp/openwrt-sysupgrade.bin of=/dev/mtdblock7 4. Reboot or powercycle the device. Signed-off-by: David Bauer --- .../dts/mt7621_ubiquiti_unifi-nanohd.dts | 141 ++ target/linux/ramips/image/mt7621.mk

Re: [OpenWrt-Devel] [PATCH] ramips: add support for Ubiquiti UniFi nanoHD

2020-03-09 Thread David Bauer
Hello Adrian, On 3/9/20 1:18 PM, Adrian Schmutzler wrote: > Hi David, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On >> Behalf Of David Bauer >> Sent: Montag, 9. März 2020 02:07 >> To: openwr

[OpenWrt-Devel] [PATCH] ath79: use downstream ag71xx for Kernel 5.4

2020-03-12 Thread David Bauer
upstream driver, the amount of necessary patches would make it cumbersome to work with. It's also highly likely we won't be able to finish patching the upstream driver in time for a Linux 5.4 release. Tested on Siemens WS-AP3610. CC: Hauke Mehrtens Signed-off-by: David Bauer --- .../ne

Re: [OpenWrt-Devel] [PATCH] ath79: use downstream ag71xx for Kernel 5.4

2020-03-13 Thread David Bauer
Hello, On 3/13/20 1:29 PM, Petr Štetiar wrote: > Bjørn Mork [2020-03-13 09:29:49]: > >> David Bauer writes: >> >>> --- >>> a/target/linux/ath79/files-4.19/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c >>> +++ >>> b/target

[OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for kernel 5.4

2020-03-17 Thread David Bauer
This fixes the compilation of the AR934x NAND controller driver for kernel 5.4 while leaving it untouched for kernel 4.19. This change is currently not run-tested, as i do not have such a device at hand. CC: Michal Cieslakiewicz CC: André Valentin CC: WeiDong Jia Signed-off-by: David Bauer

[OpenWrt-Devel] [PATCH] ath79: align Ubiquiti AC Pro ethernet map to factory

2020-03-19 Thread David Bauer
the device itself), configure both ports to offer LAN functionality. Users can still configure a WAN interface on a port they are able to choose. CC: Lucian Cristian Reported-by: Florian Klink Signed-off-by: David Bauer --- .../linux/ath79/generic/base-files/etc/board.d/02_network | 7 +++

Re: [OpenWrt-Devel] [PATCH] ath79: fix NAND driver compilation for kernel 5.4

2020-03-22 Thread David Bauer
Hi Michal On 3/22/20 12:35 PM, Michal Cieslakiewicz wrote: > On Tue, 17 Mar 2020 21:59:27 +0100 > David Bauer wrote: > >> This fixes the compilation of the AR934x NAND controller >> driver for kernel 5.4 while leaving it untouched for >> kernel 4.19. >> &g

[OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-04-02 Thread David Bauer
As the reported major bugs are ironed out, switch to the new kernel to begin testing with a broader audience. Signed-off-by: David Bauer --- target/linux/ath79/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ath79/Makefile b/target/linux/ath79/Makefile

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-04-03 Thread David Bauer
Hello Magnus, On 4/3/20 12:07 PM, Magnus Kroken wrote: > Hi all > > On 03.04.2020 11:21, Bjørn Mork wrote: >> David Bauer writes: >> >>> As the reported major bugs are ironed out, switch to the new kernel to >>> begin testing with a broader audience. >

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-04-11 Thread David Bauer
Hello Paul, On 4/3/20 10:58 PM, Paul Blazejowski wrote: Hello David, It is great to hear to we're switching to 5.4 on ath79 target but i wanted to bring to your attention that at least on the NAND subtargets (for me wndr3700v4) we need this commit [1] from Kevin to get the router to boot otherw

Re: [OpenWrt-Devel] [PATCH RFT] ramips: mt7621: use lzma-loader for all devices

2020-04-14 Thread David Bauer
Hi Guo, On 4/14/20 8:44 AM, Chuanhong Guo wrote: > D-Link DIR-860L B1 needs a different loader implementation and isn't > covered by this patch. > Please help testing this patch on top of current master: > 75f19deb3a ramips: define image recipe for uncompressed uimage with loader > 1. If your devi

Re: [OpenWrt-Devel] openwrt-18.06 broken since kernel bump 4.14 to 4.14.169

2020-04-15 Thread David Bauer
Hello Luiz, On 4/15/20 4:16 AM, Luiz Angelo Daros de Luca wrote: > Hello, > > I was doing a clean build for 18.06 and got: > > x86 instruction decoder selftest (X86_DECODER_SELFTEST) [N/y/?] (NEW) aborted! > > It looks like kernel bump happened both in openwrt-19.07 > (eca8a2ee0d4404d9454cac47

[OpenWrt-Devel] [PATCH 2/2] ath79: add support for AVM FRITZ!WLAN Repeater 1750E

2020-04-15 Thread David Bauer
tp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. You need to powercycle the Device afterwards to boot OpenWRT. Signed-off-by: David Bauer --- .../ath79/dts/qca9556_avm_frit

[OpenWrt-Devel] [PATCH 1/2] ath79: add QCA9550 reset sequence

2020-04-15 Thread David Bauer
QCA9558. This is required for the AVM FRITZ!WLAN Repeater 1750E to work, as EVA leaves the PCIe bus in reset. Tested: AVM FRITZ!WLAN Repeater 1750E - OCEDO Koala Signed-off-by: David Bauer --- target/linux/ath79/dts/ar724x.dtsi| 3 + target/linux/ath79/dts/ar9344.dtsi| 3

Re: [OpenWrt-Devel] [PATCH 2/2] ath79: add support for AVM FRITZ!WLAN Repeater 1750E

2020-04-15 Thread David Bauer
Hello Enrico, On 4/15/20 6:59 PM, Enrico Mioso wrote: > Hello!! > > Does the scripts/flashing/eva_ramboot.py work with the version of the EVA > boot loader on this board? The device can write to It's flash without the need of a running initramfs image. So while it works, there's no benefit in p

[OpenWrt-Devel] [PATCH] ath79: add support for AVM FRITZ!WLAN Repeater 450E

2020-04-18 Thread David Bauer
adam2 ftp> binary ftp> debug ftp> passive ftp> quote MEDIA FLSH ftp> put openwrt-sysupgrade.bin mtd1 Note that this procedure might take up to two minutes. You need to powercycle the device afterwards to boot OpenWRT. Tested-by: Andreas Ziegler Signed-off-by: David Baue

[OpenWrt-Devel] [PATCH] ath79: remove unused TP-Link partition parser

2020-04-24 Thread David Bauer
This parser was added with the target, but no device seems to use it currently, as all partitions are specified in the device-tree. Signed-off-by: David Bauer --- target/linux/ath79/config-4.19| 1 - target/linux/ath79/config-5.4 | 1 - .../405-mtd-tp-link

Re: [OpenWrt-Devel] [PATCH] ath79: remove unused TP-Link partition parser

2020-04-24 Thread David Bauer
Hello Henrique, On 4/24/20 8:39 PM, Henrique de Moraes Holschuh wrote: > On 24/04/2020 15:09, David Bauer wrote: >> This parser was added with the target, but no device seems to use it >> currently, as all partitions are specified in the device-tree. > > But is that a goo

Re: [OpenWrt-Devel] [PATCH] ramips: mt7621: use lzma-loader for D-Link DIR-860L B1

2020-04-26 Thread David Bauer
>From 84171d1f3fcecbf1c377fe1ad51b8087808f05c2 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Sun, 26 Apr 2020 14:41:55 +0200 Subject: [PATCH] ramips-mt7621: use LZMA loader for DIR-860L Signed-off-by: David Bauer --- target/linux/ramips/image/mt7621.mk | 2 +- 1 file changed, 1 insertion(+), 1

Re: [OpenWrt-Devel] [PATCH] ramips: mt7621: use lzma-loader for D-Link DIR-860L B1

2020-04-26 Thread David Bauer
Hi Szabolcs, On 4/26/20 8:11 PM, Szabolcs Hubai wrote: > My patch does this exactly. All step is mandatory. > And now you see the reasons too! :) Okay, this looks like some weird hacked vendor-bootloader. Merged your patch with a small change to my staging tree. Thanks! Best wishes David __

[OpenWrt-Devel] [PATCH 2/2] mpc85xx: restructure image receipts

2020-05-05 Thread David Bauer
Move the image receipts into separate per-subtarget files like it is done on most other targets. Signed-off-by: David Bauer --- target/linux/mpc85xx/image/Makefile | 100 +--- target/linux/mpc85xx/image/p1010.mk | 36 ++ target/linux/mpc85xx/image/p1020.mk | 41

[OpenWrt-Devel] [PATCH 1/2] mpc85xx: rename generic subtarget to p1010

2020-05-05 Thread David Bauer
The mpc85xx-generic subtarget supports the QorIQ SoCs of the p1010 family. Rename the subtarget to reflect this affiliation as it's the case with the other mpc85xx subtargets. Signed-off-by: David Bauer --- target/linux/mpc85xx/Makefile | 2 +- target/

[OpenWrt-Devel] [PATCH] ipq40xx: add support for Aruba AP-365

2020-05-07 Thread David Bauer
wrt-sysupgrade.bin To go back to the stock firmware, simply reset the bootcmd in the bootloader to the original value: $ setenv bootcmd "boot" $ saveenv Signed-off-by: David Bauer --- .../ipq40xx/base-files/etc/board.d/02_network | 1 + .../etc/hotplug.d/firmware/11-ath10k-caldat

[OpenWrt-Devel] [PATCH] ath79: add support for Enterasys WS-AP3705i

2020-05-19 Thread David Bauer
te the image to flash using sysupgrade: $ sysupgrade -n /path/to/openwrt-sysuograde.bin Signed-off-by: David Bauer --- .../ath79/dts/ar9344_enterasys_ws-ap3705i.dts | 236 ++ .../generic/base-files/etc/board.d/01_leds| 3 +- .../generic/base-files/etc/board.d/02_network | 1

Re: [OpenWrt-Devel] [PATCH] ath79: add support for Enterasys WS-AP3705i

2020-05-20 Thread David Bauer
Hello Adrian, On 5/20/20 3:41 PM, m...@adrianschmutzler.de wrote: > Hi David, > >> +label-mac-device = ð0; > > this only works if you set mtd-mac-address in DTS. > > In your case, you need to add > > label_mac=$(mtd_get_mac_ascii u-boot-env0 ethaddr) > > to the mac address section

[OpenWrt-Devel] [PATCH] hostapd: add WEP as queryable build feature

2020-05-21 Thread David Bauer
lt without WEP support. Signed-off-by: David Bauer --- .../network/services/hostapd/src/src/utils/build_features.h | 4 1 file changed, 4 insertions(+) diff --git a/package/network/services/hostapd/src/src/utils/build_features.h b/package/network/services/hostapd/src/src/utils/build_

Re: [OpenWrt-Devel] [PATCH] hostapd: add WEP as queryable build feature

2020-05-21 Thread David Bauer
Hello Petr, On 5/21/20 10:26 AM, Petr Štetiar wrote: > David Bauer [2020-05-21 09:56:36]: > > Hi David, > >> Commit 472fd98c5b12 ("hostapd: disable support for Wired Equivalent >> Privacy by default") made support for WEP optional. >> >> Expose th

Re: [OpenWrt-Devel] [PATCH] treewide: use "model" instead of ambiguous "boardname" in 01_leds

2020-05-22 Thread David Bauer
Hello Adrian, On 5/21/20 8:30 PM, m...@adrianschmutzler.de wrote: > "device" would have been my alternative choice. However, for me "device" > implies the full name (including vendor) even more. > In contrast, for me model implies that the vendor is not included (like we > use in for DEVICE_MODE

Re: [OpenWrt-Devel] [PATCH] hostapd: add WEP as queryable build feature

2020-05-22 Thread David Bauer
Just to have it documented it somewhere: On 5/21/20 9:56 AM, David Bauer wrote: > Expose the WEP support to LuCi or other userspace tools using the LuCi seems to already make some wrong assumptions about prerequisites for specific encryption techniques. It assumes WEP as well as open APs

[OpenWrt-Devel] [PATCH] mac80211: ath9k: enable MFP capability unconditionally

2020-06-15 Thread David Bauer
ath9k will already fallback on software-crypto for chipsets not supporting IEEE802.11w (MFP). So advertising MFP is not dependent on disabling HW crypto for all traffic entirely. Tested on Sonicwall SonicPoint Ni (AR9132) Signed-off-by: David Bauer --- ...abled-MFP-capability

[PATCH 2/2] package: add ravpower-mcu package

2020-06-24 Thread David Bauer
This package allows to read battery status information and control the power state of the RAVPower RP-WD009 power management IC. Signed-off-by: David Bauer --- package/utils/ravpower-mcu/Makefile | 34 + target/linux/ramips/image/mt76x8.mk | 3 ++- 2 files changed

[PATCH 1/2] ramips: add support for RAVPower RP-WD009

2020-06-24 Thread David Bauer
the address 10.10.10.1/24. 4. Access the recovery page at 10.10.10.128 and upload the OpenWrt factory image. 5. The flashing will take around 1 minute. The device will reboot automatically into OpenWrt. Signed-off-by: David Bauer --- package/boot/uboot-ramips/Makefile| 34

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-06-27 Thread David Bauer
Hi all, On 6/27/20 9:33 PM, Paul Blazejowski wrote: > What worked for me in the initial report to the mailing list was to use > this patch from Kevin's staging tree [1] (modified for kernel 5.4, and > building with any gcc version on a clean checkout). Removing the 308-mips32r2_tune.patch patch i

[PATCH] ath79: replace custom uImageArcher generation

2020-06-28 Thread David Bauer
The replaces the custom uImageArcher build step with the generic uImage build step. The only different between these two is the difference in the generated name. Tested on: TP-Link Archer C59 v1 Signed-off-by: David Bauer --- target/linux/ath79/image/common-tp-link.mk | 10 +- 1 file

Re: [PATCH] kernel: Fix ath79 DSP exception at bootup

2020-07-03 Thread David Bauer
Hello Hauke On 7/3/20 12:54 AM, Hauke Mehrtens wrote: > This resolves a hazard between a mtc0 and a mfc0 instruction after > activating the DSP support. Without this fix the CPU could use the old > value again and the DSP support would not be active. Many thanks! Tested-by: Da

[PATCH] mac80211: create channel list for fixed channel operation

2020-07-04 Thread David Bauer
evice does not operate in auto-channel mode and no chanlist set to circumvent this issue. Signed-off-by: David Bauer --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac8

[PATCH] hostapd: enter DFS state if no available channel is found

2020-07-04 Thread David Bauer
-state-if-no-available-channel-is-found.patch @@ -0,0 +1,37 @@ +From cefc52e6b93731c713f1bba1cb5e7e92105b758b Mon Sep 17 00:00:00 2001 +From: David Bauer +Date: Fri, 3 Jul 2020 23:00:34 +0200 +Subject: [PATCH] dfs: enter DFS state if no available channel is found + +Previously hostapd would not stop

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-05 Thread David Bauer
Hi all, On 4/2/20 9:53 PM, David Bauer wrote: As the reported major bugs are ironed out, switch to the new kernel to begin testing with a broader audience. As the DSP exception is now sorted out we should be good to go here. Any objections on applying this patch left? Best wishes David

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-05 Thread David Bauer
Hi Daniel, On 7/5/20 10:50 PM, Daniel Golle wrote: > I suggest to completely remove KERNEL_TESTING_PATCHVER instead of > setting it to the same version as KERNEL_PATCHVER. As most targets have it included, I've decided to specifically keep it. Best wishes David _

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-05 Thread David Bauer
Hi Daniel On 7/6/20 1:03 AM, Daniel Golle wrote: > Hi David, > > On Mon, Jul 06, 2020 at 12:37:06AM +0200, David Bauer wrote: >> Hi Daniel, >> >> On 7/5/20 10:50 PM, Daniel Golle wrote: >>> I suggest to completely remove KERNEL_TESTING_PATCHVER instead of &

[PATCH] build: conditionally enable testing-kernel feature

2020-07-06 Thread David Bauer
Only enable the testing-kernel feature for the target when the testing kernel version does not match the stable kernel version. This way, the option for building the testing kernel in the build config menu is only exposed when there's a testing kernel available. Signed-off-by: David

Re: [OpenWrt-Devel] [PATCH] ath79: switch to kernel 5.4

2020-07-06 Thread David Bauer
Hi Adrian, On 7/6/20 10:46 AM, m...@adrianschmutzler.de wrote: > I also was a fan of keeping KERNEL_TESTING_PATCHVER recently, as this > adding-and-removing-again seemed a bit unnecessary to me. However, your > argument about menuconfig is valid. > > I just wonder whether we, alternatively, cou

Re: [RFC PATCH 4/7] ath79: prepare for 1-port TP-Link EAP2x5 devices

2020-07-18 Thread David Bauer
Hi Sander, On 7/17/20 1:37 PM, Sander Vanheule wrote: > TP-Link has developed a number of access points based on the AP152 > reference board. In the EAP-series of 802.11ac access points, this > includes the following devices with one ethernet port: > * EAP225 v1/v2 > * EAP225 v3 > * EAP225-Outdoor

Re: [RFC PATCH 4/7] ath79: prepare for 1-port TP-Link EAP2x5 devices

2020-07-19 Thread David Bauer
Hello Sander, On 7/18/20 10:40 PM, Sander Vanheule wrote: > Hi David, > > On Sat, 2020-07-18 at 21:45 +0200, David Bauer wrote: >>> + gmac-config { >>> + device = <&gmac>; >>> + >>> + rgmii-ge0 = <1>; >

[PATCH 1/2] hostapd: fix incorrect service name

2020-07-20 Thread David Bauer
service name retrieves the correct PID and therefore the warning won't occur. Signed-off-by: David Bauer --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +- package/network/services/hostapd/files/hostapd.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)

[PATCH 2/2] mac80211: don't kill wireless daemon on teardown

2020-07-20 Thread David Bauer
Don't kill the wireless daemon on teardown. hostapd as well as wpa_supplicant are managed by procd which would detect the shutdown of either process as a crash loop. Signed-off-by: David Bauer --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 -- 1 file changed, 2 dele

[PATCH] ramips: increase SPI frequency for MT7620 Archer

2020-07-21 Thread David Bauer
/test.bin bs=64k 122+0 records in 122+0 records out real0m 5.99s user0m 0.00s sys 0m 5.98s Signed-off-by: David Bauer --- target/linux/ramips/dts/mt7620a_tplink_archer-c2-v1.dts | 2 +- target/linux/ramips/dts/mt7620a_tplink_archer-mr200.dts | 2 +- target/linux/ramips/dts

[PATCH] ramips: switch MT7620 subtarget to 5.4

2020-07-21 Thread David Bauer
MT7620 seems to work fine with kernel 5.4. Set the default kernel version to 5.4 to bring this to a broader audience. Tested on Archer C2 v1 / Archer C20i Signed-off-by: David Bauer --- target/linux/ramips/mt7620/target.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux

Re: [RFC PATCH v2 1/6] ath79: ensure QCA956x gmac0 mux selects sgmii

2020-07-22 Thread David Bauer
node to ensure the mux is configured correctly. Signed-off-by: Sander Vanheule Cc: David Bauer --- .../net/ethernet/atheros/ag71xx/ag71xx_main.c | 38 +++ 1 file changed, 38 insertions(+) diff --git a/target/linux/ath79/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c

Re: [PATCH] ramips: increase SPI frequency for MT7620 Archer

2020-07-22 Thread David Bauer
Hello Adrian, On 7/22/20 11:29 AM, m...@adrianschmutzler.de wrote: -Original Message- From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] On Behalf Of David Bauer Sent: Dienstag, 21. Juli 2020 23:40 To: openwrt-devel@lists.openwrt.org Subject: [PATCH] ramips: increase

[PATCH] base-files: disable LEDs if default state is undefined

2020-08-01 Thread David Bauer
e 'default' option to 0 and it's set for the LED indicating the system running state. Using off as a default value is also consistent with the documentation in the OpenWrt wiki. Signed-off-by: David Bauer --- package/base-files/files/etc/init.d/led | 2 +- 1 file changed, 1 insertio

Re: image size on 20.xx builds

2020-08-02 Thread David Bauer
Hi Bjoern, On 8/2/20 7:23 PM, Bjoern Franke wrote: > Hi, > > I'm trying to create an image for an Archer C50v1 (mt7620). > > Tryin to build an image with the following packages[1] using the imagebuilder > was impossible because the image got too big: > Building images... > Parallel mksquashfs:

Re: ath5k_pci always selected?

2020-08-21 Thread David Bauer
Hello Adrian, On 8/21/20 3:56 PM, Adrian Schmutzler wrote: Hi, when working on the kernel 4.14 target removal, I found the following block in package/kernel/mac80211/ath.mk: config-$(call config_package,ath5k) += ATH5K ifdef CONFIG_TARGET_ath25 config-y += ATH5K_AHB else config-y += ATH

[PATCH] zones: fix max length of zone names

2020-09-03 Thread David Bauer
Previously the max length of a zone name was assuming the max length for a extension in netfilter is 32 bytes while in reality it is only 29. Fix this incorrect assumption to allow firewall3 to validate the zone name lengths correctly. Signed-off-by: David Bauer --- zones.h | 8 ++-- 1

Re: [PATCH] zones: fix max length of zone names

2020-09-04 Thread David Bauer
t; Best regards, > Alexey > > пт, 4 сент. 2020 г. в 02:02, David Bauer : >> >> Previously the max length of a zone name was assuming the max >> length for a extension in netfilter is 32 bytes while in reality it is >> only 29. >> >> Fix this incorrec

[PATCH] hostapd: add support for per-BSS airtime configuration

2020-09-05 Thread David Bauer
information on the inner workings of the exposed settings. Signed-off-by: David Bauer --- package/network/services/hostapd/Makefile| 2 +- .../services/hostapd/files/hostapd-full.config | 2 +- package/network/services/hostapd/files/hostapd.sh| 12 ++-- 3 files

Re: [PATCH] zones: fix max length of zone names

2020-09-05 Thread David Bauer
Hi Matthias, On 9/5/20 4:08 PM, Matthias Schiffer wrote: > On 9/5/20 1:11 AM, David Bauer wrote: >> Hi Alexey, >> >> On 9/4/20 10:32 PM, Alexey Dobrovolskiy wrote: >>> Hi, >>> please, see also >>> https://patchwork.ozlabs.org/project/open

Re: [PATCH] zones: fix max length of zone names

2020-09-05 Thread David Bauer
Hello Matthias, On 9/5/20 4:45 PM, Matthias Schiffer wrote: > On 9/5/20 4:32 PM, David Bauer wrote: >> Hi Matthias, >> >> On 9/5/20 4:08 PM, Matthias Schiffer wrote: >>> On 9/5/20 1:11 AM, David Bauer wrote: >>>> Hi Alexey, >>>> >&g

[PATCH] ipq40xx: essedma: enable VLAN tag offload for single-port

2020-09-08 Thread David Bauer
the TX side, tagging was completely not present for single-port devices. Enable tagging if an 802.1Q frame should be transmitted and disable the default tagging mechanism for single-port devices. Tested on Aruba AP-303 Signed-off-by: David Bauer --- .../drivers/net/ethernet/qualcomm/essedma

[PATCH] ath79: add support for Ubiquiti UniFi AP Pro

2020-09-14 Thread David Bauer
gned-off-by: David Bauer --- .../ath79/dts/ar9344_ubnt_unifi-ap-pro.dts| 153 ++ .../generic/base-files/etc/board.d/02_network | 4 + .../etc/hotplug.d/firmware/10-ath9k-eeprom| 1 + target/linux/ath79/image/generic-ubnt.mk | 25 +++ 4 files changed, 183 insert

Re: [PATCH] ath79: add support for Ubiquiti UniFi AP Pro

2020-09-16 Thread David Bauer
Hi Rafal, On 9/16/20 7:03 AM, Rafał Miłecki wrote: > On Mon, 14 Sep 2020 at 14:22, David Bauer wrote: >> + firmware-partition@5 { >> + label = "firmware"; >> +

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-16 Thread David Bauer
Hi, On 9/16/20 11:40 AM, Adrian Schmutzler wrote: >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of Sven Roederer >> Sent: Mittwoch, 16. September 2020 09:17 >> To: openwrt-devel@lists.openwrt.org >> Subject: ath79: move 8/32 boar

Re: ath79: move 8/32 boards to tiny subtarget

2020-09-18 Thread David Bauer
Hello Sven, On 9/18/20 1:27 AM, Sven Roederer wrote: > Adrian, David, > > Am Mittwoch, 16. September 2020, 16:15:42 CEST schrieb David Bauer: >> Hi, >> >> On 9/16/20 11:40 AM, Adrian Schmutzler wrote: >>>> -Original Message- >>>

[PATCH] hostapd: send ubus event on BSS update

2020-09-18 Thread David Bauer
hostapd will emit a ubus event with the eventname hostapd.. when adding, removing or reloading a BSS. This way, services which install state (for example the RMM neighbor list) can on-demand reinstall this information for the BSS without polling this state. Signed-off-by: David Bauer

Re: [PATCH] hostapd: Add cell_density data rates option

2020-10-07 Thread David Bauer
Hi Nick, On 10/2/20 5:26 PM, Nick Lowe wrote: > Hi all, > > Please may I request any thoughts and feedback on this proposed patch > to the hostapd config generation shell script to add a new > cell_density configuration option? > > This would subsequently allow for a LuCI-exposed option to then

Re: [PATCH] hostapd: Add cell_density data rates option

2020-10-13 Thread David Bauer
Hello Nick, sorry, i was quite busy the last days. On 10/8/20 10:24 AM, Nick Lowe wrote: > Thank you very much for the review. Do you think this specific patch > could be merged in its present state? If yes, please could you do so? I've merged your commit to my staging tree and will push it in a

[PATCH 1/2] mac80211: pass phy name to hostapd_set_bss_options

2020-10-19 Thread David Bauer
support when configuring the BSS. Signed-off-by: David Bauer --- package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib

[PATCH 2/2] hostapd: add FTM responder support

2020-10-19 Thread David Bauer
with 3.2.1.1 firmware). There's currently no softmac implementation. Also allow to configure LCI and civic location information which can be transmitted to a FTM initiator. Signed-off-by: David Bauer --- package/network/services/hostapd/files/hostapd.sh | 13 + 1 file change

[PATCH] hostapd: add interworking support

2020-10-20 Thread David Bauer
consortium - iw_anqp_elem - iw_nai_realm - iw_domain_name - iw_anqp_3gpp_cell_net Signed-off-by: David Bauer --- .../hostapd/files/hostapd-full.config | 2 +- .../network/services/hostapd/files/hostapd.sh | 78 +++ 2 files changed, 79 insertions(+), 1 deletion(-) diff --git

[PATCH 1/2] hostapd: make rrm report independent of ieee80211k setting

2020-10-20 Thread David Bauer
Allow to configure both RRM beacon as well as neighbor reports independently and only enable them by default in case the ieee80211k config option is set. Signed-off-by: David Bauer --- package/network/services/hostapd/files/hostapd.sh | 9 - 1 file changed, 4 insertions(+), 5 deletions

[PATCH 2/2] hostapd: remove ieee80211v option

2020-10-20 Thread David Bauer
s not influence the behavior of any already configured setting. Signed-off-by: David Bauer --- .../network/services/hostapd/files/hostapd.sh | 20 ++- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/ne

Re: [PATCH] hostapd: Add cell_density data rates option

2020-10-25 Thread David Bauer
Hi Nick, see my inline comment On 10/19/20 1:56 AM, Nick Lowe wrote: > .../network/services/hostapd/files/hostapd.sh | 70 +++ > 1 file changed, 57 insertions(+), 13 deletions(-) > > diff --git a/package/network/services/hostapd/files/hostapd.sh > b/package/network/services/hos

[PATCH] ipq40xx: enable RX hash / CTAG TX offloading for single-phy

2020-10-27 Thread David Bauer
eported-by: Jannis Pinter Signed-off-by: David Bauer --- .../drivers/net/ethernet/qualcomm/essedma/edma_axi.c | 9 + 1 file changed, 9 insertions(+) diff --git a/target/linux/ipq40xx/files/drivers/net/ethernet/qualcomm/essedma/edma_axi.c b/target/linux/ipq40xx/files/drivers/net/etherne

[PATCH] mac80211: always use mac80211 loss detection

2023-05-18 Thread David Bauer
ath10k's own loss detection mechanism. Signed-off-by: David Bauer --- ...1-always-use-mac80211-loss-detection.patch | 33 +++ 1 file changed, 33 insertions(+) create mode 100644 package/kernel/mac80211/patches/subsys/340-mac80211-always-use-mac80211-loss-detection.patch

Re: [PATCH] mac80211: always use mac80211 loss detection

2023-06-23 Thread David Bauer
Hi Felix, On 6/23/23 08:55, Felix Fietkau wrote: On 18.05.23 11:19, David Bauer wrote: ath10k does not report excessive loss in case of broken block-ack sessions. The loss is communicated to the host-os, but ath10k does not trigger a low-ack events by itself. The mac80211 framework for loss

Re: [PATCH] mac80211: always use mac80211 loss detection

2023-06-23 Thread David Bauer
Hi Felix, On 6/23/23 12:47, Felix Fietkau wrote: On 23.06.23 12:29, David Bauer wrote: Hi Felix, On 6/23/23 08:55, Felix Fietkau wrote: On 18.05.23 11:19, David Bauer wrote: ath10k does not report excessive loss in case of broken block-ack sessions. The loss is communicated to the host-os

[PATCH uqmi 1/3] uim: add application state to SIM status

2023-10-10 Thread David Bauer
Parse the card application state and report it to the SIM card status output object. This is required to detect a card application which is in the failed (illegal) state. Signed-off-by: David Bauer --- commands-uim.c | 17 + 1 file changed, 17 insertions(+) diff --git a

[PATCH uqmi 2/3] uim: support SIM card power-up/down

2023-10-10 Thread David Bauer
Support the power-up and power-down commands for the modem's SIM card. This allows to reset the SIM card and recover it from an illegal card application state. Signed-off-by: David Bauer --- commands-uim.c | 52 ++ commands-uim.h | 9 +++

[PATCH uqmi 3/3] wds: allow profile reconfiguration

2023-10-10 Thread David Bauer
default settings. This can be worked around by configuring the APN and PDP type to profile slot 1 and subsequently enabling the data connection. Signed-off-by: David Bauer --- commands-wds.c | 96 ++ commands-wds.h | 9 + 2 files changed, 105

Re: [PATCH uqmi 3/3] wds: allow profile reconfiguration

2023-10-11 Thread David Bauer
-profile --modify-profile Your patch looks better, I'll strip patch 3 from my series and instead apply yours. Best David /Henrik Den tis 10 okt. 2023 kl 16:07 skrev David Bauer : Extend uqmi so it can modify connection profiles stored on the modem. This is required in case the operator disa

Re: Adding a new x86 image or related packages to the default x86 image

2023-11-14 Thread David Bauer
Hi Daniel, Hi Petr, On 11/13/23 21:49, Daniel Golle wrote: On Mon, Nov 13, 2023 at 07:54:34PM +, Petr Štetiar wrote: Paul Spooren [2023-11-13 13:30:10]: Hi, How about we follow the approach of Alpine Linux[1] and offer a standard, an extended and a virtual firmware for the x86/64 targe

Re: OpenWrt One - celebrating 20 years of OpenWrt

2024-01-17 Thread David Bauer
Hi John, On 1/9/24 11:49, John Crispin wrote: FAQ * Why are there are 2 different flash chips? - the idea is to make the device (almost!) unbrickable and very easy to recover - NAND will hold the main loader (U-Boot) and the Linux image and will be the default boot device - NOR will be write-p

Re: Future of the broadcom-wl package?

2024-01-26 Thread David Bauer
Hi Felix, On 1/26/24 18:45, Felix Fietkau wrote: Hi, does anybody still care about the broadcom-wl package in OpenWrt? I think it would be nice if we could get rid of it, along with the code support and abstraction for different wireless drivers. It would also allow us to rewrite iwinfo in uco

<    1   2   3   4   5   >