[OpenWrt-Devel] ath9k / longshot / 5 MHz enforced but 20 MHz shown

2013-10-21 Thread Bastian Bittorf
during debugging a problematic longshot i discovered, that /sys/kernel/debug/ieee80211/phy0/ath9k/chanbw show 0x5 - but 'iw dev wlan0 info' shows: Interface wlan0 ifindex 6 wdev 0x2 addr 00:15:6d:1c:6a:09 ssid bb type IBSS wiphy 0 channel

[OpenWrt-Devel] [PATCH libubox/uloop] Remove signal handle after uloop_run()

2013-10-21 Thread Kristian Evensen
From: Kristian Evensen kristian.even...@gmail.com uloop_run calls uloop_setup_signals() to set up signal handling before the while loop, but does not remove the signal handling after the loop has ended. This can cause problems for for example applications using the ubus file descriptor in their

Re: [OpenWrt-Devel] [PATCH libubox/uloop] Remove signal handle after uloop_run()

2013-10-21 Thread Felix Fietkau
On 2013-10-21 4:43 PM, Kristian Evensen wrote: From: Kristian Evensen kristian.even...@gmail.com uloop_run calls uloop_setup_signals() to set up signal handling before the while loop, but does not remove the signal handling after the loop has ended. This can cause problems for for

Re: [OpenWrt-Devel] ath9k / longshot / 5 MHz enforced but 20 MHz shown

2013-10-21 Thread Felix Fietkau
On 2013-10-21 11:18 AM, Bastian Bittorf wrote: during debugging a problematic longshot i discovered, that /sys/kernel/debug/ieee80211/phy0/ath9k/chanbw show 0x5 - but 'iw dev wlan0 info' shows: Interface wlan0 ifindex 6 wdev 0x2 addr 00:15:6d:1c:6a:09

Re: [OpenWrt-Devel] [PATCH libubox/uloop] Remove signal handle after uloop_run()

2013-10-21 Thread Felix Fietkau
On 2013-10-21 7:21 PM, Kristian Evensen wrote: Hi, On Mon, Oct 21, 2013 at 5:31 PM, Felix Fietkau n...@openwrt.org wrote: bool is a more appropriate type here than uint8_t Thanks for letting me know. I think you need to use a different approach. What you're doing here breaks recursive

[OpenWrt-Devel] [OpenWrt-Devel 4/4] Add profile and build image for Sagemcom F@ST2704V2 ADSL router

2013-10-21 Thread Marcin Jurkowski
This adds profile and build image for Sagemcom F@st2704, using b43 driver. For WiFi to work properly BCMA fallback SPROM support patch must be applied (http://git.io/z1Ki8A). Signed-off-by: Marcin Jurkowski marci...@gmail.com --- target/linux/brcm63xx/generic/profiles/202-Sagemcom.mk | 16

[OpenWrt-Devel] [OpenWrt-Devel 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router

2013-10-21 Thread Marcin Jurkowski
This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. Signed-off-by: Marcin Jurkowski marci...@gmail.com ---

[OpenWrt-Devel] [OpenWrt-Devel 3/4] Add userspace support for Sagemcom F@ST2704V2 ADSL router

2013-10-21 Thread Marcin Jurkowski
This adds userspace support for Sagemcom F@st 2704 router. Signed-off-by: Marcin Jurkowski marci...@gmail.com --- .../brcm63xx/base-files/etc/uci-defaults/01_leds | 19 +++ .../brcm63xx/base-files/etc/uci-defaults/02_network | 3 ++-

[OpenWrt-Devel] [OpenWrt-Devel 2/4] button-hotplug: Add KEY_RFKILL handling

2013-10-21 Thread Marcin Jurkowski
This extends button-hotplug to allow userspace handlers for rfkill events, enabling /etc/rc.button/rfkill script to work properly on routers with rfkill switch. Signed-off-by: Marcin Jurkowski marci...@gmail.com --- package/kernel/button-hotplug/src/button-hotplug.c | 3 +++ 1 file changed, 3

Re: [OpenWrt-Devel] [OpenWrt-Devel 4/4] Add profile and build image for Sagemcom F@ST2704V2 ADSL router

2013-10-21 Thread Weedy
On 21 Oct 2013 14:47, Marcin Jurkowski marci...@gmail.com wrote: This adds profile and build image for Sagemcom F@st2704, using b43 driver. For WiFi to work properly BCMA fallback SPROM support patch must be applied (http://git.io/z1Ki8A). ... I can put a real OS on this pile of ass? I CAN

[OpenWrt-Devel] [PATCH] ar71xx: Backport DIR-825 C1 support to AA

2013-10-21 Thread Sebastian Kemper
This is a backport to add support for D-Link's DIR-825 rev. C1 to the Attitude Adjustment branch. Signed-off-by: Sebastian Kemper sebastian...@gmx.net --- I don't know with certainty how open the OpenWrt project is towards backporting a router from trunk to the stable branch. This backport is

Re: [OpenWrt-Devel] [OpenWrt-Devel 1/4] Add kernel support for Sagemcom F@ST2704V2 ADSL router

2013-10-21 Thread Florian Fainelli
2013/10/21 Marcin Jurkowski marci...@gmail.com: This adds kernel support support for Sagemcom F@st 2704 wireless ADSL router. It's a BCM6328-based 802.11n wireless router with USB port and ADSL2+ modem equipped with 64 MiB RAM and 8 MiB flash. Signed-off-by: Marcin Jurkowski