[OpenWrt-Devel] [PATCH 2/2] lantiq: enable second VPE on Fritz!Box 7412

2019-08-09 Thread David Bauer
The AVM Fritz!Box 7412 does not use the VMMC part of the Lantiq chip but rather a proprietary solution based on the DECT chip for the FXS ports. Therefore, the second VPE can be enabled for use with OpenWrt. Signed-off-by: David Bauer --- target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.d

[OpenWrt-Devel] [PATCH 1/2] lantiq: correct Fritz!Box 7412 button logic level

2019-08-09 Thread David Bauer
The AVM FRITZ!Box 7412 buttons are both active low, which is currently incorrectly defined in the device-tree. This leads to the device booting directly into failsafe. Signed-off-by: David Bauer --- target/linux/lantiq/files/arch/mips/boot/dts/FRITZ7412.dts | 4 ++-- 1 file changed, 2 insertion

[OpenWrt-Devel] hostapd: Allow CONFIG_IEEE80211W for all but mini variant

2019-08-09 Thread Hauke Mehrtens
This commit will activate CONFIG_IEEE80211W for all, but the mini variant when at least one driver supports it. This will add ieee80211w support for the mesh variant for example. Fixes: FS#2397 Signed-off-by: Hauke Mehrtens --- package/network/services/hostapd/Makefile | 8 ++-- 1 file chang

Re: [OpenWrt-Devel] [PATCH 1/2] gemini: Add copy-kernel utility package

2019-08-09 Thread Linus Walleij
On Wed, Jul 17, 2019 at 7:23 PM Linus Walleij wrote: > This package just contains a small Gemini-only assembler > bootstrap loop to copy the kernel from the two fragments > (previously zImage at 0x0160 and initramdisk at 0x0080) > into one big zImage of up to 8 MB at 0x0040. > > It wi

