[OpenWrt-Devel] [PATCH v2] cron: Add path

2011-01-26 Thread kentarou matsuyama
Override PATH for /etc/init.d/cron. This is necessary to ensure all programs can be found when executing the script from remote by using ssh. (e.g. ssh IP /etc/init.d/cron restart) --- package/busybox/files/cron |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/package/busy

Re: [OpenWrt-Devel] [PATCH 01/13] cron: Add path

2011-01-26 Thread kentarou matsuyama
日 20:17), Felix Fietkau wrote: On 2011-01-26 9:12 AM, kentarou matsuyama wrote: Add /usr/sbin/ to PATH in case it is missing (e.g. when executing the script from remote by using ssh IP /etc/init.d/cron restart) --- package/busybox/files/cron |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-

[OpenWrt-Devel] [PATCH 02/13] dnsmasq: Fix parameter 'limit'

2011-01-26 Thread kentarou matsuyama
'limit' is actually the number of IP addresses to serve. See the use of ipcalc.sh. For getting the expected number of IP addresses served, we have to decrement limit by one. --- package/dnsmasq/files/dnsmasq.init |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/package/dns

[OpenWrt-Devel] [PATCH 01/13] cron: Add path

2011-01-26 Thread kentarou matsuyama
Add /usr/sbin/ to PATH in case it is missing (e.g. when executing the script from remote by using ssh IP /etc/init.d/cron restart) --- package/busybox/files/cron |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/package/busybox/files/cron b/package/busybox/files/cron index

[OpenWrt-Devel] [PATCH 13/13] iw: Fix data types for iw survey channel time

2011-01-26 Thread kentarou matsuyama
The channel times are unsigned 64 bit values, so we shouldn't print them as signed values. --- package/iw/patches/110-survey_phy_stats.patch | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package/iw/patches/110-survey_phy_stats.patch b/package/iw/pat

[OpenWrt-Devel] [PATCH 12/13] iw: Add signal average to station information

2011-01-26 Thread kentarou matsuyama
--- package/iw/patches/500-sta-signal-avg.patch | 36 +++ 1 files changed, 36 insertions(+), 0 deletions(-) create mode 100644 package/iw/patches/500-sta-signal-avg.patch diff --git a/package/iw/patches/500-sta-signal-avg.patch b/package/iw/patches/500-sta-signal-avg.

[OpenWrt-Devel] [PATCH 11/13] iw: Add support to print station retry counters

2011-01-26 Thread kentarou matsuyama
--- package/iw/patches/302-sta-retries.patch | 35 ++ 1 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 package/iw/patches/302-sta-retries.patch diff --git a/package/iw/patches/302-sta-retries.patch b/package/iw/patches/302-sta-retries.patch new

[OpenWrt-Devel] [PATCH 10/13] iw: Add ibss join parameter for beacon interval

2011-01-26 Thread kentarou matsuyama
NL80211_ATTR_BEACON_INTERVAL already exists, we just have to use it. --- package/iw/patches/501-ibss-bintval.patch | 57 + 1 files changed, 57 insertions(+), 0 deletions(-) create mode 100644 package/iw/patches/501-ibss-bintval.patch diff --git a/package/iw/patches/

[OpenWrt-Devel] [PATCH 09/13] iw: Add support for antenna configuration commands

2011-01-26 Thread kentarou matsuyama
--- package/iw/patches/401-antenna.patch | 82 ++ 1 files changed, 82 insertions(+), 0 deletions(-) create mode 100644 package/iw/patches/401-antenna.patch diff --git a/package/iw/patches/401-antenna.patch b/package/iw/patches/401-antenna.patch new file mode 1

[OpenWrt-Devel] [PATCH 08/13] mac80211: Add mac address filter configuration for hostapd

2011-01-26 Thread kentarou matsuyama
Add support of mac address filter. Now 'macfilter' and 'maclist' options can be used with mac80211. --- package/mac80211/files/lib/wifi/mac80211.sh | 23 ++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package

[OpenWrt-Devel] [PATCH 07/13] mac80211: Add new parameters to mac80211.sh

2011-01-26 Thread kentarou matsuyama
Add new options 'bintval' (beacon interval), 'basicrates' (basic rates) and 'antenna' (antenna selection) for /etc/config/wireless to be used with mac80211 drivers. Enable WEP encryption for IBSS mode. --- package/mac80211/files/lib/wifi/mac80211.sh | 11 ++- 1 files changed, 10 inserti

[OpenWrt-Devel] [PATCH 06/13] mac80211: Improve ath5k/ar71xx PCI bug WAR

2011-01-26 Thread kentarou matsuyama
It has been confirmed by Atheros that this PCI bug affects the RX side only, so we can keep the 128B DMA size for TX. With this change we can double the thruput of ath5k from 15Mps to 30Mbps. We have been using this patch since more than 6 month in a production environment without problems and a

[OpenWrt-Devel] [PATCH 05/13] x86/soekris: Add defconfig for soekris net4801 and net4826

2011-01-26 Thread kentarou matsuyama
Add default config file for net4801 and 4826 and initial script to copy config file like it is done for other platforms. --- target/linux/x86/base-files.mk |4 .../x86/base-files/etc/defconfig/net4801/network | 16 .../x86/base-files/etc/defconfig/

[OpenWrt-Devel] [PATCH 04/13] x86/soekris: Add script to detect soekris model

2011-01-26 Thread kentarou matsuyama
Add script to detect soekris board of net4801 and net4826. --- target/linux/x86/base-files/lib/soekris.sh | 19 +++ 1 files changed, 19 insertions(+), 0 deletions(-) create mode 100755 target/linux/x86/base-files/lib/soekris.sh diff --git a/target/linux/x86/base-files/lib/soekr

[OpenWrt-Devel] [PATCH 03/13] libnl-tiny: Fix for c++ compatibility

2011-01-26 Thread kentarou matsuyama
g++ compiler issued some errors like "invalid conversion from void* to *struct nl_attr" when compiling cpp file which calls libnl-tiny functions. (it's OK with gcc) Also see https://dev.openwrt.org/ticket/7854 --- package/libnl-tiny/Makefile |2 +- package/libnl-tiny/src