Commit Graph

6863 Commits

Author SHA1 Message Date
Felix Fietkau
9f73d47912 ath5k: revert a buggy tx power related patch
SVN-Revision: 33062
2012-08-08 18:23:00 +00:00
Florian Fainelli
31e46b4293 base-files: check for ldd presence and executability (#11991)
SVN-Revision: 33057
2012-08-08 15:37:34 +00:00
Felix Fietkau
4d39f3f405 ath9k: fix hang issues on hw reset caused by interrupt storms
SVN-Revision: 33055
2012-08-08 12:56:44 +00:00
Jo-Philipp Wich
55c322dc68 hostapd: fix ap/sta regression which got accidentally introduced by r32829 (#11914)
SVN-Revision: 33053
2012-08-08 11:13:12 +00:00
Florian Fainelli
5d37f15006 busybox: support V=c toplevel verboseness flag (#11799)
Signed-off-by: Gregory M. Turner <gmt@malth.us>

SVN-Revision: 33035
2012-08-07 16:08:11 +00:00
Florian Fainelli
105c0d3fa4 w1-gpio-custom: set enable_external_pullup to null (#8952)
SVN-Revision: 33034
2012-08-07 16:08:08 +00:00
Felix Fietkau
143ef2c8ff ath9k: completely disable the MIB interrupt from the interrupt mask register to prevent potential interrupt storms
SVN-Revision: 33032
2012-08-07 09:36:24 +00:00
Felix Fietkau
a55de42c7d ath9k: extend and enable PA predistortion
SVN-Revision: 33031
2012-08-06 22:11:30 +00:00
Felix Fietkau
74c27a1a92 mac80211: do not delete linux/*_platform.h, they are touched by patches. instead make the build fail if they differ from the ones in the kernel tree to prevent subtle runtime issues (see #11981)
SVN-Revision: 33030
2012-08-06 20:18:07 +00:00
John Crispin
54f30d4f46 fixes tapi dependencies
SVN-Revision: 33029
2012-08-06 18:56:38 +00:00
John Crispin
12c6df34cd fixes package description
SVN-Revision: 33028
2012-08-06 18:54:36 +00:00
Felix Fietkau
0796df61af ath5k: add various pending tx power fixes, vastly improves stability and performance with various cards
SVN-Revision: 33014
2012-08-06 15:33:24 +00:00
Hauke Mehrtens
19a8508046 mac80211: remove header files used to share struct with platform code.
The structs defined in these header files should be the same as the
structes used by the platform code otherwise it will cause strange
runtime errors. By removing them from compat-wireless we will get a
compile error instead of a runtime error if they are out of sync.

SVN-Revision: 33006
2012-08-05 23:43:36 +00:00
Hauke Mehrtens
40f139b53b switch: clean up robo switch driver
* remove use_et, all supported drivers are using mii ioctls
 * remove robo.phy_addr, phy_addr was always set to ROBO_PHY_ADDR.
 * remove support for old kernel versions
 * do_ioctl is allways called with buff == NULL
 * use if_mii

SVN-Revision: 33002
2012-08-05 13:10:43 +00:00
John Crispin
1ae8b7c433 fix xen pci module, partially fixes #11970
SVN-Revision: 32996
2012-08-05 08:16:50 +00:00
Hauke Mehrtens
0758996824 brcm47xx: use libgpio instaed of implementing the gpio interface ourself.
SVN-Revision: 32992
2012-08-04 19:46:25 +00:00
John Crispin
3942aebedc gspca-sn9c20x.ko was not insmod'ed due to typo
fixes #11973

SVN-Revision: 32991
2012-08-04 19:17:49 +00:00
John Crispin
23f6ec6ef6 wrt55agv2-spidevs needs <linux/modules.h>
SVN-Revision: 32956
2012-08-03 09:38:24 +00:00
Florian Fainelli
83907c10ed uclibc++: update to 0.2.4
SVN-Revision: 32929
2012-08-01 12:01:24 +00:00
Florian Fainelli
5df254664f uclibc++: stage g++-uc wrappers in $(TOOLCHAIN_DIR)
Since we are overriding TARGET_CXX with the g++-uc wrapper when
we use cmake it expects to find g++-uc in the TOOLCHAIN_DIR.

SVN-Revision: 32928
2012-08-01 12:01:18 +00:00
Florian Fainelli
e29d26e56f partially revert r32855
Too many modules were removed, while only the octeon module was meant to be
removed, fix that.

SVN-Revision: 32909
2012-07-29 13:20:47 +00:00
John Crispin
1f58c9b6c1 dont build on arm as kernel headers are missing/have a different layout
SVN-Revision: 32904
2012-07-29 09:07:47 +00:00
John Crispin
101766fb00 clean up pwm patches and drivers
SVN-Revision: 32901
2012-07-28 20:47:08 +00:00
Florian Fainelli
6afd1725f1 base-files: fix detection of standalone ldd
When standalone ldd is selected in config the binary is installed in /usr/bin/ldd.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 32891
2012-07-27 15:35:00 +00:00
John Crispin
9beec09f5f mae brcmutil depend on PCI and USB. This broke ar7 fullbuilds
SVN-Revision: 32886
2012-07-27 08:30:05 +00:00
Hauke Mehrtens
0c75abf527 bcma: update to version from wireless-testing tag master-2012-07-16
I did not add the last patch, because it add some stubs for the flash drivers and our patches have to be changed for that, if the flash support in bcma is able to do something I will integrate it.

This also contains 3 additional patches fixing some bugs in bcma.

SVN-Revision: 32880
2012-07-26 15:42:18 +00:00
Florian Fainelli
4a3cbbf99d make kmod-mvsas depend on x86 since it fails building on other targets (eg: brcm63xx)
SVN-Revision: 32878
2012-07-26 09:29:22 +00:00
Florian Fainelli
d359d46182 make kmod-fb dependent on DISPLAY_SUPPORT and update targets accordingly
SVN-Revision: 32869
2012-07-25 19:36:19 +00:00
Felix Fietkau
5832e754fb mtd: fix trx_fixup
With the BRCM47xx image I have built (Linksys E3000), there are additional
writes following the completion of "mtd_replace_jffs2" which invalidate the
'trx_fixup' performed by 'mtd_replace_jffs2'.  Moving the 'trx_fixup' to somewhere
after all writes have completed fixes the problem.  I also noticed that 'erasesize'
used to compute 'block_offset' in 'mtd_fixtrx' is used before it is computed by
'mtd_check_open'; moving the call to 'mtd_check_open' up a few lines fixes this.

Unlike 'mtd_fixtrx', 'trx_fixup' appears to assume that the TRX header is always at
offset 0; which may be the cause of the problem described in Ticket #8960.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>

SVN-Revision: 32866
2012-07-25 17:28:32 +00:00
Florian Fainelli
adc2b21be8 move isp116x driver to target specific modules.mk
SVN-Revision: 32865
2012-07-25 15:50:45 +00:00
Florian Fainelli
1627b2bb4b move rt305x-dwc driver to target specific modules.mk
SVN-Revision: 32864
2012-07-25 15:50:42 +00:00
Florian Fainelli
c7a69869f7 move ubsec-ssb driver to target specific modules.mk
SVN-Revision: 32863
2012-07-25 15:50:38 +00:00
Florian Fainelli
d1b2087a35 move ssb-gige to target specific modules.mk
SVN-Revision: 32862
2012-07-25 15:50:36 +00:00
Florian Fainelli
c14d907b8b move usb driver to target specific modules.mk
SVN-Revision: 32861
2012-07-25 15:50:33 +00:00
Florian Fainelli
5b2450ef4f kmod-r6040 depends on PCI_SUPPORT
SVN-Revision: 32860
2012-07-25 15:50:29 +00:00
Florian Fainelli
3b5a8548f4 move mmc driver to target specific modules.mk
SVN-Revision: 32859
2012-07-25 15:50:26 +00:00
Florian Fainelli
18038c803c move ixp4xx-eth to target specific modules.mk
SVN-Revision: 32858
2012-07-25 15:50:23 +00:00
Florian Fainelli
53402a64b3 kmod-gpio-nxp74hc164 is not brcm63xx specific
SVN-Revision: 32857
2012-07-25 15:50:20 +00:00
Florian Fainelli
4000de357e move crypto module to target specific modules.mk
SVN-Revision: 32856
2012-07-25 15:50:16 +00:00
Florian Fainelli
a282e37c09 move i2c driver to target modules.mk
SVN-Revision: 32855
2012-07-25 15:50:13 +00:00
Florian Fainelli
accbc20045 move watchdog driver to target specific modules.mk
SVN-Revision: 32854
2012-07-25 15:50:10 +00:00
Florian Fainelli
23ffbad602 move target specific spi modules
SVN-Revision: 32853
2012-07-25 15:50:04 +00:00
Florian Fainelli
1859500829 move target specific leds modules to ar71xx modules.mk
SVN-Revision: 32852
2012-07-25 15:50:02 +00:00
Florian Fainelli
c3b9a987b7 move leds modules back to target modules.mk
SVN-Revision: 32851
2012-07-25 15:49:57 +00:00
Florian Fainelli
bca45d6d8a move i2c modules back to target modules.mk
SVN-Revision: 32850
2012-07-25 15:49:54 +00:00
Florian Fainelli
29ccabae44 fix network devices modules to depend on PCI instead of x86
SVN-Revision: 32849
2012-07-25 15:49:52 +00:00
Florian Fainelli
2bfb2a797c move more x86-specific modules back to target modules.mk
SVN-Revision: 32848
2012-07-25 15:49:49 +00:00
Florian Fainelli
276bc6b9e8 fix libsas and mvsas dependencies against PCI and not x86
SVN-Revision: 32847
2012-07-25 15:49:46 +00:00
Florian Fainelli
d973768580 move x86 specific ide/pata modules to x86' modules.mk
SVN-Revision: 32846
2012-07-25 15:49:42 +00:00
Florian Fainelli
89a312bf48 split framebuffer helper modules to their own packages
SVN-Revision: 32843
2012-07-25 14:01:54 +00:00
John Crispin
2113c65f95 fixes build for 3.x kernel and remove old 2.6.x references
Signed-off-by: christoph.thielecke@gmx.de

SVN-Revision: 32832
2012-07-24 23:07:35 +00:00
John Crispin
7639c9b580 mac80211/hostapd: add support for HT capa in case of IBSS/RSN
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32830
2012-07-24 23:07:25 +00:00
John Crispin
8b3882224a wpa_supplicant: add more parameters
Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32829
2012-07-24 23:07:15 +00:00
John Crispin
3f3268c0c2 hostapd: add pending patches
add patched needed to pass more parameters to the IBSS JOIN command

Signed-off-by: Antonio Quartulli <ordex@autistici.org>

SVN-Revision: 32828
2012-07-24 23:07:10 +00:00
John Crispin
0e9e7dcd10 adds target used by rapsberry pi
Add support for Raspberry Pi / brcm2708 / 2835

Signed-off-by: Ian Ridge <ianridge [at] gmail.com>

SVN-Revision: 32825
2012-07-24 20:39:17 +00:00
John Crispin
543a2eca42 ext4 support
This patch adds the ext4 filesystem support to mountd. Tested with ext2, ext3
and ext4 partitions.

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32818
2012-07-24 20:38:26 +00:00
John Crispin
ab05409315 add support for Rt3352 in rt2x00 driver
Forgot to do make package/mac80211/update, so the previously posted patch wasn't
in sync with compat-wireless. Now fixed.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32817
2012-07-24 20:38:20 +00:00
Florian Fainelli
cb0eccf529 orion_wdt is also available on kirkwood
SVN-Revision: 32811
2012-07-24 19:43:58 +00:00
Florian Fainelli
93dc8c8d1b move omap specific modules to modules.mk
SVN-Revision: 32810
2012-07-24 19:43:54 +00:00
Florian Fainelli
82c7e05d42 move n810 battery module to omap24 modules.mk
SVN-Revision: 32809
2012-07-24 19:43:49 +00:00
Florian Fainelli
25e20b0b57 move target specific modules to target's module.mk
SVN-Revision: 32808
2012-07-24 19:43:45 +00:00
Florian Fainelli
502d369283 create kmod-fb and update xen framebuffer module
SVN-Revision: 32805
2012-07-24 19:43:27 +00:00
Florian Fainelli
0a9732d44a add sound-soc-ac97 package
SVN-Revision: 32801
2012-07-24 19:43:10 +00:00
Florian Fainelli
3f81add464 add kmod-regmap including both i2c and spi modules
This is required for quite SoC sound support

SVN-Revision: 32800
2012-07-24 19:43:06 +00:00
Felix Fietkau
edd2ef094a ath5k: add tx power related fixes
SVN-Revision: 32793
2012-07-23 22:20:57 +00:00
Vasilis Tsiligiannis
20eddc1e92 Revert "[package] kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too"
Preserve alphabetical order on KCONFIG and description for consistency with other module packages

This reverts commit r32775.

SVN-Revision: 32791
2012-07-23 19:17:05 +00:00
Jo-Philipp Wich
b2c4924bb4 owipcalc: fix output formatting quirks
SVN-Revision: 32786
2012-07-20 15:05:30 +00:00
Jo-Philipp Wich
585ebed25f owipcalc: add new operations "next", "prev", "6to4" and "pop", implement a stack for intermediate results
SVN-Revision: 32785
2012-07-20 13:43:10 +00:00
Felix Fietkau
015d66cffb grub: replace an unnecessary piece of inline assembly that breaks the build on recent mac os x
SVN-Revision: 32784
2012-07-20 12:28:54 +00:00
Jo-Philipp Wich
3107a09548 owipcalc: add "prefix" operation to set prefix of base address during calculation
SVN-Revision: 32782
2012-07-19 19:51:53 +00:00
Vasilis Tsiligiannis
7b778aba7c dnsmasq: Fix DHCP no address on interface warning (#10570)
SVN-Revision: 32781
2012-07-19 19:12:54 +00:00
Jo-Philipp Wich
24a28fb0d2 owipcalc: remove binary
SVN-Revision: 32779
2012-07-19 16:17:57 +00:00
Jo-Philipp Wich
542eed0143 add owipcalc - a small ipv4 & ipv6 calculation utility
SVN-Revision: 32778
2012-07-19 16:17:23 +00:00
Hamish Guthrie
4d844e10ab Increase iwlist buffer size
SVN-Revision: 32777
2012-07-19 08:36:11 +00:00
Luka Perkov
6ab7360d18 kernel/modules: dont only change loading order on IPSEC*-m, propagate this to documentation too
SVN-Revision: 32775
2012-07-17 23:11:31 +00:00
Luka Perkov
0a064ed6e6 uboot-envtools: add support for alfa ap96
SVN-Revision: 32774
2012-07-17 23:11:29 +00:00
Vasilis Tsiligiannis
82c4050fd5 kernel/modules: fix ipcomp6 load order
ipcomp6 depends on xfrm6_tunnel, load order changed accordingly.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32773
2012-07-17 20:50:44 +00:00
Jo-Philipp Wich
c3b98c8fc7 toolchain: fix libgcc and libgfortran packages for avr32 and coldfire
SVN-Revision: 32772
2012-07-17 17:33:13 +00:00
Vasilis Tsiligiannis
81a84b03ea dnsmasq: Bump to 2.62, add DHCPv6 variant
SVN-Revision: 32764
2012-07-17 11:48:27 +00:00
Felix Fietkau
cf9bca8ded mac80211: update to latest wireless-testing + some monitor mode fixes and some libertas driver fixes
SVN-Revision: 32760
2012-07-16 23:50:54 +00:00
Luka Perkov
84585b45d6 uboot-envtools: add kirkwood board support
SVN-Revision: 32756
2012-07-16 22:32:00 +00:00
Felix Fietkau
b893cfb276 uboot-ar71xx: fix compile on recent mac os x versions
SVN-Revision: 32750
2012-07-16 16:26:51 +00:00
Jo-Philipp Wich
b29239d9f0 usbreset: improve usability - add device list in usage screen - support resetting by bus/device number, by produc:vendor id or by device name
SVN-Revision: 32741
2012-07-16 00:39:39 +00:00
Felix Fietkau
4f66299903 ath5k: fix txop calculation similar to what was done in ath9k
SVN-Revision: 32735
2012-07-15 15:20:30 +00:00
Felix Fietkau
934cc69768 ath9k: fix an uninitialized variable warning
SVN-Revision: 32734
2012-07-15 15:20:26 +00:00
Luka Perkov
03a6d65c37 kernel: add Marvell SoC built-in RTC to modules
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32732
2012-07-15 14:25:30 +00:00
Vasilis Tsiligiannis
61095c10dd toolchain: Fix typo in libssp config
SVN-Revision: 32723
2012-07-15 10:46:41 +00:00
Luka Perkov
dc2d62d3ac uboot-kirkwood: update to 2012.04.01
iConnect board tested by:

Tim Fletcher <tim@night-shade.org.uk>
Wojciech Dubowik <wojciech.dubowik@neratec.com>

DockStar board tested by:

Martin Mueller <mm@sig21.net>

RaidSonic ICY BOX NAS6210 board tested by:

Luka Perkov <uboot@lukaperkov.net>

SheevaPlug was not tested but support for SheevaPlug is taken from upstream
uboot and it is not reported to be broken there.

SVN-Revision: 32717
2012-07-14 23:54:20 +00:00
Luka Perkov
8f563df48f package: kernel: estetic fix
SVN-Revision: 32714
2012-07-14 23:10:32 +00:00
Vasilis Tsiligiannis
087caa57e3 kernel: enable kernel support for ALSA midi
Here is a newer version of the patch:

Enable the real ALSA midi interface (seq) in the kernel. The existing
rawmidi interface is still present. This allows for the alsa midi
utilities to work.

Signed-off-by: Adam Goode <adam@spicenitz.org>
[b_tsiligiannis: replaced $(LINUX_KMOD_SUFFIX) with .ko]
Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr>

SVN-Revision: 32712
2012-07-14 20:10:57 +00:00
Vasilis Tsiligiannis
9ab1df3f48 base-files: Modernize hotplug2 rules (#11368)
SVN-Revision: 32711
2012-07-14 19:59:44 +00:00
Felix Fietkau
7eedaace1a ath9k: add extra checks to reduce the amount of unnecessary rx dma related logspam
SVN-Revision: 32709
2012-07-14 17:48:49 +00:00
Felix Fietkau
877797c60e ath9k: fix 5 ghz frequency selection on ar934x devices with 25 mhz refclock
SVN-Revision: 32705
2012-07-13 23:18:11 +00:00
Jo-Philipp Wich
00f1b1d62a uhttpd: various changes
- remove unused variables
	- simply ignore command line args which belong to not enabled features
	- resolve peer address at accept() time, should solve (#11850)
	- remove floating point operations where possible

SVN-Revision: 32704
2012-07-13 17:10:56 +00:00
Felix Fietkau
abc3d9493b netifd: update to latest version, fixes wlan network state getting stuck on wifi restarts, adds support for setting wlan device parameters such as mtu or txqueuelen
SVN-Revision: 32689
2012-07-12 21:50:49 +00:00
Felix Fietkau
f600a611ad librpc: fix rpc/netdb.h compatibility issues, fixes curl compile error with eglibc
SVN-Revision: 32686
2012-07-12 16:24:01 +00:00
Felix Fietkau
a1f0b3a771 ath9k: fix selecting the second antenna on a single-stream device with diversity
SVN-Revision: 32685
2012-07-12 14:45:59 +00:00
Felix Fietkau
c78c2f80a1 mac80211: fix an ap + sta mode regression that prevented the sta from connecting (#11847)
SVN-Revision: 32684
2012-07-12 14:14:57 +00:00
Luka Perkov
f3112b06d2 openssl: enable the use of cryptodev digests
SVN-Revision: 32673
2012-07-11 23:38:16 +00:00
Hauke Mehrtens
5e4100bcf9 mac80211: update brcmsmac patches
SVN-Revision: 32671
2012-07-11 22:18:09 +00:00
Felix Fietkau
d23e0491f0 ath9k: add a number of ar93xx eeprom related fixes / enhancements
SVN-Revision: 32669
2012-07-11 16:45:58 +00:00
Felix Fietkau
883e308016 ath9k: add missing part of the aggregation duration fix
SVN-Revision: 32668
2012-07-11 16:44:13 +00:00
Jo-Philipp Wich
f9eede184e mac80211: fix patch order (#11839, #11842)
SVN-Revision: 32664
2012-07-11 09:59:08 +00:00
Jo-Philipp Wich
0000ce2271 uhttpd: retry parsing the CGI header until the buffer space is exhausted
SVN-Revision: 32662
2012-07-11 09:59:05 +00:00
Felix Fietkau
32eef456df ath9k: fix some bugs related to txop limit handling and aggregation
SVN-Revision: 32658
2012-07-11 02:11:33 +00:00
Felix Fietkau
ed06d0bb26 ath9k: disable hardware full sleep with active client mode interface until mac80211 IEEE80211_CONF_IDLE support has been fixed
SVN-Revision: 32657
2012-07-10 23:42:30 +00:00
Felix Fietkau
7f153913f8 ath9k: clean up / fix some initval related code
SVN-Revision: 32656
2012-07-10 01:13:15 +00:00
Felix Fietkau
b718813b57 mac80211: update to latest version, fix tx gain patch
SVN-Revision: 32655
2012-07-10 00:21:25 +00:00
Felix Fietkau
178df184a1 libubox: update to latest version, fixes timer/process deletion on uloop_done()
SVN-Revision: 32654
2012-07-09 15:13:26 +00:00
Jo-Philipp Wich
4127e73b84 firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set
SVN-Revision: 32652
2012-07-09 12:23:36 +00:00
Jo-Philipp Wich
86de034767 uhttpd: various fixes
- avoid closing descriptors before removing them from uloop (#11755, #11830)
    - do not auto-initialize ubus if no prefix is set (#11832)
    - remove extraneous client context pointer from cgi and lua states
    - code cleanups and debug message changes

SVN-Revision: 32651
2012-07-09 00:08:20 +00:00
Felix Fietkau
be8a73be3d ath9k: fix the ar9340 tx gain patch
SVN-Revision: 32647
2012-07-07 20:03:35 +00:00
Felix Fietkau
e764dd1132 ath9k: fix tx gain tables for ar934x
SVN-Revision: 32646
2012-07-07 17:34:33 +00:00
Jo-Philipp Wich
bd1cfd2cca libubox: bump to latest git head - uloop: prevent callback invocation for already removed descriptors - uloop: handle EPOLLHUP - blob, blobmsg: various changes
SVN-Revision: 32645
2012-07-07 16:49:17 +00:00
Jo-Philipp Wich
92e2e3f567 uhttpd: do not dispatch pipe error events, fixes use after free for cgi and lua scripts
SVN-Revision: 32644
2012-07-07 16:43:27 +00:00
Jo-Philipp Wich
1f2d5da887 uhttpd: do not subscribe to epoll write events Watch child read pipe end for data instead of relying on socket write notification to process cgi data, should lower cpu consumption during requests on weaker devices.
SVN-Revision: 32640
2012-07-06 17:29:25 +00:00
Gabor Juhos
6fbb548eb9 uboot-envtools: OM2P LC support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32636
2012-07-06 11:11:59 +00:00
Jo-Philipp Wich
a650d33490 iwinfo: properly deal with channels 7..12 on 5GHz
SVN-Revision: 32634
2012-07-06 09:30:50 +00:00
Jo-Philipp Wich
4347abcaf6 iwinfo: find channel & frequency via nl80211 or hostapd instead of wext
SVN-Revision: 32630
2012-07-06 01:00:14 +00:00
Felix Fietkau
d8bf3d82e5 netifd: update to latest version, fixes various issues related to interface alias handling, improves handling of wifi interfaces in /etc/config/network
SVN-Revision: 32625
2012-07-05 18:42:29 +00:00
Jo-Philipp Wich
ed98b1f41c package/dnsmasq: allow /etc/config/dhcp to specify --address arguments
Add a config list to the 'config dnsmasq' section to specify fixed DNS
addresses.

For example:

  config dnsmasq:
	[snip]
	list address '/example.com/192.168.0.1'

will result in the argument '-A /example.com/192.168.0.1' to the dnsmasq
options. This configures dnsmasq to return the specified IP for any
queries to '*.example.com' names.

Useful for overriding lookups to a range of DNS names.

[jow: "append args" -> "xappend", "-A" -> "--address"]

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

SVN-Revision: 32624
2012-07-05 17:54:14 +00:00
Jo-Philipp Wich
8de3880c02 Add local TTL option to dnsmasq
-T, --local-ttl=<time>
    When replying with information from /etc/hosts or the DHCP leases
file dnsmasq by default sets the time-to-live field to zero, meaning
that the requestor should not itself cache the information. This is
the correct thing to do in almost all situations. This option allows a
time-to-live (in seconds) to be given for these replies. This will
reduce the load on the server at the expense of clients using stale
data under some circumstances.

[jow: change -T to --local--ttl to conform with the other options]

Signed-off-by: Andrew Byrne <openwrt@andy.id.au>

openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

SVN-Revision: 32623
2012-07-05 17:46:32 +00:00
Jo-Philipp Wich
cc5187c024 dropbear: set DEFAULT_PATH for non-interactive logins
Set PATH in non-interactive logins to include /sbin paths,
so to be consistent with what is currently set in /etc/profile
for interactive shells.

[jow: reapply with current patch level, fix inner patch, refresh]

Signed-off-by: Gui Iribarren <gui@altermundi.net>

SVN-Revision: 32620
2012-07-05 16:44:05 +00:00
Jo-Philipp Wich
17f5287b0e hostapd: change wpa_supplicant.sh to pass 64 byte hex psk unquoted and remove the undocumented usepasspharse option, this makes it match the logic of the hostapd setup
SVN-Revision: 32614
2012-07-05 12:25:29 +00:00
Gabor Juhos
79910a3e71 uboot-envtools: OM2P partition information
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32612
2012-07-05 08:26:55 +00:00
Gabor Juhos
518a70f06c package/om-watchdog: add om2p-lc support
Patch-by: Marek Linder <marek@open-mesh.com>

SVN-Revision: 32610
2012-07-05 08:26:52 +00:00
Jo-Philipp Wich
38cb1da868 mtd - remove partition table assumption when writing fis table
When mtd alters the fis partition table it assumes that the first partition
table entry also is the first logical parition table entry. For instance our
table could look like this (irrelevant partitions put aside):
 * vmlinux.bin.l7 0xA8710000
 * rootfs         0xA8030000
Here mtd would assume vmlinux.bin.l7 being the first partition and use its
address to calculate the size and offset which ultimately leads to a broken
partition table.
This patch alters the behavior by checking what partition has the smaller
address to do the calculations based on that address.

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>

SVN-Revision: 32601
2012-07-04 11:56:25 +00:00
Jo-Philipp Wich
0b83775202 mtd - add partition offset parameter
The offset parameter can be used to write the data at the offset
instead of writing it to the beginning of the partition.

Signed-off-by: Marek Linder <lindner_marek@yahoo.de>

SVN-Revision: 32600
2012-07-04 11:37:53 +00:00
Travis Kemen
62d9f257a1 mac80211: make channel bandwidth setting generic
SVN-Revision: 32596
2012-07-04 00:25:46 +00:00
Travis Kemen
9452ad74bb commit patch from https://lists.ath5k.org/pipermail/ath5k-devel/2011-November/005043.html, fixed up for newer ath5k and added in more radios.
SVN-Revision: 32595
2012-07-04 00:09:18 +00:00
Felix Fietkau
5cd249655d ath9k: add a patch to make the hw queue length configurable via debugfs
SVN-Revision: 32589
2012-07-03 21:00:47 +00:00
Gabor Juhos
5ad36ca723 mac80211: add support for AR9550
SVN-Revision: 32588
2012-07-03 18:05:04 +00:00
Jo-Philipp Wich
ff3161a6c4 base-files: ensure that /sys is available during sysupgrade, some essential services like om-watchdog need it
SVN-Revision: 32587
2012-07-03 15:43:43 +00:00
Jo-Philipp Wich
b2e2de794e 6to4: fix ifname resolving for adv_interface option (#11796)
SVN-Revision: 32576
2012-07-02 12:14:50 +00:00
Jo-Philipp Wich
bcacf552fd netifd: repair dhcp client id option Busybox udhcpc dropped support for the -c option, instead it can be emulated by using -x 0x3d:id, change the dhcp protocol script accordingly and filter all colons from the id while we're at it. This change supersedes http://patchwork.openwrt.org/patch/1810/
SVN-Revision: 32573
2012-07-01 12:43:14 +00:00
Jo-Philipp Wich
faab751760 dnsmasq: introduce "add_local_hostname" and "add_local_domain" options - add_local_domain defaults to 1 and controls whether the local domain is written as search directive to the local resolv.conf - add_local_hostname defaults to 1 and controls whether A and PTR records are created automatically for the local hostname These change supersedes http://patchwork.openwrt.org/patch/2207/ and http://patchwork.openwrt.org/patch/2208/
SVN-Revision: 32570
2012-07-01 11:32:46 +00:00
Jo-Philipp Wich
c49f8068cd package/dnsmasq: permit UCI configuration of --dhcp-fqdn option
This adds a new boolean option, fqdn, to the "config dnsmasq" section of
/etc/config/dhcp. The default is off. When set on, it enables the dhcp-fqdn
option to dnsmasq. dhcp-fqdn causes dnsmasq's DNS server to not resolve
unqualifed local hostnames. The "domain" option is required when using "fqdn".
Local hostnames will remain available for lookup using fully-qualified names.

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32569
2012-07-01 11:32:45 +00:00
Jo-Philipp Wich
7f573ef7e3 package/dnsmasq: permit dhcp_option in global dnsmasq config section
dnsmasq currently permits dhcp_options to be specified only in "config dhcp"
sections of /etc/config/dhcp. When dnsmasq is providing DHCP service for
multiple subnets and there are multiple "config dhcp" sections without "option
ignore", it makes sense to allow dhcp_options that should apply globally in
the "config dnsmasq" section of /etc/config/dhcp. dhcp_option is a list option.

[jow: rework patch to apply after dhcp-option-force handling got introduced]

Signed-off-by: Mark Mentovai <mark@moxienet.com>

SVN-Revision: 32568
2012-07-01 11:32:29 +00:00
Jo-Philipp Wich
6e419fbdeb Fix extroot by UUID
Extroot works fine when the target device is specified by a path. It fails
however if the device is specified by UUID (the target partition gets mounted
much later by hotplug hooks). This is because the blkid command is no longer
compiled into BusyBox (since changeset [1]) so it's unavailable for the
preinit phase.

The closest bug report I was able to find is [2], although the reporting person
mentions that /tmp/overlay-disabled showed up which wasn't there in my case.

This patch sets PATH and LD_LIBRARY_PATH environment variables so that the
blkid command installed on the target device can be used by that particular
preinit script.

[1] https://dev.openwrt.org/changeset/26245
[2] https://dev.openwrt.org/ticket/10653

Signed-off-by: Jaroslaw Swierczynski <jarek1701@gmail.com>

SVN-Revision: 32567
2012-07-01 11:06:32 +00:00
Jo-Philipp Wich
5d3f21904f kernel/modules: load pppol2tp after pppox
l2tp_ppp needs to be loaded after pppox, otherwise it ends up like this:
l2tp_ppp: Unknown symbol pppox_ioctl (err 0)
...
during boot.
I also fixed the dependency, it should be pppox rather than pppoe.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 32562
2012-07-01 10:34:45 +00:00
Jo-Philipp Wich
b2e5c5f82e base-files: implement network_get_dnsserver() and network_get_dnssearch() in /lib/functions/network.sh
SVN-Revision: 32531
2012-06-29 19:04:11 +00:00
Felix Fietkau
5c49ad2096 ath9k: revert an upstream initval update to fix a rx sensitivity regression on ar9380 (fixes #11756)
SVN-Revision: 32528
2012-06-29 17:59:39 +00:00
Jo-Philipp Wich
e654014352 base-files: only consider enabled default routes when finding the wan iface (#11774)
SVN-Revision: 32525
2012-06-29 11:58:35 +00:00
Jo-Philipp Wich
1f8d8dca76 netifd: update to current git head, exposes enabled state, mtu and metric overrides for routes
SVN-Revision: 32524
2012-06-29 11:42:15 +00:00
Felix Fietkau
dd80e8de1f ath9k: de-duplicate initvals, reduces uncompressed binary size by 24 KB
SVN-Revision: 32517
2012-06-28 00:34:19 +00:00
Felix Fietkau
669e79a45b ath9k: update the ar934x initvals
SVN-Revision: 32516
2012-06-27 22:32:56 +00:00
Felix Fietkau
cbf93f02ba ath9k: remove the queue length limiting patch, the approach was experimental, not used by default and a different solution is required
SVN-Revision: 32515
2012-06-27 22:32:51 +00:00
Felix Fietkau
6c2a295245 base-files: enable TCP timestamps, enable sack/dsack. (patch by Dave Täht)
A year of testing in the cerowrt project shows not using timestamps
to be a very bad idea in nearly any TCP at speeds above a few Mbit.

Lastly sack/dsack help on recovery from larger amounts of packet
loss.

SVN-Revision: 32513
2012-06-27 22:32:44 +00:00
Felix Fietkau
0615bde13a ath9k: improve ani behavior during scanning
SVN-Revision: 32511
2012-06-27 12:45:00 +00:00
Felix Fietkau
d4c6868027 ath9k: more ani fixes
SVN-Revision: 32510
2012-06-27 02:15:25 +00:00