[OpenWrt-Devel] [PATCH v3 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-09 Thread Adrian Schmutzler
This changes size and offset set for WiFi caldata extraction and MAC address adjustment to hexadecimal notation. This will be much clearer for the reader when numbers are big, and will also match the style used for mtd-cal-data in DTS files. Since dd cannot deal with hexadecimal notation, one has

[OpenWrt-Devel] [PATCH v3 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-09 Thread Adrian Schmutzler
This changes the offsets for the MAC address location in mtd_get_mac_binary* and mtd_get_mac_text to hexadecimal notation. This will be much clearer for the reader when numbers are big, and will also match the style used for mtd-mac-address in DTS files. (e.g. 0x1006 and 0x5006 are much more usef

[OpenWrt-Devel] [PATCH] ath79: add missing IMAGE_SIZE for Comfast WR650AC v1/v2

2019-08-09 Thread Adrian Schmutzler
When adding support in 9ed272fe9500 ("ath79: add support for Comfast WR650AC v1/v2"), IMAGE_SIZE has not been added to device definition. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/linux/ath79/image/generi

Re: [OpenWrt-Devel] ath10k-ct 4.19 and IBSS

2019-08-09 Thread Ben Greear
On 8/9/19 7:14 AM, Koen Vandeputte wrote: On 09.08.19 15:31, Koen Vandeputte wrote: On 09.08.19 14:48, Ben Greear wrote: On 8/6/19 2:26 AM, Koen Vandeputte wrote: Hi Ben, I finally managed to get to some time to properly take a look using a simple setup. Attached all required files to si

Re: [OpenWrt-Devel] ath10k-ct 4.19 and IBSS

2019-08-09 Thread Koen Vandeputte
On 09.08.19 15:31, Koen Vandeputte wrote: On 09.08.19 14:48, Ben Greear wrote: On 8/6/19 2:26 AM, Koen Vandeputte wrote: Hi Ben, I finally managed to get to some time to properly take a look using a simple setup. Attached all required files to simulate the issue. I compiled the latest O

Re: [OpenWrt-Devel] Meson/Ninja build system

2019-08-09 Thread Jan Pavlinec
Hi, just for the record, I just created PR with Ninja and Meson tools/packages and will be glad for comments https://github.com/openwrt/openwrt/pull/2312 Jan Pavlinec Dne 18. 03. 19 v 13:41 Jo-Philipp Wich napsal(a): > Hi Jan, > >> I'm trying to add ninja and meson to packages feed. The reason

Re: [OpenWrt-Devel] ath10k-ct 4.19 and IBSS

2019-08-09 Thread Koen Vandeputte
On 09.08.19 14:48, Ben Greear wrote: On 8/6/19 2:26 AM, Koen Vandeputte wrote: Hi Ben, I finally managed to get to some time to properly take a look using a simple setup. Attached all required files to simulate the issue. I compiled the latest OpenWrt master state, (included a full wpa_s

Re: [OpenWrt-Devel] Problem reading flash zones in ath79

2019-08-09 Thread Enrico Mioso
Hello all, and thank you for your help! Thanks to the nice help of Boris Brezillon @ linux-mtd ML, it turns out block devices have to be 512B aligned. Reading from mtd devices directly reads the entire thing. I was, in other words, doing it the wrong way, by reading mtdblock. :) Thanks Martin,

Re: [OpenWrt-Devel] ath10k-ct 4.19 and IBSS

2019-08-09 Thread Ben Greear
On 8/6/19 2:26 AM, Koen Vandeputte wrote: Hi Ben, I finally managed to get to some time to properly take a look using a simple setup. Attached all required files to simulate the issue. I compiled the latest OpenWrt master state, (included a full wpa_supplicant and iperf tools) and ran the 2

[OpenWrt-Devel] [PATCH v2 1/2] treewide: convert MAC address location offsets to hexadecimal

2019-08-09 Thread Adrian Schmutzler
This changes the offsets for the MAC address location in mtd_get_mac_binary* and mtd_get_mac_text to hexadecimal notation. This will be much clearer for the reader when numbers are big, and will also match the style used for mtd-mac-address in DTS files. (e.g. 0x1006 and 0x5006 are much more usef

[OpenWrt-Devel] [PATCH v2 2/2] treewide: convert WiFi caldata size and offset to hexadecimal

2019-08-09 Thread Adrian Schmutzler
This changes size and offset set for WiFi caldata extraction and MAC address adjustment to hexadecimal notation. This will be much clearer for the reader when numbers are big, and will also match the style used for mtd-cal-data in DTS files. Since dd cannot deal with hexadecimal notation, one has

[OpenWrt-Devel] [PATCH] ath79: fix whitespace errors from adding D-Link DIR-842 C3

2019-08-09 Thread Adrian Schmutzler
We completely overlooked whitespace errors when reviewing 796ad2f7ef6f ("ath79: add support for D-Link DIR-842 C3"). Fix them and and also fix Makefile indent for C1/C2. Signed-off-by: Adrian Schmutzler --- .../ath79/base-files/etc/board.d/02_network| 4 ++-- .../etc/hotplug.d/firmware/10-

[OpenWrt-Devel] [PATCH] build: fix indent in image-commands.mk

2019-08-09 Thread Adrian Schmutzler
Convert leading spaces to tab to match rest of the file. Signed-off-by: Adrian Schmutzler --- include/image-commands.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image-commands.mk b/include/image-commands.mk index 06c084c48b..89c17aec5b 100644 --- a/include/imag

[OpenWrt-Devel] [PATCH] ath79: add missing IMAGE_SIZE for Comfast E314N-v2

2019-08-09 Thread Adrian Schmutzler
When adding support in abbbecaa73dc ("ath79: add support for Comfast E314N-v2"), IMAGE_SIZE has not been added to device definition. Signed-off-by: Adrian Schmutzler --- target/linux/ath79/image/generic.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/ath79/image/generic.mk b