Re: [OpenWrt-Devel] [PATCH] hostapd: move reading of rsn_preauth out of auth_type=eap context

2014-06-05 Thread Felix Fietkau
On 2014-06-04 17:57, Reiner Herrmann wrote: rsn_preauth is used outside of case $auth_type, so if it is set for an EAP-enabled SSID, it would also be set for the following non-EAP-enabled SSIDs, because it would not be read again. Signed-off-by: Reiner Herrmann rei...@reiner-h.de Committed

Re: [OpenWrt-Devel] [PATCH] Fixed wpa_supplicant locking hostapd to 20MHz (#12720)

2014-06-05 Thread Felix Fietkau
On 2014-06-04 11:51, Lance Chaney wrote: Fixed wpa_supplicant when the radio is in 40MHz mode so that it no longer restarts hostapd with the second channel disableed. Signed-off-by: Lance Chaney furryf...@gmail.com Applied in r41019, thanks! - Felix

Re: [OpenWrt-Devel] hotplug / micro-optimization

2014-06-06 Thread Felix Fietkau
On 2014-06-05 10:31, Bastian Bittorf wrote: i have a router here with 400 vlan-interfaces. i'am still not happy, that an hotplug-event triggers a lot of unneccesary action. i see at least 3 possibilities reduce the load: (beside the upcoming procd-interface job) 1) each script

Re: [OpenWrt-Devel] [PATCH] procd: Fix USB cellular modems

2014-06-07 Thread Felix Fietkau
On 2014-06-06 23:20, Matthew Reeve wrote: Without this patch, /etc/hotplug.d/tty/30-3g won't be called when you insert or remove a USB-serial cellular modem. (see Ticket #14117) Signed-off-by: Matthew Reeve mre...@tenxnetworks.com Applied in r41039, thanks. - Felix

Re: [OpenWrt-Devel] [PATCH] mac80211: b43: fix B43_USE_SSB dependency

2014-06-07 Thread Felix Fietkau
On 2014-06-06 21:10, Rafał Miłecki wrote: Signed-off-by: Rafał Miłecki zaj...@gmail.com Applied in r41040, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] LAN force_link causes WDS Client routers to be no-longer administerable

2014-06-09 Thread Felix Fietkau
On 2014-06-09 21:37, Chirag Chhatriwala wrote: Hello Felix and other devs, I recently went from r39555 (BB) to r41055 (also BB) without sysupgrade, direct update of firmware. I've got a couple of WD N750 Routers that I like to run in WDS mode. After flashing 41055 and then configuring, WDS

Re: [OpenWrt-Devel] [PATCH 00/17] atheros: checkpatch fixes

2014-06-10 Thread Felix Fietkau
On 2014-06-10 02:29, Sergey Ryazanov wrote: This series is an attempt to cleanup checkpatch generated warnings and errors to make AR231x patches suitable for upstream merge. Sergey Ryazanov (17): atheros: avoid CamelCase atheros: various comments fixes atheros: parenthesis around

Re: [OpenWrt-Devel] Ethernet problems with trunk on brcm47xx

2014-06-24 Thread Felix Fietkau
On 2014-06-24 01:17, Paul Sokolovsky wrote: Hello, I upgraded my Asus WL-500g Deluxe from 10.03.1 to today's daily build of trunk (BARRIER BREAKER (Bleeding Edge, r41302)) to test fix for issue https://dev.openwrt.org/ticket/7552 . After upgrade, all WiFi clients work ok. However, all

Re: [OpenWrt-Devel] [RFC 3/3] PKG_CHECK_FORMAT_SECURITY: disable the check for the failing packages

2014-06-24 Thread Felix Fietkau
On 2014-06-23 23:39, Etienne CHAMPETIER wrote: The idea is to gradually fix the packages Signed-off-by: Etienne CHAMPETIER etienne.champet...@free.fr --- package/libs/gettext-full/Makefile|1 + package/network/utils/comgt/Makefile |1 +

Re: [OpenWrt-Devel] [RFC] netifd: Crash when netifd reload is handled during netifd startup

2014-06-24 Thread Felix Fietkau
On 2014-06-24 12:46, Hans Dedecker wrote: Netifd is crashing when when a network reload (ubus call network reload) is handled during the parsing of the network config in the function config_init_all (called from main) at startup. As an ubus_invoke function call is issued when the interfaces

Re: [OpenWrt-Devel] [RFC] netifd: Crash when netifd reload is handled during netifd startup

2014-06-24 Thread Felix Fietkau
24 16:00:44 OpenWrt daemon.notice netifd: Create interface 'lan' . Jun 24 16:00:45 OpenWrt daemon.notice netifd: config_init_all : Exit Jun 24 16:00:45 OpenWrt daemon.notice netifd: netifd_reload : Exit Hans On Tue, Jun 24, 2014 at 2:05 PM, Felix Fietkau n...@openwrt.org wrote: On 2014

Re: [OpenWrt-Devel] [PATCH 3/4] [toolchain] gcc: update musl patch

2014-06-26 Thread Felix Fietkau
On 2014-06-25 11:31, dirkneukirc...@web.de wrote: From: Dirk Neukirchen dirkneukirc...@web.de taken from musl-cross https://github.com/GregorR/musl-cross/blob/master/patches/gcc-4.9.0-musl.diff Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de NACK. That patch file contains multiple

