Re: [RFC PATCH] hostapd: Add support for APuP

2024-05-21 Thread David Bauer
Hi Gio, thanks for sending this patch to the mailinglist. We've talked at last WCW in Berlin (If i don't mistake you for something else). I gave the patch a test-run yesterday with two MT7915 and radios and I've observed two issues: 1. Neither the 2.4 nor 5 GHz radios enable 802.11ax

Re: OpenWrt Summit 2024 & Battlemesh v16 Announcement

2024-04-11 Thread David Bauer via openwrt-devel
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi John, can you share which

Re: [VOTE] New member proposal: Robimarko (Robert Marko)

2024-02-05 Thread David Bauer
Yes please. - David On 1/30/24 19:15, Christian Marangi (Ansuel) wrote: Robert is active in OpenWrt since 2017 and with some recent stats, he has more than 310 commits merged in OpenWrt. He also have uncounted Reviewed-by tag on various PR and merged commits and generally helps in everything

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

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

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

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 disallows

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

2023-10-10 Thread David Bauer
with the 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

[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 - 2

[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

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

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

[PATCH] mac80211: always use mac80211 loss detection

2023-05-18 Thread David Bauer
of 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 diff

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: + { + status = "okay"; + + label = "lan1"; +}; + Should be lan without the index. Best

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: [...] +_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

[PATCH 2/3] ramips: combine USW-Flex 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 kernel partition in the future. Signed-off-by: David Bauer --- target/linux/ramips/dts/mt7621_ubnt_usw-flex.dts | 8 ++-- target/linux/ramips/image/mt7621.mk

[PATCH 3/3] ath79: combine UniFi AC 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 kernel partition in the future. Signed-off-by: David Bauer --- target/linux/ath79/dts/qca9563_ubnt_unifiac.dtsi | 9 ++--- target/linux/ath79/image/generic-ubnt.mk

[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_koala.dts

Re: [PATCH] sunxi: ensure NanoPi R1 has unique MAC address

2022-12-22 Thread David Bauer
Hi Jan-Niklas, On 12/22/22 21:12, Jan-Niklas Burfeind wrote: +generate_mac_from_mmc_cid() +{ + local mmc_dev=$1 + + local sd_hash=$(sha256sum/sys/class/block/$mmc_dev/device/cid) + local mac_base=$(macaddr_canonicalize "$(echo "${sd_hash}" | dd bs=1 count=12 2>/dev/null)") +

Re: [PATCH] ramips: fix Unifi 6 Lite boot failure with v5.15 kernels

2022-11-07 Thread David Bauer
Hi Bjorn, On 11/7/22 13:57, Bjørn Mork wrote: Jonas Gorski writes: On Sun, 6 Nov 2022 at 12:50, Bjørn Mork wrote: Jonas Gorski writes: An option is also to set a load address for the dtb in the FIT image, then U-Boot will relocate it before passing it to the kernel. Yes, that is worth

Re: [PATCH] ramips: fix Unifi 6 Lite boot failure with v5.15 kernels

2022-11-05 Thread David Bauer
Hi Bjorn, On 11/4/22 09:29, Bjørn Mork wrote: You are right that the bootloader must be fixed. But the vendor isn't likely to do that as long as they run older kernels. I believe the OpenWrt policy in such cases is to try to work around the issue. Replacing the vendor bootloader is a last

Re: [PATCH 2/4] hostapd: enable MBO if 802.11ax is enabled

2022-06-24 Thread David Bauer
Hi Stijn, On 6/24/22 15:05, Stijn Tintel wrote: On 23/06/2022 00:47, David Bauer wrote: Hi Stijn, On 6/21/22 15:36, Stijn Tintel wrote: Multi Band Operation is required for 802.11ax certification, so let's enable it if 802.11ax support is enabled. I'd suggest we enable it for the -full

Re: [PATCH 2/4] hostapd: enable MBO if 802.11ax is enabled

2022-06-22 Thread David Bauer
Hi Stijn, On 6/21/22 15:36, Stijn Tintel wrote: Multi Band Operation is required for 802.11ax certification, so let's enable it if 802.11ax support is enabled. I'd suggest we enable it for the -full build variants unconditionally. Best David Signed-off-by: Stijn Tintel ---

[PATCH 3/3] hostapd: ubus: add bss-color to get_status

2022-06-06 Thread David Bauer
Add the current BSS color to hostapd get_status method. This field is set to -1 in case BSS color is not active for the BSS. Signed-off-by: David Bauer --- package/network/services/hostapd/src/src/ap/ubus.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/package/network/services

[PATCH 1/3] hostapd: update to 2022-05-08

2022-06-06 Thread David Bauer
Update hostapd to Git HEAD from 2022-05-08. This allows us to take advantage of background radar-detection ad well as BSS color collision. Suggested-by: Lorenzo Bianconi Signed-off-by: David Bauer --- package/network/services/hostapd/Makefile | 6 +- .../hostapd/files/wpa_supplicant

[PATCH 2/3] hostapd: randomize default BSS color

2022-06-06 Thread David Bauer
In case no specific BSS color is configured, set it to a random value. Signed-off-by: David Bauer --- .../files/lib/netifd/wireless/mac80211.sh | 4 +++- ...tapd-config-support-random-BSS-color.patch | 24 +++ ...750-qos_map_set_without_interworking.patch | 2 +- 3 files

Re: [PATCH] usteer: Fix better candidate not being set in policy

2022-05-17 Thread David Bauer
Hi, On 5/17/22 14:12, Wojciech Dubowik wrote: The candidate is never set in this loop. Fix it by setting it to the first valid entry. Applied to master. Thanks! Best David Signed-off-by: Wojciech Dubowik --- policy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] hostapd: fallback to psk when generating r0kh/r1kh

2022-02-18 Thread David Bauer
Hi Eneas, On 1/7/22 21:19, Eneas U de Queiroz wrote: The 80211r r0kh and r1kh defaults are generated from the md5sum of "$mobility_domain/$auth_secret". auth_secret is only set when using EAP authentication, but the default key is used for SAE/PSK as well. In this case, auth_secret is empty,

Re: [PATCH 2/2] hostapd: refresh patches

2022-02-07 Thread David Bauer
Hi Stijn, On 2/7/22 20:48, Stijn Tintel wrote: On 17/01/2022 21:57, David Bauer wrote: Refresh patches after updating to hostapd v2.10. We usually combine bump and patch refresh in the same commit. I don't like doing it in this case, as it makes the delta of patches / their content harder

[PATCH 2/2] hostapd: refresh patches

2022-01-17 Thread David Bauer
Refresh patches after updating to hostapd v2.10. Signed-off-by: David Bauer --- .../001-wolfssl-init-RNG-with-ECC-key.patch | 6 ++-- ...erministic-channel-on-channel-switch.patch | 6 ++-- ...ix-sta-add-after-previous-connection.patch | 4 +-- ...ewrite-neigh-code-to-not-depend-on-l.patch

[PATCH 1/2] hostapd: update to v2.10

2022-01-17 Thread David Bauer
-compilation-with-Hotspot-2.0-disabled.patch 08bdf4f90de61a84ed8f4dd918272dd9d36e2e1f Compile-tested: wpad-wolfssl hostapd-openssl Run-tested: ath79-generic Signed-off-by: David Bauer --- package/network/services/hostapd/Makefile | 6 +- ...hannels-to-be-selected-if-dfs-is-ena.patch | 60

Re: Switch issues and CI to GitHub

2022-01-09 Thread David Bauer
Hi Hauke, On 1/9/22 17:55, Hauke Mehrtens wrote: The criteria from gnu.org are irrelevant to me and I agree with Rosen and Bjørn on that topic. I would prefer a vote like this, this is just an example not the official vote: - Migrate bug reporting from bugs.openwrt.org to

Re: Macronix Flash-Chip Block Protection Clearing 5.10er

2021-12-25 Thread David Bauer
Hi Nick, On 12/25/21 16:49, Nick wrote: The flash-chip mx25l6405d that is contained in the Ubiquity Nanostation M5 (XM) is not able to write to the flash with kernel 5.10. Probably, caused by invalid block protection clearing. For example the logread contains a lot of those messages:    

Re: P2812HNUF3

2021-12-09 Thread David Bauer
Hi Ivar, Hi Daniel, On 12/9/21 23:12, Daniel Golle wrote: Hi Ivar, On Thu, Dec 09, 2021 at 10:14:22PM +0100, Ivar Orskaug wrote: Hi, P2812HNUF3 is currently broken in main because of the kernel 5.10 increase in size. This patch increases the kernel flash partition to 3072k, aligning with

Re: [PATCH] FritzBox-4040-UBOOT: Allow for easier devices recovery

2021-11-23 Thread David Bauer
and sideloading via EVA. So a network request for a boot image raises more problems than it tries to solve. Best David Signed-off-by: Enrico Mioso CC: Christian Lamparter CC: David Bauer --- Reasons for this patch: 1 - There are situations where it can be nice to recover a device without the AVM

Re: hostapd: ubus inteface crashes hostapd?

2021-10-21 Thread David Bauer
Hi Nick, On 10/21/21 11:31, Nick wrote: Is someone massively utilizing the ubus interface from hostapd? I'm doing this with dawn and I saw that blocktrron already fixed some infinity loop. However, currently DAWN is crashing the hostapd. I make extensive use of the get_clients, all

[PATCH] hostapd: ubus: add BSS transtiton request method

2021-10-06 Thread David Bauer
) will be invalid neighbors: blob-array - Array of strings containing neighbor reports as hex-string Signed-off-by: David Bauer --- .../services/hostapd/src/src/ap/ubus.c| 152 +- 1 file changed, 112 insertions(+), 40 deletions(-) diff --git a/package/network

[PATCH] hostapd: ubus: add notification for BSS transition response

2021-10-06 Thread David Bauer
To allow steering daemons to be aware of the STA-decided transition target, publish WNM transition responses to ubus. This way, steerings daemons can learn about STA-chosen targets and send a better selection of transition candidates. Signed-off-by: David Bauer --- .../hostapd/patches/600

[PATCH usteer] policy: avoid creating kick loop for client

2021-10-04 Thread David Bauer
after association. In the worst scenario the client immediatly associates again to the station and ends up in a kick loop. Don't allow associating when a min_snr is configured and the client signal is below this value. Signed-off-by: David Bauer --- policy.c | 18 -- 1 file changed

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-09-26 Thread David Bauer
Hi John, On 9/26/21 14:31, John Crispin wrote: On 26.09.21 13:34, David Bauer wrote: That being set, the goal of poemgr is not to replace the other efforts. I'm sorry if I caused this impression. it did not replace anything. I am fully with you on this one, realtek-poe took the same

Re: [PATCH] ath79/ag71xx: rearrange ag71xx structs to remove holes

2021-09-26 Thread David Bauer
Hi Rui, Hi Rosen, On 9/19/21 12:38, Rui Salvaterra wrote: The ag71xx_ring changes are already part of the upstream driver. However, since we're not using it at all yet, let's apply this to our driver for the time being, as David explicitly requests performance numbers before applying it

Re: [PATCH] realtek-poe: add support for PoE on Realtek switches

2021-09-26 Thread David Bauer
Hi Bjorn, Hi John, On 9/26/21 10:43, Bjørn Mork wrote: John Crispin writes: poemgr does not use the APIs provided by libubox so I doubt that this will land in the tree. It's going through the packages repo according to

[PATCH usteer] usteer: add support for IPv6 remote exchange

2021-09-07 Thread David Bauer
. Signed-off-by: Jan Braun [squash commits - adapt usock usage] Signed-off-by: David Bauer --- main.c | 1 - openwrt/usteer/files/etc/config/usteer | 3 + openwrt/usteer/files/etc/init.d/usteer | 1 + remote.c | 172

Re: Broken ARP broadcast on master (commit 0f688797)

2021-09-06 Thread David Bauer
Hi Felix, On 9/6/21 2:18 PM, Felix Fietkau wrote: > >> On 6. Sep 2021, at 02:03, David Bauer wrote: >> >> Hi Felix, >> >> updating my Wireless APs (ath9k+ath10k / mt7603+mt7915) broke ARP broadcast >> delivery to clients >> connected to the

Broken ARP broadcast on master (commit 0f688797)

2021-09-05 Thread David Bauer
Hi Felix, updating my Wireless APs (ath9k+ath10k / mt7603+mt7915) broke ARP broadcast delivery to clients connected to the radios with SW rate control. Bisecting this problem revealed commit 0f688797 ("mac80211: add missing change for encap offload on devices with sw rate control") introduces

Re: [PATCH v2] ath79: add support for onion omega

2021-08-14 Thread David Bauer
Hi Jan, looks pretty solid to me. On 8/14/21 2:33 PM, Jan-Niklas Burfeind wrote: ... > +define Device/onion_omega > + $(Device/tplink-16mlzma) > + SOC := ar9331 > + DEVICE_VENDOR := Onion > + DEVICE_MODEL := Omega > + DEVICE_PACKAGES := kmod-usb-core kmod-usb2 AR9331 uses a different

Re: [PATCH] ath79: add support for onion omega

2021-08-12 Thread David Bauer
Hi Jan-Niklas, On 8/11/21 6:54 PM, Jan-Niklas Burfeind wrote: > The Onion Omega is a hardware development platform with built-in WiFi. > > https://onioniot.github.io/wiki/ > > Specifications: > - QCA9331 @ 400 MHz (MIPS 24Kc Big-Endian Processor) > - 64MB of DDR2 RAM running at 400 MHz > -

[PATCH] generic: Kconfig: exit on unset symbol

2021-08-04 Thread David Bauer
configuration in a way it fails on unset symbols regardless of the aformentioned preconditions. Signed-off-by: David Bauer --- include/kernel-build.mk | 1 + target/linux/generic/hack-5.10/205-kconfig-exit.patch | 11 +++ target/linux/generic/hack-5.4/205

Re: [PATCH] uqmi: Move to community packages repo

2021-07-01 Thread David Bauer
[resend, as I've missed to keep the list CC'ed] Hi Arjun On 7/1/21 9:50 PM, Arjun AK wrote: Signed-off-by: Arjun AK Describing the rationale of this change would've been nice. This package is used on most boards with a cellular modem to provide ootb internet capability, so please explain

[PATCH] ath79: resolve GPIO address conflicts

2021-06-30 Thread David Bauer
olve these cases and align the address space of the GPIO controller between all SoCs, as the used address space of the driver is identical for all these. Signed-off-by: David Bauer --- target/linux/ath79/dts/ar7100.dtsi | 2 +- target/linux/ath79/dts/ar724x.dtsi | 2 +- target/linux/ath79/dts/ar9132.dtsi

Re: [OpenWrt-Devel] mt76x8: Onion Omega2+ reboot problem [Was: mt76x8: Strange GPIO numbering on Onion Omega2+]

2021-06-13 Thread David Bauer
Hi Lukas, On 6/13/21 11:43 AM, Lukas Zeller wrote: > But I was curious to learn what the feature does, and had a look at spi-nor.c > (spi_nor/core.c). If I haven't misread the code, it restores the addressing > mode to 3 byte at shutdown. This means an orderly reboot will work, but a >

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-12 Thread David Bauer
Hi John, On 6/12/21 12:51 AM, John Thomson wrote: On Fri, 11 Jun 2021, at 08:10, David Bauer wrote: Can you be more precise in terms of which issues are you facing? The PHY capabilities on the AR8333 now read 1000B-X as a supported link mode, so fiber operation should be possible. Can you

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-11 Thread David Bauer
Hi, On 6/11/21 8:08 AM, DENG Qingfang wrote: > Hi David, > > Unfortunately, the issue is still not resolved, according to Minqiang. > Reverting your 2 commits and applying my patch fixes the issue. Can you be more precise in terms of which issues are you facing? The PHY capabilities on the

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-04 Thread David Bauer
Hi, On 6/4/21 10:57 AM, DENG Qingfang wrote: > Hi, > > On Fri, Jun 4, 2021 at 3:37 PM David Bauer wrote: >> As the original patch still has to be backported to 21.02, I'd propose >> to remove my hacks and instead properly backport c329e5af and 8f7e8762 >> from upstre

Re: [PATCH v2] ramips: fix at803x patch again

2021-06-04 Thread David Bauer
Hi, On 6/4/21 7:12 AM, DENG Qingfang wrote: > Commit 8222f8e1b9be overrides AR8031's PHY features, making its SFP > link status detection unavailable. To fix that, do not override it in > ramips patch. As the original patch still has to be backported to 21.02, I'd propose to remove my hacks and

Re: [PATCH] ipq806x: fix LAN and WAN port assignments on TP-Link AD7200

2021-06-03 Thread David Bauer
Hi Alex, On 6/3/21 8:18 AM, Alex Henrie wrote: > LAN port 4 was swapped with the WAN port and the remaining three LAN > ports were numbered in reverse order from their labels on the case. > > Fixes: 1a775a4fd033 ("ipq806x: add support for TP-Link Talon AD7200") > Signed-off-by: Alex Henrie >

Re: [PATCH 2/2] ethtool: add optional netlink support

2021-05-26 Thread David Bauer
Hi Robert, On 5/16/21 6:01 PM, Robert Marko wrote: > Netlink support is required for stuff like cable testing, > so offer it as an option. > > Signed-off-by: Robert Marko > --- > package/network/utils/ethtool/Makefile | 11 ++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >

[PATCH 2/2] hostapd: wolfssl: add RNG to EC key

2021-05-18 Thread David Bauer
Since upstream commit 6467de5a8840 ("Randomize z ordinates in scalar mult when timing resistant") WolfSSL requires a RNG for the EC key when built hardened which is the default. Set the RNG for the EC key to fix connections for OWE clients. Signed-off-by: David Bauer --- packa

[PATCH 0/2] Fix OWE mode with hostapd-wolfssl

2021-05-18 Thread David Bauer
key and WolfSSL to export the interface regardless of the build settings. David Bauer (2): wolfssl: always export wc_ecc_set_rng hostapd: wolfssl: add RNG to EC key package/libs/wolfssl/Makefile | 2 +- .../libs/wolfssl/patches/200-ecc-rng.patch| 50

[PATCH 1/2] wolfssl: always export wc_ecc_set_rng

2021-05-18 Thread David Bauer
ss whether or not wolfssl is compiled hardened. Always export wc_ecc_set_rng so tools such as hostapd can install RNG regardless of the built settings for wolfssl. Signed-off-by: David Bauer --- package/libs/wolfssl/Makefile | 2 +- .../libs/wolfssl/patches/200-ecc-rng.pat

Re: [RFC PATCH] mac80211: use auto channel list by default

2021-05-02 Thread David Bauer
Hi Hauke, On 5/3/21 12:23 AM, Hauke Mehrtens wrote: > This change removes setting the channels property by default to the > channel property if nothing else is specified. > > When hostapd detects a DFS alarm and it has to switch channels allow > hostapd to switch to any channel in the frequency

Re: [PATCH rpcd] iwinfo: add 802.11ax HE support

2021-04-28 Thread David Bauer
Hi, On 4/28/21 1:18 PM, Etienne Champetier wrote: > Hi David, > > Le mer. 28 avr. 2021 à 07:07, David Bauer a écrit : >> >> Expose 802.11ax HE rate as well as HW / HT mode information. This is >> required to add 802.11ax support to LuCI. >> >> Signed-o

[PATCH rpcd] iwinfo: add 802.11ax HE support

2021-04-28 Thread David Bauer
Expose 802.11ax HE rate as well as HW / HT mode information. This is required to add 802.11ax support to LuCI. Signed-off-by: David Bauer --- iwinfo.c | 45 + 1 file changed, 45 insertions(+) diff --git a/iwinfo.c b/iwinfo.c index 63ff2a1..6b376c4

[PATCH] iwinfo: add 802.11ax HE rate information

2021-04-27 Thread David Bauer
This adds 802.11ax HE specific rate information to iwinfo. Add fields for HE status of a STA as well as DCM and guard interval fields specific to HE operation. Signed-off-by: David Bauer --- api/nl80211.h| 12 include/iwinfo.h | 3 +++ iwinfo_cli.c | 14

[PATCH 1/2] iwinfo: nl80211: perform split wiphy dump

2021-04-20 Thread David Bauer
Perform a split wiphy dump when acquiring the hw modelist of a mac80211 device. Otherwise HE capabilities are missing from the message. This is necessary since upstream commit f8d504caa ("nl80211: reduce non-split wiphy dump size") (Kernel 5.9). Signed-off-by: David Bauer --- iwinfo

[PATCH 2/2] iwinfo: cli: fix hwmode formatting

2021-04-20 Thread David Bauer
The placeholder for the 802.11ax hwmode was missing. Signed-off-by: David Bauer --- iwinfo_cli.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iwinfo_cli.c b/iwinfo_cli.c index ee5a0e2..82b409c 100644 --- a/iwinfo_cli.c +++ b/iwinfo_cli.c @@ -274,12 +274,12 @@ static

Re: [PATCH] ath79: drop cs-gpios property

2021-04-16 Thread David Bauer
Hi, On 4/16/21 4:12 AM, Chuanhong Guo wrote: > Hi! > > On Fri, Apr 16, 2021 at 4:43 AM David Bauer wrote: >> >> The spi-ath79 driver performs the chipselect by writing to dedicated >> register in the SPI register block. So the GPIO numbers were not used. >

[PATCH] ath79: drop cs-gpios property

2021-04-15 Thread David Bauer
The spi-ath79 driver performs the chipselect by writing to dedicated register in the SPI register block. So the GPIO numbers were not used. Tested-on: Enterasys WS-AP3705i Signed-off-by: David Bauer --- target/linux/ath79/dts/ar7161_buffalo_wzr-hp-ag300h.dtsi| 1 - target/linux/ath79/dts

Re: [PATCH 2/2] generic: enable netlink ethtool interface

2021-03-05 Thread David Bauer
On 3/5/21 12:57 AM, Paul Spooren wrote: > What's the size change? 48 kiB ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel

[PATCH 1/2] ethtool: add netlink build variant

2021-03-04 Thread David Bauer
Netlink support is required for using the virtual cable tester functionality. Thus, add a build variant with enabled netlink support. Signed-off-by: David Bauer --- package/network/utils/ethtool/Makefile | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff

[PATCH 2/2] generic: enable netlink ethtool interface

2021-03-04 Thread David Bauer
The virtual cable tester depends on the netlink interface for ethtool. Thus, enable it in the generic kernel configuration. Signed-off-by: David Bauer --- target/linux/generic/config-5.10 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/config-5.10 b

[PATCH 1/2] tools: add cpio

2021-02-27 Thread David Bauer
meditak-mt7622 as well as mediatek-mt7623 require CPIO to create their initramfs images. So build CPIO as part of the host toolchain. Signed-off-by: David Bauer --- tools/Makefile| 2 +- tools/cpio/Makefile | 14

[PATCH 2/2] include: use cpio from staging dir

2021-02-27 Thread David Bauer
As we built our own CPIO now, use this version instead of whatever the host may or may not provide. Signed-off-by: David Bauer --- include/image.mk | 2 +- include/kernel-defaults.mk | 2 +- include/unpack.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff

[PATCH] openssl: update package sources

2021-02-18 Thread David Bauer
OpenSSL downloads itself are distributed using Akamai CDN, so use these sources as the highest priority. Remove a stale mirror which seems to be offline for a longer time already. Add fallbacks to the old release path also for the mirrors. Signed-off-by: David Bauer --- package/libs/openssl

Re: [PATCH] mpc85xx-p1010: add Kernel 5.10 support

2021-02-18 Thread David Bauer
Hi, On 2/18/21 6:16 PM, Adrian Schmutzler wrote: > Hi, > >> -Original Message- >> From: openwrt-devel [mailto:openwrt-devel-boun...@lists.openwrt.org] >> On Behalf Of David Bauer >> Sent: Dienstag, 16. Februar 2021 23:48 >> To: openwrt-devel@lists.ope

Re: [PATCH] mpc85xx-p1010: add Kernel 5.10 support

2021-02-17 Thread David Bauer
es David > > Greetings > Perry > > On February 17, 2021 5:59:28 AM GMT+01:00, David Bauer > wrote: >> Hi Daniel, >> >> On 2/17/21 4:21 AM, Daniel Golle wrote: >>> On Tue, Feb 16, 2021 at 11:48:04PM +0100, David Bauer wrote: >>>> Tested o

Re: [PATCH] mpc85xx-p1010: add Kernel 5.10 support

2021-02-16 Thread David Bauer
Hi Daniel, On 2/17/21 4:21 AM, Daniel Golle wrote: > On Tue, Feb 16, 2021 at 11:48:04PM +0100, David Bauer wrote: >> Tested on: Sophos RED 15W >> >> The TP-Link WL-WDR4900 needs to be disabled when 5.10 becomes the >> default kernel. > > That's sad. Why?

[PATCH] generic: don't lock when recursively deleting partitions

2021-02-16 Thread David Bauer
When recursively deleting partitions, don't acquire the masters partition lock twice. Otherwise the process endy up in a deadlocked state. Signed-off-by: David Bauer --- ...when-recursively-deleting-partitions.patch | 24 +++ 1 file changed, 24 insertions(+) create mode 100644

[PATCH] rockchip: add Kernel 5.10 support

2021-02-16 Thread David Bauer
. Tested-on: Nanoi R2S Signed-off-by: David Bauer --- target/linux/rockchip/Makefile| 1 + target/linux/rockchip/armv8/config-5.10 | 673 ++ target/linux/rockchip/armv8/config-5.4| 165 - target/linux/rockchip/config-default | 297

[PATCH] mpc85xx-p1010: add Kernel 5.10 support

2021-02-16 Thread David Bauer
-by: David Bauer --- target/linux/mpc85xx/config-5.10 | 280 ++ target/linux/mpc85xx/p1010/target.mk | 2 + ...85xx-add-gpio-keys-to-of-match-table.patch | 10 + ...0-powerpc-85xx-tl-wdr4900-v1-support.patch | 83 ++ .../101-powerpc-85xx-hiveap-330

[PATCH 2/2] mediatek: add support for Ubiquiti UniFi 6 LR

2021-02-15 Thread David Bauer
/mtdblock6 5. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1 $ dd if=openwrt.bin of=/dev/mtdblock8 $ dd if=openwrt.bin of=/dev/mtdblock9 6. Reboot the device. It should boot into OpenWrt. Signed-off-by: David Bauer --- .../lib/preinit/05_set_preinit_iface

[PATCH 1/2] mediatek: add Ubiquiti LED driver

2021-02-15 Thread David Bauer
_match); + +static struct i2c_driver ubnt_ledbar_driver = { + .driver = { + .name = "ubnt-ledbar", + .of_match_table = of_ubnt_ledbar_match, + }, + .probe = ubnt_ledbar_probe, + .remove = ubnt_ledbar_remove, + .id_table

[PATCH] sdk: expose binary strip settings

2021-02-07 Thread David Bauer
Expose the SDK options for binary stripping to the menuconfig. This way, packages can easily be built with debug symbols using the SDK. Signed-off-by: David Bauer --- target/sdk/files/Config.in | 46 ++ 1 file changed, 46 insertions(+) diff --git a/target

[PATCH iwinfo] iwinfo: add basic IEEE 802.11ax support

2021-02-03 Thread David Bauer
This adds basic support for IEEE 802.11ax when requesting HW or HT Modelist for a PHY from iwinfo. This way, applications using iwinfo can detect HE phys. Signed-off-by: David Bauer --- api/nl80211.h| 38 ++ include/iwinfo.h | 8 +++- iwinfo_cli.c

[PATCH 2/2] ath79: add support for Ubiquiti UniFi AP Outdoor+

2021-01-22 Thread David Bauer
Hardware Atheros AR7241 16M SPI-NOR 64M DDR2 Atheros AR9283 2T2R b/g/n 2x Fast Ethernet (built-in) Installation Transfer the Firmware update to the device using SCP. Install using fwupdate.real -m -d Signed-off-by: David Bauer --- .../dts/ar7241_ubnt_unifi-ap-outdoor

[PATCH 1/2] mac80211: convert UniFi Outdoor+ HSR support to OF

2021-01-22 Thread David Bauer
Enable support for the Ubiquiti UniFi Outdoor+ RF filter via device-tree. The old way of using platform data is not required anymore, as it was only used on the now removed ar71xx target. Signed-off-by: David Bauer --- .../ath/551-ath9k_ubnt_uap_plus_hsr.patch | 35

Re: [PATCH] ramips: replace obsolete mx25l25635f hack

2021-01-21 Thread David Bauer
Hi, On 1/21/21 5:21 AM, DENG Qingfang wrote: > The kernel bump to 5.4 removed the mx25l25635f hack, and the upstream > property "broken-flash-reset" should be used instead. Is this dependent on board design? The need for the old hack should be fixed by this upstream commit [0]. Given that commit

[PATCH] rockchip: use stable MAC-address for NanoPi R2S

2021-01-16 Thread David Bauer
is not active at this early stage resulting in low available entropy. There is however a semi-unique identifier available to us, which is the CID of the used SD card. It is unique to each SD card, hence we can use it to generate the MAC address used for LAN and WAN. Signed-off-by: David Bauer

Re: ath10k-ct all hash values are different?

2021-01-15 Thread David Bauer
Hi Ben, On 1/14/21 7:14 PM, Ben Greear wrote: On 1/14/21 10:05 AM, Ben Greear wrote: On 1/13/21 4:58 PM, Sven Roederer wrote: Ben, seems to me, that at least "firmware-5-ct-full-community-12.bin-lede.013" is still not recovered. File is there, but contains only 0x00. This seems to cause my

[PATCH] iw: enable HE PHY information for iw-tiny

2021-01-07 Thread David Bauer
Currently PHY information obtained from "iw phy" lacks information about a PHYs HE capabilities when using the by default installed iw-tiny. As there are already 802.11ax supported devices, enabled printing this information for the by-default installed iw variant. Signed-off-by: D

[PATCH] ramips: add support for Ubiquiti UniFi 6 Lite

2021-01-02 Thread David Bauer
FIT configurations -- In the future, the MT7621 UniFi6 family can be supported by a single OpenWrt image. config@1: U6 Lite config@2: U6 IW config@3: U6 Mesh config@4: U6 Extender config@5: U6 LR-EA (Early Access - GA is MT7622) Signed-off-by: David Bauer --- .../ramips/dts/mt7

Re: ath79: sysupgrade format policy for ar71xx migrations

2021-01-02 Thread David Bauer
Hi Sven, sorry for the late reply. Firs to fall, there is no real policy on that one, as OpenWrt itself does not advertise support for cross-target upgrades. It might work, or it might not. On 11/25/20 8:53 AM, Sven Eckelmann wrote: > On Tuesday, 24 November 2020 08:58:04 CET Sven Eckelmann

[PATCH] scripts: download.pl: retry download using filename

2020-11-18 Thread David Bauer
to after downloading. If the original mirror for a file where url-filename and filename do not match goes down, the download failed prior to this patch. Further improvement can be done by performing this only for the OpenWrt sources mirrors. Signed-off-by: David Bauer --- scripts/download.pl | 8

[PATCH 3/3] hostapd: ubus: add get_status method

2020-11-04 Thread David Bauer
This adds a new get_status method to a hostapd interface, which provides information about the current interface status. Signed-off-by: David Bauer --- .../services/hostapd/src/src/ap/ubus.c| 40 +++ 1 file changed, 40 insertions(+) diff --git a/package/network/services

[PATCH 1/3] hostapd: ubus: add driver information to client list

2020-11-04 Thread David Bauer
This adds information from mac80211 to hostapd get_client ubus function. This way, TX as well as RX status information as well as the signal can be determined. Signed-off-by: David Bauer --- .../services/hostapd/src/src/ap/ubus.c| 24 +++ 1 file changed, 24 insertions

[PATCH 2/3] hostapd: ubus: add VHT capabilities to client list

2020-11-04 Thread David Bauer
This adds parsed VHT capability information to the hostapd get_clients method. Signed-off-by: David Bauer --- .../services/hostapd/src/src/ap/ubus.c| 71 +++ 1 file changed, 71 insertions(+) diff --git a/package/network/services/hostapd/src/src/ap/ubus.c b/package

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

2020-10-27 Thread David Bauer
Reported-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

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 >

[PATCH 2/2] hostapd: remove ieee80211v option

2020-10-20 Thread David Bauer
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/network

[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

  1   2   3   4   >