Re: [OpenWrt-Devel] [PATCH 3/4] [toolchain] gcc: update musl patch

2014-06-26 Thread Felix Fietkau
On 2014-06-26 14:09, Dirk Neukirchen wrote: On 26.06.2014 11:24, Felix Fietkau wrote: On 2014-06-25 11:31, dirkneukirc...@web.de wrote: From: Dirk Neukirchen dirkneukirc...@web.de taken from musl-cross https://github.com/GregorR/musl-cross/blob/master/patches/gcc-4.9.0-musl.diff Signed-off

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-18 18:12, Kristian Evensen wrote: From: Kristian Evensen kristian.even...@gmail.com Hello, I have written a small tool which automatically adds/removes a usb LAN dongle from uci. When the USB device is inserted, I add entries to UCI (using libuci) and do network reload (using

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-29 23:10, Kristian Evensen wrote: Hi Felix, On Sun, Jun 29, 2014 at 8:36 PM, Felix Fietkau n...@openwrt.org wrote: Please test the latest version and check if that hack is still necessary. Thanks for your reply. I tested with latest netifd and latest libubus, to make sure

Re: [OpenWrt-Devel] [RFC netifd] Out-of-sync reference counter causes seg. fault

2014-06-29 Thread Felix Fietkau
On 2014-06-29 23:25, Kristian Evensen wrote: On Sun, Jun 29, 2014 at 11:19 PM, Felix Fietkau n...@openwrt.org wrote: Thanks for the info about the commit that broke it, now this issue makes more sense to me. Please try this patch: With this patch everything works fine, I do not see the crash

Re: [OpenWrt-Devel] [PATCH 3/3] Introduce PKG_CHECK_FORMAT_SECURITY

2014-06-30 Thread Felix Fietkau
On 2014-06-24 23:11, etienne.champet...@free.fr wrote: patch for package feed ready to merge https://github.com/openwrt/packages/pull/57 All applied, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] Call for testing: bridge multicast snooping

2014-06-30 Thread Felix Fietkau
Hey everybody, as some of you may have noticed, I recently implemented automatic multicast-unicast conversion for IGMP snooping in the bridging layer, which is activated by default for all wireless interfaces. This makes multicast based video streaming behave properly on wireless. A long time

Re: [OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-01 Thread Felix Fietkau
On 2014-07-01 10:12, Maciej Skrzypek wrote: mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Maciej Skrzypek Flytronic

Re: [OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase

2014-07-02 Thread Felix Fietkau
On 2014-07-01 16:14, Maciej Skrzypek wrote: mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. Maciej Skrzypek Flytronic

Re: [OpenWrt-Devel] [PATCH 0/6] increase ubus message size above 64k

2014-07-03 Thread Felix Fietkau
On 2014-06-27 18:11, Alexandru Ardelean wrote: ubus has a message size limit of about 64k. For some cases [like complex JSON config strings] this limit can be insufficient. Another case is when wanting to send some large base64 encoded strings of various (including binary) data. The

Re: [OpenWrt-Devel] [PATCH 12.09] AA: hotplug2: use source hosted by OpenWrt as the original source is down

2014-07-04 Thread Felix Fietkau
On 2014-07-04 07:54, Matthias Schiffer wrote: The SVN server used so far seems to have gone down as of 07/2014, so let's just use the source tarball mirrored by OpenWrt. Signed-off-by: Matthias Schiffer mschif...@universe-factory.net Applied in r41503, thanks. - Felix

Re: [OpenWrt-Devel] [PATCH 0/4] fix rb532 support

2014-07-05 Thread Felix Fietkau
On 2014-07-05 00:35, Roman Yeryomin wrote: This patch set fully fixes rb532 support and removes broken mark. Roman Yeryomin (4): [rb532] fix jffs2 images [rb532] change default package set [rb532] add wan interface [rb532] remove broken mark What about squashfs images? It looks to

Re: [OpenWrt-Devel] [PATCH 0/4] fix rb532 support

2014-07-06 Thread Felix Fietkau
On 2014-07-06 13:17, Roman Yeryomin wrote: On 6 July 2014 01:20, Roman Yeryomin leroi.li...@gmail.com wrote: On 5 July 2014 18:03, Felix Fietkau n...@openwrt.org wrote: On 2014-07-05 00:35, Roman Yeryomin wrote: This patch set fully fixes rb532 support and removes broken mark. Roman Yeryomin

Re: [OpenWrt-Devel] [PATCH 0/4] fix rb532 support

2014-07-07 Thread Felix Fietkau
On 2014-07-07 00:47, Roman Yeryomin wrote: On 6 July 2014 18:08, Felix Fietkau n...@openwrt.org wrote: On 2014-07-06 13:17, Roman Yeryomin wrote: On 6 July 2014 01:20, Roman Yeryomin leroi.li...@gmail.com wrote: On 5 July 2014 18:03, Felix Fietkau n...@openwrt.org wrote: On 2014-07-05 00:35

Re: [OpenWrt-Devel] [PATCH 2/4] [rb532] change default package set

2014-07-07 Thread Felix Fietkau
On 2014-07-05 00:36, Roman Yeryomin wrote: There could be no wireless interfaces but ethernets are on board. Signed-off-by: Roman Yeryomin ro...@advem.lv Not taking this one. Adding kmod-via-rhine is unnecessary, since the driver is already built into the kernel. - Felix

Re: [OpenWrt-Devel] [PATCH 1/4] [rb532] fix jffs2 images

2014-07-07 Thread Felix Fietkau
On 2014-07-05 00:36, Roman Yeryomin wrote: Signed-off-by: Roman Yeryomin ro...@advem.lv Next time, please use rb532: ... instead of [rb532] ..., because git am strips the [] parts. Thanks, - Felix ___ openwrt-devel mailing list

Re: [OpenWrt-Devel] why only hostapd?

2014-07-08 Thread Felix Fietkau
On 2014-07-08 15:22, smile...@gmail.com wrote: Only hostap work with dfs in AP-Mode? This is the last development step here? Than is this not rewarding for me. LOLWUT? Bacause: Wy this limitation? hostapd is already required for AP mode. It controls the AP state, channel configuration, etc.

Re: [OpenWrt-Devel] [PATCH] mac80211: Fix config variable name for dtim_period

2014-07-10 Thread Felix Fietkau
On 2014-07-10 13:59, s...@open-mesh.com wrote: From: Sven Eckelmann s...@narfation.org The vif option dtim_period was accidently renamed dtim_interval in r38988 (netifd: add wireless configuration support and port mac80211 to the new framework). This is wrong and makes the

Re: [OpenWrt-Devel] [PATCH 14/17] atheros[ar231x-eth]: pass PHY I/O memory via device resources

2014-07-12 Thread Felix Fietkau
On 2014-07-12 15:33, Sergey Ryazanov wrote: Pass PHY I/O memory region via platform resources and remap them unconditionally. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com diff --git a/target/linux/atheros/patches-3.10/110-ar2313_ethernet.patch

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Felix Fietkau
On 2014-07-12 16:29, Carlos Ferreira wrote: I'm having an issue with OpenWRT trunk where it seems that SMP (Symmetric MultiProcessing) is marked as being Broken, for the IXP4xx arch and I'm trying to compile netmap http://info.iet.unipi.it/~luigi/netmap/ for the Cambria SBC. Netmap requires

Re: [OpenWrt-Devel] Symmetric MultiProcessing broken for IXP4xx arch.

2014-07-12 Thread Felix Fietkau
On 2014-07-12 16:51, Carlos Ferreira wrote: Yes I know that, but the thing is, for the 3.10 kernel, CONFIG_RPS depends on CONFIG_SMP. CONFIG_RPS enables the definition of real_num_rx_queues field for the netdev_rx_queue struct (netdevice.h). Netmap requires the existence of the

Re: [OpenWrt-Devel] AA on brcm47xx: Unhandled kernel unaligned access

2014-07-14 Thread Felix Fietkau
On 2014-07-14 16:42, Rafał Miłecki wrote: On 21 June 2014 18:36, Nikolai Zhubr n-a-zh...@yandex.ru wrote: [ 637.43] [ cut here ] [ 637.44] WARNING: at net/core/dev.c:2194 skb_warn_bad_offload+0xc0/0xe8() [ 637.45] b44: caps=(0x4000,

Re: [OpenWrt-Devel] [PATCH] ar71xx: update Carambola2 platform data

2014-07-15 Thread Felix Fietkau
On 2014-07-15 12:53, Mantas Pucka wrote: Sorry, change list got cut off in previous mail: ar71xx: update Carambola2 platform data * Remove button info on GPIO12, there is no button there. * Remove nvram mtd partition, as it's not used for anything, saves 64k for user data

Re: [OpenWrt-Devel] [PATCH] libubus: handle NULL ubus_context in all sync requests by creating a local instance

2014-07-17 Thread Felix Fietkau
On 2014-07-17 17:25, Alexandru Ardelean wrote: This can serve as a convenience for sync requets, since no explicit ubus_connect() + ubus_free() need to be done. It can also help in cases where there are async + sync requests, where one async request is working and sync calls are done. Seems

Re: [OpenWrt-Devel] [PATCH] [Resend] [kernel] mtd-partial_eraseblock_erase in all kernels folded into original patch

2014-07-17 Thread Felix Fietkau
On 2014-07-16 11:43, Maciej Skrzypek wrote: mtd: allow partial block erase This fixes error erasing partial mtd partition which does not start on eraseblock boundary and allows using fconfig to configure redboot on devices such as the Gateworks Cambria. fixed in all kernels and folded in

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-17 Thread Felix Fietkau
On 2014-07-15 15:53, Jonas Gorski wrote: On Tue, Jul 15, 2014 at 1:57 AM, Sergey Ryazanov ryazanov@gmail.com wrote: Main goals of this series: * Simplify interface between arch code and SoC drivers * Simplify internal realization of arch code * Make code consistent with mainstream

Re: [OpenWrt-Devel] [PATCH] kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling

2014-07-17 Thread Felix Fietkau
On 2014-07-13 16:09, Sergey Ryazanov wrote: Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com Applied in r41702, thanks. - Felix

Re: [OpenWrt-Devel] [PATCH v2 00/18] atheros: I/O cleanups

2014-07-17 Thread Felix Fietkau
On 2014-07-15 01:57, Sergey Ryazanov wrote: Main goals of this series: * Simplify interface between arch code and SoC drivers * Simplify internal realization of arch code * Make code consistent with mainstream kernel rules and practice This series extensively tested with FON2202 (ar2315

Re: [OpenWrt-Devel] [patch] [package] ca-certificates: create symbolic link for certificate hashes

2014-07-20 Thread Felix Fietkau
On 2014-07-19 12:16, Christian Schoenebeck wrote: From: Christian Schoenebeck christian.schoeneb...@gmail.com Date: Sat, 19 Jul 2014 11:14:01 +0200 Subject: ca-certificates: create symbolic link for certificate hashes Implementing add-cert.sh functionality discribed at

Re: [OpenWrt-Devel] [PATCH] [orion] Update kernel to 3.10.44

2014-07-20 Thread Felix Fietkau
On 2014-07-20 11:20, Hauke Mehrtens wrote: Hi, I am getting an error when compiling: /home/hauke/openwrt/git/staging_dir/host/bin/mkfs.jffs2 --compression-mode=none --pad --little-endian --squash -e 64KiB -o

Re: [OpenWrt-Devel] [PATCH] [package] uhttpd: fix handling of / as lua or ubus prefix

2014-07-28 Thread Felix Fietkau
On 2014-07-28 07:52, Charles Lehner wrote: From: Charles Lehner celehn...@gmail.com Fix up lua prefix and ubus prefix, as done with cgi prefix. Signed-off-by: Charles Lehner celehn...@gmail.com Your patch is whitespace mangled and does not apply. Please resend. Thanks, - Felix

Re: [OpenWrt-Devel] [PATCH][RFC] libubus: added max retry mechanism

2014-07-29 Thread Felix Fietkau
On 2014-07-29 15:23, Alexandru Ardelean wrote: Quick info follow-up: strace-ing on the PIDs (with high CPU usage) shows a lot of EAGAIN errors from recvfrom() and a lot of recvfrom() + poll() + clock_gettime_monotonic() calls. Thinking about it, would it make more sense to add a short wait

Re: [OpenWrt-Devel] [RFC] openwrt: Allow extraction of debuginfo from all binaries

2014-08-01 Thread Felix Fietkau
On 2014-07-24 17:26, Helmut Schaa wrote: Introduce a new config symbol EXTRACT_DEBUGINFO to extract debuginfo from all binaries. This depends on USE_STRIP and DEBUG. The debuginfo of all packages will be extracted from the binary and copied into bin/$platform/debuginfo. This allows better

Re: [OpenWrt-Devel] [RFC] netifd: enable force_link by default for proto=static

2014-08-01 Thread Felix Fietkau
On 2014-08-01 15:37, Hans Dedecker wrote: Since netifd commit 75e73ab force_link is enabled by default for proto static in the netifd code. This causes the netifd ubus interface up event to be send based only on the interface enabled state (and thus faster) while if linksensing is enabled the

Re: [OpenWrt-Devel] [PATCH] Fixed WiFi stop and speed reduction issue on TL-WR1043ND v1 (#9654)

2014-08-02 Thread Felix Fietkau
On 2014-08-02 17:29, George Valkov wrote: Hi Felix, Please revise your commit: https://dev.openwrt.org/changeset/38486 It is causing the wifi on TL-WR1043ND v1 to stop working or speed drop. Please see this ticket for details on my research: https://dev.openwrt.org/ticket/9654#comment:512

Re: [OpenWrt-Devel] [RFC] openwrt: Allow extraction of debuginfo from all binaries

2014-08-03 Thread Felix Fietkau
On 2014-08-03 08:46, Alexandru Ardelean wrote: Well, this is useful because you have your FW build and your symbols right next to it for each build. Then, you can store them somewhere (FW + debug symbols) and if you get a crash/segfault on a specific build number you're covered because you

Re: [OpenWrt-Devel] [PATCH][RFC] libubus: added max retry mechanism

2014-08-03 Thread Felix Fietkau
On 2014-08-01 18:01, Alexandru Ardelean wrote: Back with some findings. Please check this: https://github.com/commodo/ubus/commit/c601505a6b33aa208e1a3492d3ade5ae2d853899 That looks very wrong to me. If that triggers, you're leaking the fd. The current problem [high CPU usage] seems to

Re: [OpenWrt-Devel] [PATCH] kernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location

2014-08-04 Thread Felix Fietkau
On 2014-08-04 02:35, Sergey Ryazanov wrote: Fix IFF_NO_IP_ALIGN location which is collide with new netdev private flag IFF_MACVLAN. Signed-off-by: Sergey Ryazanov ryazanov@gmail.com Applied in r41992, thanks. - Felix ___ openwrt-devel mailing

Re: [OpenWrt-Devel] [PATCH RESEND] ar71xx: update Carambola2 platform data

2014-08-04 Thread Felix Fietkau
On 2014-08-04 16:41, Mantas Pucka wrote: This patch is marked 'Accepted' in patchwork [1], but not yet merged to trunk. Is there any problem with it (formatting, applying, etc.), or it's just a normal delay? [1] http://patchwork.openwrt.org/patch/5919/ Somebody (maybe even me) might have

Re: [OpenWrt-Devel] [PATCH 0/4] atheros: switch to kernel 3.14

2014-08-04 Thread Felix Fietkau
On 2014-08-04 22:40, Sergey Ryazanov wrote: This series introduce 3.14 kernel support and switch to new kernel. Tested with: D-Link DWL-2100AP (AR2313 based) Fonera FON 2202 (AR2315 based) All components (Ethernet, WLAN, GPIO and even USB controller of FON2202) works fine. Marvell

Re: [OpenWrt-Devel] [PATCH 2/3] build: use options to add kernels/dtbs in rootfs

2014-08-12 Thread Felix Fietkau
On 2014-08-12 13:48, Luka Perkov wrote: On Tue, Aug 12, 2014 at 01:12:50PM +0200, Jonas Gorski wrote: On Mon, Aug 11, 2014 at 10:48 PM, Luka Perkov l...@openwrt.org wrote: On Mon, Aug 11, 2014 at 10:06:27PM +0200, Felix Fietkau wrote: On 2014-08-11 10:47, Luka Perkov wrote: Use support

Re: [OpenWrt-Devel] [PATCH] kernel: add own Kconfig for OpenWrt mtdsplit drivers

2014-08-25 Thread Felix Fietkau
On 2014-08-25 11:24, John Crispin wrote: On 25/08/2014 11:14, Rafał Miłecki wrote: On 17 August 2014 14:10, Rafał Miłecki zaj...@gmail.com wrote: There are pretty many OpenWrt patches against mtd subsystem resulting in a bit of mess and growing maintenance cost. My idea is to use an extra

Re: [OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Felix Fietkau
On 2014-08-30 18:45, Matthias Schiffer wrote: On 08/30/2014 06:42 PM, Matthias Schiffer wrote: Hi, I've noticed that the code produced by Barrier Breaker's toolchain sometimes has significantly worse performance that that built by Attitude Adjustment. I can see this extremely with the VPN

Re: [OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Felix Fietkau
On 2014-08-30 18:51, Hauke Mehrtens wrote: On 08/30/2014 06:45 PM, Matthias Schiffer wrote: On 08/30/2014 06:42 PM, Matthias Schiffer wrote: Hi, I've noticed that the code produced by Barrier Breaker's toolchain sometimes has significantly worse performance that that built by Attitude

Re: [OpenWrt-Devel] Toolchain issue: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment

2014-08-30 Thread Felix Fietkau
On 2014-08-30 21:27, Nikos Mavrogiannopoulos wrote: On Sat, 2014-08-30 at 20:10 +0200, Felix Fietkau wrote: This could be a problem caused by mips16. We use that in BB to create smaller binaries. but Jonas saw a performance problem in some applications, mostly stuff doing crypto (big

Re: [OpenWrt-Devel] nettle mips16 patch [was: Significant decrease in performance of binaries produced by Barrier Breaker relative to Attitude Adjustment]

2014-08-31 Thread Felix Fietkau
On 2014-08-30 22:13, Nikos Mavrogiannopoulos wrote: From a75b56c15bd28e41daec6867fe652a3c61a65edc Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos n...@gnutls.org Date: Sat, 30 Aug 2014 22:09:27 +0200 Subject: [PATCH] nettle: set PKG_USE_MIPS16 to zer Signed-off-by: Nikos

Re: [OpenWrt-Devel] [PATCH][RESEND] libubus: fix msgbuf reduction logic during receive

2014-08-31 Thread Felix Fietkau
On 2014-08-07 07:32, Alexandru Ardelean wrote: Signed-off-by: Alexandru Ardelean a...@ocedo.com Applied (with modifications) Thanks, - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] mtd: Fix trx check after partition rename (linux to firmware)

2014-09-02 Thread Felix Fietkau
On 2014-09-02 18:47, Mathias Adam wrote: On brcm47xx (Huawei E970), I noticed that sysupgrade now tries to flash trx images which don't fit into the flash, resulting in non-booting system. I found that mtd does trx size checking only when flashing to a partition called linux. This patch

Re: [OpenWrt-Devel] Unblockable mutlicast

2014-09-06 Thread Felix Fietkau
On 2014-09-06 08:25, Daniel Dickinson wrote: If I posted from the right account, it would help for asking asking a question... At the risk of seeming a complete n00b despite being far from it, why am I seeing this in iftop on BB-rc3 using iftop on the WAN? all-systems.mcast.net =

Re: [OpenWrt-Devel] [PATCH] ath79: dev-eth: Don't advertise 1gbit in link code word on ar9331

2014-09-07 Thread Felix Fietkau
On 2014-09-07 06:10, Harald Welte wrote: While the AR9331 has a gigabit MAC towards the internal switch, the integrated PHYs however are only 100-base-tx capable. The existing code however advertieses gigabit capability in the link status word. If you attach such a PHY to a gigabit capable

Re: [OpenWrt-Devel] mac80211/DFS-support default since r42431

2014-09-08 Thread Felix Fietkau
On 2014-09-08 08:52, Bastian Bittorf wrote: with r42431 DFS is enabled by default[1]: mac80211: enable DFS support for ath9k/10k by default The DFS pattern detector now supports all three regions; ETSI, FCC and JP, so there is no reason to not have it enabled anymore. there was a long

Re: [OpenWrt-Devel] [Babel-users] [PATCH] babeld: use procd to start, stop, and respawn

2014-09-09 Thread Felix Fietkau
On 2014-09-09 18:01, Juliusz Chroboczek wrote: [Felix, John, we're discussing the integration of babeld (a routing daemon) with procd. By default, babeld creates a pidfile, which can be disabled with -I '' on babeld's command line. Unfortunately, it turns out that procd is unable to pass

Re: [OpenWrt-Devel] Increase default squashfs blocksize for devices with small flash?

2014-09-09 Thread Felix Fietkau
On 2014-09-09 21:21, Mathias Adam wrote: Hi, just noticed that the pre-built image for Huawei E970 (brcm47xx-legacy, openwrt-e970-squashfs-gz.bin) is too large for its 4MiB flash. This is true for both BB-rc3 and trunk snapshots. Apparently Imagebuilder creates squashfs with 64kiB

Re: [OpenWrt-Devel] [PATCH] hostapd: add ubus bindings for wps

2014-09-10 Thread Felix Fietkau
On 2014-09-02 12:14, Petar Koretic wrote: With this patch WPS discovery can be started or canceled over ubus if WPS is enabled in wireless configuration. This is equivalent of 'hostapd_cli wps_pbc' and 'hostapd_cli wps_cancel' commands. Signed-off-by: Petar Koretic petar.kore...@sartura.hr

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-10 Thread Felix Fietkau
On 2014-09-10 05:41, Linus Lüssing wrote: Hi Felix, Matthias just told me about the work you have done on the bridge code which can be found as 645-bridge_multicast_to_unicast.patch in the OpenWRT repositord. I really like the idea of unicasting multicast packets to STAs. Especially as

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-10 Thread Felix Fietkau
On 2014-09-10 16:41, Linus Lüssing wrote: On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: One more thing/optimization I was thinking of is, instead of modifying the destination address of the frame whether the 802.11 receiver address could be modified. For instance by letting

Re: [OpenWrt-Devel] Regarding bridge multicast-to-unicast patch

2014-09-11 Thread Felix Fietkau
On 2014-09-11 16:28, Linus Lüssing wrote: On Wed, Sep 10, 2014 at 04:31:37PM +0200, Linus Lüssing wrote: Another approach would be to add a feature to mac80211 to disable the forwarding of IGMPv2/MLDv1 reports to other STAs, only forwarding it on the own AP interface so that the bridge would

Re: [OpenWrt-Devel] [PATCH][RFC] libubus: restore uloop_cancelled on timeout

2014-09-15 Thread Felix Fietkau
On 2014-09-15 14:42, Alexandru Ardelean wrote: Context: 1 loop with a single ubus_invoke() that times out calls uloop_end() which ends the loop, and thus ends the application. In the end that seems to confuse procd which outputs a notification as if the application segfault-ed a couple of

Re: [OpenWrt-Devel] [PATCH] base-files: procd initscriptsrestartonreload

2014-09-16 Thread Felix Fietkau
On 2014-09-15 11:42, Tristan Plumb wrote: On 15/09/2014 10:36, Tristan Plumb wrote: which specific package is causing issue ? In my setup, I've noticed this with dnsmasq and babeld. That is, that I needed to restart and instead of reload to get things to take effect. Everything else I

Re: [OpenWrt-Devel] [PATCH] hostapd/netifd: fix missing htmode for wpa_supplicant

2014-09-16 Thread Felix Fietkau
On 2014-09-16 11:25, Arvid E. Picciani wrote: the variable is called htmode, not ht Signed-off-by: Arvid E. Picciani a...@exys.org I agree that there is a bug there, but simply passing htmode as-is to wpa_supplicant might make things worse, as wpa_supplicant only knows a subset of the possible

Re: [OpenWrt-Devel] [PATCH] hostapd/netifd: fix missing htmode for wpa_supplicant

2014-09-16 Thread Felix Fietkau
On 2014-09-16 13:31, Arvid E. Picciani wrote: If phy htmode is set to HT* or VHT*, set wpa_supplicant to HT20. Previously it wasnt set at all. Signed-off-by: Arvid E. Picciani a...@exys.org Your patch seems to have been mangled by your email program and does not apply. Please fix and resend.

Re: [OpenWrt-Devel] Missing mpc83xx in BB-RC3

2014-09-16 Thread Felix Fietkau
On 2014-09-16 13:47, Claudio Thomas wrote: Hi, I until now was still using the trunk for testing and working, but today I the first time checked out the 14.07/openwrt.git at git.openwrt.git. Is there a reason why MPC83xx is not included in BB-RC3? It wasn't upgraded to Linux 3.10 in time, so

Re: [OpenWrt-Devel] [PATCH] tools: add missing ldconfig make dependency on the staging area

2014-09-16 Thread Felix Fietkau
On 2014-09-16 17:44, John Szakmeister wrote: Signed-off-by: John Szakmeister j...@szakmeister.net Committed in r42576, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

Re: [OpenWrt-Devel] [PATCH] libubus: fix build; add _GNU_SOURCE for O_CLOEXEC

2014-09-17 Thread Felix Fietkau
On 2014-09-15 13:26, Alexandru Ardelean wrote: --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index cb2f420..2d322a6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ SET(UBUS_MAX_MSGLEN 1048576)

Re: [OpenWrt-Devel] [RFC] netifd-device: add support for promisc setting

2014-09-17 Thread Felix Fietkau
On 2014-09-15 11:57, Martin Hundebøll wrote: Signed-off-by: Martin Hundebøll mar...@hundeboll.net --- device.c | 9 + device.h | 3 +++ system-linux.c | 10 ++ 3 files changed, 22 insertions(+) Applied and pushed to git. Thanks, - Felix

Re: [OpenWrt-Devel] [PATCH V2] reduce the build dependencies for ustream-ssl

2014-09-23 Thread Felix Fietkau
On 2014-09-23 09:51, thomas.lan...@lantiq.com wrote: without this change, all 3 ssl libraries are always built, even if no ssl support was selected in menuconfig reduce this to cyassl as it is the default variant Signed-off-by: Thomas Langer thomas.lan...@lantiq.com I would prefer having

Re: [OpenWrt-Devel] [PATCH 1/2] [kernel] Fix the ath9k pci eeprom init code to use the

2014-09-23 Thread Felix Fietkau
On 2014-09-22 15:04, Geoffrey McRae wrote: From 349a53426c78da1d02ecb8b8ade6b8c4de4057c2 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae ge...@spacevs.com Date: Mon, 22 Sep 2014 21:49:32 +1000 Subject: [PATCH 1/2] Lantiq: Fix the ath9k pci eeprom init code to use the BAR0 base address

Re: [OpenWrt-Devel] [RFC] Fix VLAN on Atheros AR8327N

2014-09-23 Thread Felix Fietkau
On 2014-09-17 20:25, Valentin Spreckels wrote: I'm interested in this feature. I tried to understand what the revoked patch changes and rewrote it. I submitted my changes two months ago: http://patchwork.openwrt.org/patch/5957/ http://patchwork.openwrt.org/patch/5958/ My patches attempt to

Re: [OpenWrt-Devel] [PATCH V2] reduce the build dependencies for ustream-ssl

2014-09-23 Thread Felix Fietkau
On 2014-09-23 12:17, thomas.lan...@lantiq.com wrote: Hello Felix, Felix Fietkau wrote on 2014-09-23: On 2014-09-23 09:51, thomas.lan...@lantiq.com wrote: without this change, all 3 ssl libraries are always built, even if no ssl support was selected in menuconfig reduce this to cyassl

Re: [OpenWrt-Devel] [RFC] Fix VLAN on Atheros AR8327N

2014-09-23 Thread Felix Fietkau
On 2014-09-23 19:19, Jiri Pirko wrote: Tue, Sep 23, 2014 at 12:22:02PM CEST, n...@openwrt.org wrote: On 2014-09-17 20:25, Valentin Spreckels wrote: I'm interested in this feature. I tried to understand what the revoked patch changes and rewrote it. I submitted my changes two months ago:

Re: [OpenWrt-Devel] [patch] [package] ca-certificates: create symbolic link for certificate hashes

2014-09-25 Thread Felix Fietkau
On 2014-09-18 10:56, Christian Schoenebeck wrote: From: Christian Schoenebeck christian.schoeneb...@gmail.com Date: Sun, 20 Jul 2014 10:48:50 +0200 Subject: [PATCH] [package] ca-certificates: create symbolic link for certificate hashes Implementing add-cert.sh functionality described at

Re: [OpenWrt-Devel] [PATCH] fix the build dependencies for uhttpd and ustream-ssl

2014-09-30 Thread Felix Fietkau
On 2014-09-30 09:59, Bas Mevissen wrote: On 09/29/2014 04:32 PM, thomas.lan...@lantiq.com wrote: Hello Bas, Hi Thomas, (...) My goal was to have the build dependencies reduced for the case no ssl is enabled. And that was fixed now with the help of Felix. It was never an issue

Re: [OpenWrt-Devel] uqmi - Specifying Link Protocol (libqmi --device-open-net=net-802-3 option)

2014-10-02 Thread Felix Fietkau
On 2014-10-01 21:12, Spam Catcher wrote: I'm trying to use uqmi with a Sierra Wireless MC7354 and MC7750. On both modules I'm able to bring up a connection to the cell network, but cannot send or receive anything on the wwan0 interface. After much digging I found an option for libqmi that

Re: [OpenWrt-Devel] Open source open process

2014-10-02 Thread Felix Fietkau
On 2014-10-02 11:06, Bruno Randolf wrote: Hi all, While we all agree that the OpenWRT core developers are doing great work, are really busy, and sometimes it's more important to fix a bug that to send an email, I think Etienne raises a valid point here: communication could be better and the

Re: [OpenWrt-Devel] [PATCH 2/3] busybox: allow own class B range to be used for zeroconf

2014-10-02 Thread Felix Fietkau
On 2014-10-02 15:41, Michel Stam wrote: 169.254 may be used by local networks. This patch allows specifying your own IP range. Signed-off-by: Michel Stam m.s...@fugro.nl Could you please also submit this and the other patch to busybox upstream? Thanks, - Felix

Re: [OpenWrt-Devel] Missing 'noexecstack' in uClibc MIPS builds

2014-10-03 Thread Felix Fietkau
On 2014-10-03 19:14, Catalin Patulea wrote: On Wed, Oct 1, 2014 at 6:42 PM, Andrew McDonnell b...@andrewmcdonnell.net wrote: It seems that OpenWRT sets the relevant flag to require uClibc to build with NOEXECSTACK set. This is good. (For one introduction to NOEXECSTACK, see

Re: [OpenWrt-Devel] [PATCH] Make sure modules are modposted after initramfs image is built

2014-10-05 Thread Felix Fietkau
On 2014-03-04 18:06, Hattink, Tjalling [FINT] wrote: Otherwise the modpost steps for individual modules that are compiled manually (using make package/name_of_module/install) will give warning of missing symbols when that module depends other modules. This is caused by the Module.symvers

Re: [OpenWrt-Devel] [PATCH] include: make sure modules are modposted after initramfs image is built

2014-10-05 Thread Felix Fietkau
On 2014-10-02 15:33, Michel Stam wrote: From: Tjalling Hattink t.hatt...@fugro.nl Otherwise the modpost steps for individual modules that are compiled manually (using make package/name_of_module/install) will give warning of missing symbols when that module depends other modules. This is

Re: [OpenWrt-Devel] Q: mac80211: defailt distance-settings 0

2014-10-07 Thread Felix Fietkau
On 2014-10-07 08:15, Bastian Bittorf wrote: i seems that '/lib/netifd/wireless/mac80211.sh' sets the default distance to '0' if not defined via uci. what does that mean? dynamic ack or not? because 0 seems to be a valid value: 0 does not imply dynamic ACK, it is simply the minimum value.

Re: [OpenWrt-Devel] [PATCH] cns3xxx: fix shared PCI interrupt mapping

2014-10-07 Thread Felix Fietkau
On 2014-10-06 21:23, Pushpal Sidhu wrote: This patch originally failed to combine INTA/B/C/D onto a single ARM CPU interrupt. Instead, it mapped INTA/B/C and excluded D. This patch corrects the issue by mapping all four interrupts to the single ARM CPU interrupt. The original intent of the

Re: [OpenWrt-Devel] [PATCH v2] mac80211: remove error from detect script

2014-10-08 Thread Felix Fietkau
On 2014-10-08 15:54, Michel Stam wrote: Signed-off-by: Michel Stam m.s...@fugro.nl --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/package/kernel/mac80211/files/lib/wifi/mac80211.sh

Re: [OpenWrt-Devel] just tripped over defect #14697

2014-10-08 Thread Felix Fietkau
On 2014-10-08 19:51, Robert P. J. Day wrote: tried a make V=s DUMP=1 and encountered precisely this bug: https://dev.openwrt.org/ticket/14697 this is on a fully-updated, fedora rawhide system for which all my non-DUMP openwrt makes have been working pretty well so far. This is not a

Re: [OpenWrt-Devel] just tripped over defect #14697

2014-10-08 Thread Felix Fietkau
On 2014-10-08 20:44, Robert P. J. Day wrote: On Wed, 8 Oct 2014, Felix Fietkau wrote: On 2014-10-08 19:51, Robert P. J. Day wrote: tried a make V=s DUMP=1 and encountered precisely this bug: https://dev.openwrt.org/ticket/14697 this is on a fully-updated, fedora rawhide system

Re: [OpenWrt-Devel] just tripped over defect #14697

2014-10-08 Thread Felix Fietkau
On 2014-10-08 21:05, Robert P. J. Day wrote: On Wed, 8 Oct 2014, Felix Fietkau wrote: On 2014-10-08 20:44, Robert P. J. Day wrote: On Wed, 8 Oct 2014, Felix Fietkau wrote: On 2014-10-08 19:51, Robert P. J. Day wrote: tried a make V=s DUMP=1 and encountered precisely this bug

Re: [OpenWrt-Devel] [PATCH v3] mac80211: remove error from detect script

2014-10-09 Thread Felix Fietkau
On 2014-10-09 10:56, Michel Stam wrote: Signed-off-by: Michel Stam m.s...@fugro.nl Committed in r42861, thanks. - Felix ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] [PATCH v3] mac80211: remove error from detect script

2014-10-09 Thread Felix Fietkau
On 2014-10-09 11:25, Bastian Bittorf wrote: * Michel Stam m.s...@fugro.nl [09.10.2014 11:16]: Signed-off-by: Michel Stam m.s...@fugro.nl --- package/kernel/mac80211/files/lib/wifi/mac80211.sh | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git

Re: [OpenWrt-Devel] [PATCH] toolchain: fix binutils broken symlink

2014-10-18 Thread Felix Fietkau
On 2014-10-18 20:59, Nathan Hintz wrote: The Makefile for binutils creates a broken symlink to binutils-linaro in trunk/build_dir/toolchain-target_gcc-4.9-linaro_uClibc-0.9.33.2. Modify the Makefile to point the symlink to the correct directory. Signed-off-by: Nathan Hintz

Re: [OpenWrt-Devel] [PATCH v4] brcm-wl: fix bash comparison error

2014-10-18 Thread Felix Fietkau
On 2014-10-18 13:55, Álvaro Fernández Rojas wrote: wlc returns a string number ending with \n, making it impossible to compare this value to a number. Signed-off-by: Álvaro Fernández Rojas nolt...@gmail.com --- v4: remove bashishm as suggested by Bastian Bittorf. v3: avoid using an extra

Re: [OpenWrt-Devel] [PATCH v2 3/3] hostapd: Add uapsd option to netifd.sh

2014-10-18 Thread Felix Fietkau
On 2014-10-14 20:05, Vittorio G (VittGam) wrote: The uapsd option sets the uapsd_advertisement_enabled flag in hostapd, only if the phy actually supports the option. Signed-off-by: Vittorio Gambaletta open...@vittgam.net --- package/network/services/hostapd/files/netifd.sh |9

  1   2   3   4   5   6   7   8   9   10   >