Commit graph

5785 commits

Author SHA1 Message Date
Jo-Philipp Wich
1d7ae4aba7 broadcom-wl: make it work on the RT-N16 and other device using the BCMA bus - refresh and reorder patches - introduce a unified BCMA/SSB glue driver to accomodate for both bus types on brcm47xx - extend wlunbind init script to detach device from bcma-pci-bridge as well
SVN-Revision: 27751
2011-07-24 14:10:39 +00:00
Hauke Mehrtens
0df7ae0418 mac80211: do not build bcma from compat-wireless
SVN-Revision: 27750
2011-07-24 12:29:27 +00:00
Hauke Mehrtens
aa37b9656d mac80211: fix typo and make broken options depend on BROKEN
SVN-Revision: 27735
2011-07-23 11:32:19 +00:00
Hauke Mehrtens
96b6f27271 mca80211: add support for b43 on bcma bus.
This makes b43 work on broadcom SoCs using bcma as system bus.

SVN-Revision: 27734
2011-07-23 11:25:05 +00:00
Hauke Mehrtens
0390780c34 kernel: add bcma package
SVN-Revision: 27732
2011-07-23 11:17:36 +00:00
Jo-Philipp Wich
365f76551a base-files: attempt bring up related wifi devices when calling ifup If a user invoked /sbin/ifup to bring up an interface, the setup used to fail in case of wireless networks tied to a non-bridged interface definition. Likewise, the bringup of "lan" in the default configuration will reinitialize the bridge but do not re-join the wireless network to it, requiring an extra call to /sbin/wifi (which might not be possible anymore due to a severed link if connected wirelessly).
The changeset modifies the "ifup" command to search for related wireless
devices and call "wifi up" on them if applicable. This way the commands for
wireless and non-wireless interfaces are unified from a cli point of view.

The "ifup -a" case has not been changed to keep the logic of the
/etc/init.d/network boot sequence. This might be changed later.

Solves #9763.

SVN-Revision: 27720
2011-07-22 00:21:20 +00:00
Jo-Philipp Wich
90ac92e8be firewall: fix serious bug in state var handling (#9746)
SVN-Revision: 27711
2011-07-20 15:29:10 +00:00
Felix Fietkau
49b905a2cf comgt: clean up patch, rename gcom binary to comgt, but add a compatibility symlink
SVN-Revision: 27699
2011-07-20 08:47:19 +00:00
Felix Fietkau
60d593c2d7 uci: fix one more unused-but-set issue (#9731)
SVN-Revision: 27698
2011-07-19 20:44:35 +00:00
Jo-Philipp Wich
9c606eb4c5 uhttpd: pass feature flags (#9742)
SVN-Revision: 27689
2011-07-19 06:59:47 +00:00
Felix Fietkau
80ae98d604 ath9k: validate eeprom chainmask settings, some Ubiquiti devices (and maybe others) contain bogus data, which breaks wifi
SVN-Revision: 27688
2011-07-19 06:42:26 +00:00
Jo-Philipp Wich
6576d110d2 uhttpd: support building against openssl instead of cyassl, minor cleanups (#7827)
SVN-Revision: 27686
2011-07-18 14:18:31 +00:00
Felix Fietkau
75d2ba7a5c uci: update to fix more unused-but-set issues (#9731)
SVN-Revision: 27681
2011-07-18 10:09:53 +00:00
Felix Fietkau
226ad1d259 uci: update to 2011-07-18, fixes #9731
SVN-Revision: 27680
2011-07-18 06:32:45 +00:00
Jo-Philipp Wich
85dcf817d8 resolveip: fix whitespace
SVN-Revision: 27671
2011-07-17 22:47:56 +00:00
Jo-Philipp Wich
60fe01e698 pptp: properly support symbolic VPN host names, tear down created host routes (#4876)
SVN-Revision: 27669
2011-07-17 22:42:29 +00:00
Jo-Philipp Wich
28505cad0d add "resolveip", a small DNS lookup utility for use in scripts (#4876)
SVN-Revision: 27666
2011-07-17 22:20:48 +00:00
John Crispin
4da4c491a6 uboot-lantiq
fix arv752DPW and add arv7525PW

SVN-Revision: 27664
2011-07-17 19:27:34 +00:00
John Crispin
c0c7c82a2f revert parts of r27488 to uboot-lantiq
Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27663
2011-07-17 19:27:24 +00:00
John Crispin
a6ceecd973 better lantiq support in madwifi
Allow for each lantiq target (without wifi eeprom) to define where
wireless configuration data is on flash. Patch also adds support for
sx763 lantiq target.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27662
2011-07-17 19:27:14 +00:00
John Crispin
e80af9da6b reorganize ltq-dsl-app
Add menu options to ltq-dsl-app.

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

SVN-Revision: 27661
2011-07-17 19:26:35 +00:00
Jo-Philipp Wich
0de28706ca base-files: implement a generic mechanism to map per-interface sysctls to uci. - option ipv4_xyz is mapped to /proc/sys/net/ipv4/{conf,neigh}/xyz - option ipv6_xyz is mapped to /proc/sys/net/ipv6/{conf,neigh}/xyz This allows e.g. "option ipv6_proxy_ndp 1" to enable NDP proxying on wan. Fixes ticket #8699.
SVN-Revision: 27653
2011-07-17 17:10:30 +00:00
Jo-Philipp Wich
1267f048da iptables: refresh patches
SVN-Revision: 27652
2011-07-17 15:53:34 +00:00
Jo-Philipp Wich
4b362b98bb 6to4: provide "adv_preferred_lifetime" and "adv_valid_lifetime" options to control the generated radvd prefix values (#9147)
SVN-Revision: 27650
2011-07-17 15:43:18 +00:00
Jo-Philipp Wich
597be91074 iptables: rewrite module help texts (#7446)
SVN-Revision: 27648
2011-07-17 15:31:30 +00:00
Jo-Philipp Wich
1ff200ead5 iptables: fix redundant binaries in iptables-utils & ip6tables-utils (#9691)
SVN-Revision: 27646
2011-07-17 15:01:07 +00:00
Jo-Philipp Wich
61aba42d5c mountd: correctly handle poll() timeout case, solves possible 100% CPU load when idle (#7293)
SVN-Revision: 27635
2011-07-17 11:58:05 +00:00
Jo-Philipp Wich
1e34c02e3e base-files: add -h and --help options to sysupgrade (#9728)
SVN-Revision: 27630
2011-07-17 09:27:14 +00:00
Jo-Philipp Wich
53a5beaca8 uhttpd: unblock signals in CGI childs, solves hanging ssh logout after server restart from within LuCI and similar problems
SVN-Revision: 27628
2011-07-17 07:18:59 +00:00
Jo-Philipp Wich
78fa88ca81 firewall: rework state variable handling, use uci_toggle_state() where applicable and properly handle duplicates in add and del state helpers (#9152, #9710)
SVN-Revision: 27618
2011-07-15 15:03:57 +00:00
Jo-Philipp Wich
e0e6d1029e base-files: use uci_toggle_state() to prevent unwanted aggregation of state vars (#9711)
SVN-Revision: 27616
2011-07-15 14:57:44 +00:00
Jo-Philipp Wich
9ee12e3f62 uci: implement a uci_toogle_state() wrapper in the shell api which calls uci_revert_state() before uci_set_state()
SVN-Revision: 27614
2011-07-15 14:52:38 +00:00
Felix Fietkau
e084d0e92a ath9k: add some more fixes to the mic failure handling rework patch
SVN-Revision: 27607
2011-07-13 15:37:36 +00:00
Felix Fietkau
9ef09af36d mac80211: fix compile errors because of duplicate atomic64 implementations (#9690)
SVN-Revision: 27605
2011-07-13 15:01:18 +00:00
Felix Fietkau
6493242f94 ath9k: fix mic frame handling for bigger packets
SVN-Revision: 27596
2011-07-12 03:24:53 +00:00
Imre Kaloz
1e395abc80 fixup orion compile
SVN-Revision: 27591
2011-07-11 16:52:28 +00:00
John Crispin
1af1682eb2 wrong md5sum in ltq-ifxos
Signed-off-by: Luka Perkov

SVN-Revision: 27575
2011-07-10 10:40:37 +00:00
Felix Fietkau
97248baa3e mac80211: backport atomic64_t support for kernels that don't support it
SVN-Revision: 27572
2011-07-09 09:01:17 +00:00
Felix Fietkau
7bab9b2f30 hostapd: refresh patch
SVN-Revision: 27571
2011-07-09 07:28:00 +00:00
Felix Fietkau
8edcfc5bff hostapd: send EAPOL frames using the same WMM queue as management frames - fixes reconnect issues under load
SVN-Revision: 27570
2011-07-09 07:20:19 +00:00
Felix Fietkau
57d9c06f09 hostapd: only advertise a single encryption type via WPS if multiple are supported - fixes windows 7 interop issues
SVN-Revision: 27569
2011-07-09 07:19:55 +00:00
Felix Fietkau
c1f1058a89 ath9k: merge some pending initval fixes for ar9380
SVN-Revision: 27566
2011-07-09 04:20:01 +00:00
Felix Fietkau
8f6bd9e425 ath9k: fix sifs time for half/quarter and remove some unnecessary defines
SVN-Revision: 27565
2011-07-09 04:19:41 +00:00
Felix Fietkau
891a96d588 ath9k: add more fixes for TKIP MIC validation
SVN-Revision: 27564
2011-07-09 03:33:59 +00:00
Felix Fietkau
b4cef327ff ath9k: add a temporary uci option for setting the channel bandwidth
SVN-Revision: 27563
2011-07-08 17:19:42 +00:00
Felix Fietkau
2d0ecd63f5 ath9k: add more fixes for half/quarter rate support
SVN-Revision: 27562
2011-07-08 17:19:21 +00:00
Felix Fietkau
c98829c864 mac80211: fix an interop issue with some broken 802.11n clients (#9436)
SVN-Revision: 27554
2011-07-08 05:49:33 +00:00
Felix Fietkau
bf11563176 mac80211: add pending crypto bugfixes
SVN-Revision: 27552
2011-07-08 05:20:03 +00:00
John Crispin
f1af962560 kmod-dm9000 should build as a module
SVN-Revision: 27543
2011-07-07 18:21:01 +00:00
John Crispin
6061c471aa fix ltq-vmmc SoC dependency
SVN-Revision: 27540
2011-07-07 18:20:47 +00:00
John Crispin
2d5d28bebf update ltq-vmmc patches
SVN-Revision: 27539
2011-07-07 18:20:42 +00:00
John Crispin
a463daa818 replace all references to xway with danube
SVN-Revision: 27538
2011-07-07 18:20:37 +00:00
John Crispin
985d4dd88f update ltq-tapidemo to 5.1.0.53
SVN-Revision: 27533
2011-07-07 18:20:11 +00:00
John Crispin
35309dbbc8 update ltq-ifxos to version 1.5.14
SVN-Revision: 27531
2011-07-07 18:20:02 +00:00
John Crispin
7aa12362b1 fixes ltq-vmmc for none falcon targets
SVN-Revision: 27530
2011-07-07 18:19:57 +00:00
John Crispin
d097c52ce0 pjsip-ltq-tap is for all lantiq targets
SVN-Revision: 27529
2011-07-07 18:19:51 +00:00
Jo-Philipp Wich
a92ed1808c firewall: make sure that -m mac is used with --mac-source, follow up to r27508
SVN-Revision: 27519
2011-07-07 10:28:31 +00:00
Florian Fainelli
e42f0f49e8 add perf
SVN-Revision: 27515
2011-07-07 09:43:04 +00:00
Daniel Dickinson
ca7383e701 firewall: also correct another variable missed in previous commit
SVN-Revision: 27508
2011-07-07 08:59:40 +00:00
Daniel Dickinson
c8531fca5d firewall: fix wrong variable names for protocol command line parameter - were missed during r27500
SVN-Revision: 27507
2011-07-07 08:54:29 +00:00
Daniel Dickinson
1f69f4cf64 base-files: preinit: Fixed sourcing of diag.sh in /etc/preinit. This caused errors due to frequent use of /proc/cpuinfo to determine board name to pick led layout. Now diag.sh (which only defines set_state and any helper functions) is sourced by a proper preinit function during preinit_main, which is after /proc has been brought up, unlike in /etc/preinit
SVN-Revision: 27501
2011-07-07 02:52:02 +00:00
Jo-Philipp Wich
dd4934a943 firewall: - solve scoping issues when multiple values are used, thanks Daniel Dickinson - ignore src_port/dest_port for proto icmp rules, ignore icmp_type for non-icmp rules - properly handle icmp when proto is given in numerical form (1, 58) - support negated icmp types
SVN-Revision: 27500
2011-07-06 22:10:46 +00:00
John Crispin
302347e4d4 ltq-tapi/vmmc were build on none lantiq targets due to bad builddepends of pjsip
SVN-Revision: 27498
2011-07-06 19:02:27 +00:00
John Crispin
1d43c2b5b6 ltq-tapi is not xway specific
SVN-Revision: 27497
2011-07-06 19:02:16 +00:00
John Crispin
295da57040 Lantiq TAPI driver also build for other platforms
thanks	Matthias Buecher

SVN-Revision: 27494
2011-07-06 13:41:16 +00:00
John Crispin
8a5ec4142f add support for gigaset SX76X to uboot-lantiq
SVN-Revision: 27488
2011-07-06 10:36:47 +00:00
John Crispin
b808c1bc03 fix lantiq uboot to build lzma compressed bootloaders for eval kits
SVN-Revision: 27487
2011-07-06 10:36:35 +00:00
Felix Fietkau
3294d07ee5 ath9k: fix some more "DMA failed to stop in 10 ms" issues on AR913x (#9654)
SVN-Revision: 27482
2011-07-06 09:06:56 +00:00
Felix Fietkau
3ad9a3e992 ath9k: fix reliability issues with TKIP MIC verification
SVN-Revision: 27481
2011-07-06 09:06:39 +00:00
Felix Fietkau
e68ea8543b ath9k: always enable fast clock for 5 ghz regardless of the eeprom setting
SVN-Revision: 27480
2011-07-06 09:06:21 +00:00
Daniel Dickinson
05c45f0f5e firewall: fix udp rules for tcpudp proto rules using src_port and dest_port after modification by the parsing of the tcp rule
SVN-Revision: 27469
2011-07-06 06:26:12 +00:00
Daniel Dickinson
44fb344da0 e2fsprogs: Fixed filename of patch (needed .patch extension)
SVN-Revision: 27467
2011-07-05 23:19:29 +00:00
Daniel Dickinson
c291c6f6fd e2fsprogs: Added libpthread back to blkid link, otherwise blkid fails to link)
SVN-Revision: 27466
2011-07-05 23:10:47 +00:00
Florian Fainelli
bbece7e4e8 iptables: add iptables-mod-led (#9400)
SVN-Revision: 27460
2011-07-05 12:40:59 +00:00
Florian Fainelli
42a78d909e e2fsprogs: fix blkid dependencies (#9377)
SVN-Revision: 27459
2011-07-05 12:40:56 +00:00
Florian Fainelli
adeb9ef829 add kmod-sched-netem (#8839)
SVN-Revision: 27458
2011-07-05 12:40:53 +00:00
Jo-Philipp Wich
8aba9a00dc 6in4, 6to4: prevent starting the tunnel if kmod-sit is not yet loaded (#9643)
SVN-Revision: 27449
2011-07-05 00:52:10 +00:00
Felix Fietkau
3c97b838f3 kernel: use lib80211 from compat-wireless instead of the kernel
SVN-Revision: 27436
2011-07-04 03:16:53 +00:00
Felix Fietkau
f8c6be2a58 ath9k: merge an upstream change to fix false tx hangs on ar9003
SVN-Revision: 27433
2011-07-04 03:03:12 +00:00
Felix Fietkau
f9202745b9 ath5k: add an upstream patch to fix a memory leak
SVN-Revision: 27432
2011-07-04 03:02:52 +00:00
John Crispin
0fb39e9565 fixes dependencies of pjsip and ltq-vmmc
SVN-Revision: 27409
2011-07-03 17:38:52 +00:00
John Crispin
4dba05cc21 add falcon support to vmmc
SVN-Revision: 27408
2011-07-03 17:38:41 +00:00
John Crispin
96cc4174e3 add kmod for dm9000
SVN-Revision: 27402
2011-07-03 17:37:18 +00:00
John Crispin
bcd92ce288 add kmod definitions for at24(i2c) and at25(spi) eeproms
SVN-Revision: 27401
2011-07-03 17:23:36 +00:00
Jo-Philipp Wich
32731a72c2 base-files: pass conloglevel to syslogd (#9463, #9647)
SVN-Revision: 27400
2011-07-03 15:11:58 +00:00
Gabor Juhos
1c96bc9abc max80211: rt2x00: load the eeprom data from a file on Ralink SoCs
SVN-Revision: 27395
2011-07-03 15:02:04 +00:00
Gabor Juhos
ab90ca8945 mac80211: rename a rt2x00 related patch
SVN-Revision: 27394
2011-07-03 15:02:03 +00:00
Felix Fietkau
3d9f6f3d35 swconfig: make reset and enable_vlan default to 1 (based on patch by Nikolay Martynov)
SVN-Revision: 27375
2011-07-03 04:20:18 +00:00
Felix Fietkau
b017df3812 swconfig: avoid setting "NOVAL" attributes if "0" was provided as a value
SVN-Revision: 27374
2011-07-03 04:19:59 +00:00
Daniel Dickinson
2e4d84278e package/kernel/modules: Alexandros pointed me at this patch, and I noted that not only the MFGPT module but also the new GPIO driver both rely on the mfd_core functionality to operate correctly.
Signed-off-by: Alexandros C. Couloumbis <alex@ozo.com>
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27372
2011-07-03 03:14:58 +00:00
Daniel Dickinson
f2d749ee15 Revert "Like the earlier mfgpt patch, the new GPIO drivers also require the MFD driver to be present for the BAR's to be mapped."
This reverts commit c485487b63d1c1de72a375f1278d8a98546ba3af.

SVN-Revision: 27370
2011-07-03 03:14:51 +00:00
Daniel Dickinson
209a776f22 Like the earlier mfgpt patch, the new GPIO drivers also require the MFD driver to be present for the BAR's to be mapped.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27369
2011-07-03 03:14:48 +00:00
Felix Fietkau
0fa08e885c ath5k: fix tx queue limit for the cabq, fixes warning described in #9465
SVN-Revision: 27367
2011-07-03 01:08:53 +00:00
Felix Fietkau
45d4cee226 ath5k: disable the 32 khz sleep clock, atheros also does this, might improve stability
SVN-Revision: 27366
2011-07-03 01:08:35 +00:00
Felix Fietkau
b8dcd316eb ath5k: fix restoring the mac timing setting after a sleep clock setting change
SVN-Revision: 27365
2011-07-03 01:08:18 +00:00
Felix Fietkau
4083940628 ath5k: delay initial periodic calibration after reset to improve stability
SVN-Revision: 27364
2011-07-03 01:07:59 +00:00
Felix Fietkau
289e2f2169 ath9k: clean up pll code for ar9002 to fix 5/10 mhz pll settings for 5ghz
SVN-Revision: 27362
2011-07-02 10:48:58 +00:00
Gabor Juhos
091ea63719 package/mtd: don't append jffs2 data multiple times
SVN-Revision: 27358
2011-07-02 08:38:00 +00:00
Felix Fietkau
7845c7b512 ath5k: fix a crash when setting coverage class before the first channel change (#9586)
SVN-Revision: 27352
2011-07-02 07:48:34 +00:00
Felix Fietkau
b8b060d2fe broadcom-wl: fix memory corruption and leakage on remove (patch from #9576 by George Kashperko)
SVN-Revision: 27348
2011-07-02 07:01:24 +00:00
Felix Fietkau
0a7a73261a base-files: do not use the relinked libgcc, fixes c++ exception handling issues (#9185)
SVN-Revision: 27347
2011-07-02 06:50:15 +00:00
Felix Fietkau
ce6b3da880 move mkelfimage from tools/ to package/ as it needs a proper i386 toolchain - make the package hidden so that it is automatically built without having to be selected
SVN-Revision: 27345
2011-07-02 06:49:36 +00:00
Felix Fietkau
9f38d4402b ath9k: add a small hack to make changing the channel bandwidth to 5/10 mhz available through debugfs - does not work on all chipsets and is not recommended for production use yet
SVN-Revision: 27340
2011-07-01 16:11:53 +00:00
Felix Fietkau
aca1b30101 ath9k: merge an upstream patch that provides a minor throughput improvement on ar9003
SVN-Revision: 27339
2011-07-01 16:11:33 +00:00
Jo-Philipp Wich
600a8517ad firewall: fix port range quirk in previous commit
SVN-Revision: 27335
2011-07-01 11:50:48 +00:00
Jo-Philipp Wich
df14a48dc9 firewall: properly handle negated ports in nat reflection
SVN-Revision: 27334
2011-07-01 11:48:14 +00:00
Felix Fietkau
44756fe93c ath5k: enable spur mitigation for ar2413 - should improve performance and reliability on those devices
SVN-Revision: 27331
2011-07-01 11:33:07 +00:00
Felix Fietkau
0b250e3123 ath5k: add a missing srev checks for code that lowers the synth voltage - might fix some stability issues
SVN-Revision: 27325
2011-07-01 05:10:47 +00:00
Felix Fietkau
5392494101 ath5k: disable tx power gain correction probing for hardware that does not need or support it
SVN-Revision: 27324
2011-07-01 04:04:54 +00:00
Felix Fietkau
0d796ee9e3 mac80211: rename a misnamed patch
SVN-Revision: 27323
2011-07-01 04:04:34 +00:00
Jo-Philipp Wich
07abf4a81e firewall: refine default ICMPv6 rules to better conform with RFC4890, do not forward link local ICMP message types, allow parameter problem
SVN-Revision: 27321
2011-06-30 12:22:05 +00:00
Jo-Philipp Wich
8f0fb81dfe firewall: restore local port relocation ability from r26617
SVN-Revision: 27318
2011-06-30 01:36:09 +00:00
Jo-Philipp Wich
68a1c8e1e3 firewall: - allow multiple ports, protocols, macs, icmp types per rule - implement "limit" and "limit_burst" options for rules - implement "extra" option to rules and redirects for passing arbritary flags to iptables - implement negations for "src_port", "dest_port", "src_dport", "src_mac", "proto" and "icmp_type" options - allow wildcard (*) "src" and "dest" options in rules to allow specifying "any" source or destination - validate symbolic icmp-type names against the selected iptables binary - properly handle forwarded ICMPv6 traffic in the default configuration
SVN-Revision: 27317
2011-06-30 01:31:23 +00:00
Gabor Juhos
43938e8eb9 package/rbcfg: new tool for modifying boot configuration on the RB4xx boards
SVN-Revision: 27315
2011-06-29 09:40:54 +00:00
Hauke Mehrtens
4c18da3df6 brcm47xx: add initial support for devices with bcma bus.
Ethernet and wifi are not working and this is highly experimental.

SVN-Revision: 27301
2011-06-28 22:21:57 +00:00
Hauke Mehrtens
ca979845cc kernel: update ssb and bcma to linux-next next-20110627
SVN-Revision: 27295
2011-06-27 21:28:40 +00:00
Felix Fietkau
baf6423827 mac80211: merge a pending fix for reestablishing misconfigured aggregation sessions
SVN-Revision: 27292
2011-06-27 09:31:09 +00:00
Florian Fainelli
ce50bb1636 busybox: update to 1.18.5, patch from Peter Wagner
SVN-Revision: 27288
2011-06-25 22:05:14 +00:00
Felix Fietkau
0243ec0da3 mac80211: force b44 and atl* to be disabled, even if they are enabled in the kernel tree
SVN-Revision: 27285
2011-06-25 19:31:12 +00:00
Felix Fietkau
e087e678af mac80211: configure HT IBSS through uci
SVN-Revision: 27279
2011-06-24 19:53:31 +00:00
Felix Fietkau
9a790eb3df iw: add support for configuring HT IBSS
SVN-Revision: 27278
2011-06-24 19:53:27 +00:00
Felix Fietkau
87617ce258 mac80211: add the work-in-progress IBSS HT patch, with some minor fixes
SVN-Revision: 27277
2011-06-24 19:53:22 +00:00
Felix Fietkau
f85d10e1f3 ath9k: add some more pending fixes
SVN-Revision: 27276
2011-06-24 19:53:18 +00:00
Felix Fietkau
c7744447a5 mac80211: update to wireless-testing 2011-06-22
SVN-Revision: 27275
2011-06-24 19:53:13 +00:00
Felix Fietkau
e2d3555a91 kernel: fix wrong line for the +@DRIVER_WEXT_SUPPORT dependency in kmod-net-zd1201
SVN-Revision: 27274
2011-06-24 19:53:09 +00:00
Felix Fietkau
3294d04e44 mac80211: enable cfg80211 debugfs support
SVN-Revision: 27273
2011-06-24 19:53:05 +00:00
Jo-Philipp Wich
67fc519a3d hotplug2: make libbsd depend on "not uclibc" for now, the conditional depdendency handling needs fixes
SVN-Revision: 27266
2011-06-23 18:49:24 +00:00
Mirko Vogt
ddb4735871 fix conditional dependencies to libbsd
SVN-Revision: 27265
2011-06-23 14:38:29 +00:00
Jo-Philipp Wich
28fbd7470d add gfortran compiler support (#9600, patch from Xiangfu Liu via Qi hardware)
SVN-Revision: 27262
2011-06-23 11:46:24 +00:00
Florian Fainelli
3f0f8d9c87 fix and make usable kmod-pcmcia-rsrc
This module is also needed for e.g: kmod-bcm63xx-pcmcia

SVN-Revision: 27253
2011-06-21 20:52:53 +00:00
Hauke Mehrtens
a9191c8b32 mac80211: use firmware from linux-firmware git
Use the firmware from linux-firmware git where possible.

Update some firmware files in that process and check for missing firmware files for some modules.

 * update Ralink firmwares
 * update ath9k_htc firmware
 * add firmware for mwl8k
 * add more firmware files for libertas-sd and libertas-usb

SVN-Revision: 27252
2011-06-21 20:50:10 +00:00
Hauke Mehrtens
a3a5eb275f mac80211: fix debugfs for ath9k_htc
if debugfs was enabled ath9k_htc did not load.

SVN-Revision: 27251
2011-06-21 20:44:50 +00:00
Hauke Mehrtens
cda72f33f4 mac80211: remove rests of ar9170 driver
SVN-Revision: 27250
2011-06-21 20:43:50 +00:00
Jo-Philipp Wich
ca705913cc kernel: package more NIC drivers: * SiS 190 Fast/Gigabit Ethernet support * SysKonnect Yukon support * Atheros L2 Fast Ethernet support * Atheros L1 Gigabit Ethernet support * Atheros L1C * Atheros L1E Patch by Lauri Võsandi<lauri.vosandi@gmail.com>
SVN-Revision: 27242
2011-06-20 09:41:03 +00:00
Jo-Philipp Wich
a434ed2fc6 block-mount: remove explicit lock waits, solves some potential race conditions
SVN-Revision: 27226
2011-06-19 18:15:14 +00:00
Mirko Vogt
8d48672c10 link against 'libbsd' when using glibc
SVN-Revision: 27209
2011-06-17 22:51:20 +00:00
Rod Whitby
e40867228e package/kernel: Fixed missing CONFIG_HID_SUPPORT required for successful kmod-bluetooth compile.
SVN-Revision: 27201
2011-06-17 11:21:16 +00:00
Jo-Philipp Wich
9f37422f2f firewall: ensure that fw_get_subnet4() sets an empty value if no (valid) IPv4 addr was found
SVN-Revision: 27198
2011-06-16 22:18:45 +00:00
Jo-Philipp Wich
c014101d73 firewall: allow symbolic names of interfaces and aliases in masq_src and masq_dest
SVN-Revision: 27196
2011-06-16 21:54:59 +00:00
Florian Fainelli
4b113046a4 libbsd: do not build when using uclibc
SVN-Revision: 27194
2011-06-16 14:34:47 +00:00
Hauke Mehrtens
0db9c2bd7d acx-mac80211: Compile fix for newer kernels
common.c is missing an include for linux/ratelimit.h.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27190
2011-06-15 21:18:21 +00:00
Hauke Mehrtens
b213493bda busybox: Fix insmod for linux 3.0
Insmod silently rejected being run on any non 2.x kernel. Make its version
check allow newer kernels (and reject 2.4- when not enabling the 2.4
feature).

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27189
2011-06-15 21:17:52 +00:00
Hauke Mehrtens
e8974127fb madwifi: Fix linux 3.0 detection
Allows madwifi to be built against linux 3.0.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27188
2011-06-15 21:17:17 +00:00
Hauke Mehrtens
dfcd340721 package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27187
2011-06-15 21:16:38 +00:00
Hauke Mehrtens
cd3bd6e13e package/kernel: Update version dependencies and kmods for linux 3.0
Also disable rtc-core for now since this changed to a bool, now directly
used in the kernel if enabled.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27186
2011-06-15 21:12:49 +00:00
Mirko Vogt
471c8077ee link hotplug2 against libbsd when eglibc is used
SVN-Revision: 27170
2011-06-13 13:16:11 +00:00
Mirko Vogt
779bc30119 add library 'libbsd'
This library contains core functionality usually (but obviously not always)
provided by libc implementations which isneeded by OpenWrt core packages.
For instance the functions 'strlcat', 'strlcpy' are not implemented in
eglibc but needed by hotplug2 (udevtrigger)

SVN-Revision: 27169
2011-06-13 13:16:08 +00:00
Jo-Philipp Wich
1277bd7186 6to4: advertise effective tunnel mtu in RAs
SVN-Revision: 27163
2011-06-12 19:27:21 +00:00
Jo-Philipp Wich
d3b8685cd7 6to4: don't start if detected local IPv4 address is RFC1918, allows people to deploy firmwares with 6to4 enabled by default
SVN-Revision: 27160
2011-06-12 18:59:40 +00:00
Felix Fietkau
01e7d775e7 ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
SVN-Revision: 27159
2011-06-12 14:07:08 +00:00
Jo-Philipp Wich
ce4e5bd91d kernel: revert unrelated change in previous commit
SVN-Revision: 27150
2011-06-09 14:36:01 +00:00
Jo-Philipp Wich
c9ad45e098 kernel: gre depends on ipv6 is Kernel is built with IPv6 support
SVN-Revision: 27149
2011-06-09 14:34:53 +00:00
Jo-Philipp Wich
344445715a base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address
SVN-Revision: 27147
2011-06-09 12:36:30 +00:00
Jo-Philipp Wich
fd8ec24187 base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route
SVN-Revision: 27145
2011-06-09 12:25:48 +00:00
Mirko Vogt
4798e27247 Revert "[package/block-mount] remove example config file"
This isn't needed anymore due to commit 27138

SVN-Revision: 27139
2011-06-08 20:45:19 +00:00
Jo-Philipp Wich
b179722c71 make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
SVN-Revision: 27138
2011-06-08 19:38:25 +00:00
Mirko Vogt
4cbdfb6d92 remove example config file
Having this file prevents the possibility of having target-specific
fstab config files (as target/linux/${target}/base-files/etc/config/fstab).
There is no need of a non-working example file on the target anyway.

SVN-Revision: 27136
2011-06-08 17:39:16 +00:00
Jo-Philipp Wich
97ee10d691 base-files: fix error reporting for unsupported protocols on virtual interfaces
SVN-Revision: 27132
2011-06-07 23:25:43 +00:00
Felix Fietkau
9a227d88dd base-files: do not write to /etc/config/wireless at boot time unless a new interface was found
eliminates unnecessary flash write cycles at every boot

patch by Peter Wagner (tripolar)

SVN-Revision: 27127
2011-06-07 17:00:43 +00:00
Hauke Mehrtens
c807bc2432 kernel: fix description of kmod-pata-cs5535 and kmod-pata-cs5536
SVN-Revision: 27126
2011-06-07 15:39:12 +00:00
Hauke Mehrtens
e353efcf6f kernel: fix call of kmod-pata-cs5535 and kmod-pata-cs5536
SVN-Revision: 27125
2011-06-07 15:36:49 +00:00
Mirko Vogt
254812ba0a require mppe 128bit-encryption by default
SVN-Revision: 27117
2011-06-06 22:27:04 +00:00
Jo-Philipp Wich
ee877c8ba3 grub: improve package requirement error, patch by Jim Cromie <jim.cromie@gmail.com>
SVN-Revision: 27109
2011-06-04 14:33:35 +00:00
Florian Fainelli
3715fa33fe compcache does not build on 2.6.38+
SVN-Revision: 27103
2011-06-04 13:35:48 +00:00
Hauke Mehrtens
7f773af9dd acx-mac80211: remove patch
This patch is already incorporated into the original source code.

closes #9499

SVN-Revision: 27100
2011-06-04 09:33:02 +00:00
Florian Fainelli
90f0d47a03 soloscli: fix new lines in soloscli
If the string received from the ADSL firmware is missing \n, add it in.

Signed-off-by: Nathan Williams <nathan@traverse.com.au>

SVN-Revision: 27096
2011-06-02 14:38:01 +00:00
Florian Fainelli
7d8d47d29e acx-mac80211: add io endianness patch
Signed-off-by: Alexey Torkhov <atorkhov@gmail.com>

SVN-Revision: 27095
2011-06-02 14:37:56 +00:00
Gabor Juhos
9769854aae mac80211: add initial support for AR9330
SVN-Revision: 27084
2011-06-01 13:12:31 +00:00
Felix Fietkau
41a169115b mac80211: update to wireless-testing 2011-05-27
SVN-Revision: 27071
2011-05-31 23:07:29 +00:00
Gabor Juhos
a456082ccd mac80211: make ath9k available even if PCI support is disabled
SVN-Revision: 27046
2011-05-31 22:53:16 +00:00
Felix Fietkau
68af223efe x86: remove pata-amd driver from generic x86 images, add addition cs553x modules
The pata-cs5535/pata-cs5536 driver is actually fairly rare: it only gets used on embedded platforms. Therefore, we remove it from the generic x86 configuration.

Also, add definitions for other useful geode modules (high-res timers, MFGPT timers, etc).

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27037
2011-05-31 16:57:01 +00:00
Felix Fietkau
7f0fc7b0cf ath9k: reduce the number of rx buffers, 512 is excessively high, 128 should work just as well, and will use a lot less memory
SVN-Revision: 27029
2011-05-30 13:38:54 +00:00
John Crispin
6608f419d1 * backport 2.6.8 patches to .39 / .32.33
* remove lqtapi
* bump tapi/dsl to .39
* migrate to new ltq_ style api
* add amazon_se support

SVN-Revision: 27026
2011-05-29 21:19:26 +00:00
Felix Fietkau
c7cdee0230 ath9k: merge a few bugfixes
SVN-Revision: 27025
2011-05-28 16:45:17 +00:00
Felix Fietkau
2dd4505c62 ath5k: disable fast channel changes, some people have reported that they introduce connection stability issues
SVN-Revision: 27024
2011-05-28 16:27:24 +00:00
Felix Fietkau
6e9542e392 hostapd: fix a race condition related to assoc response tx status processing
SVN-Revision: 27022
2011-05-28 16:27:17 +00:00
Felix Fietkau
1b2b3be64d hostapd: update to 20110527, includes a client mode wpa auth fix
SVN-Revision: 27021
2011-05-28 16:27:12 +00:00
Hauke Mehrtens
6769216a64 kernel: generic: Update 2.6.39 to final
* Add missing config symbols
* Update package/kernel for 2.6.39

CONFIG_BT_L2CAP=y and CONFIG_BT_SCO=y are set to build them into the bluetooth module.

Thank you Jonas Gorski for the patch

SVN-Revision: 27010
2011-05-25 19:51:40 +00:00
Felix Fietkau
1da26a536c libpcap: properly fix fPIC handling (reverts $(FPIC) added in r26999)
SVN-Revision: 27000
2011-05-24 10:42:49 +00:00
Jo-Philipp Wich
f94411e910 libpcap: add -fpic, refresh patches
SVN-Revision: 26999
2011-05-24 10:36:25 +00:00
Jo-Philipp Wich
fb141e452c libpcap: remove empty patchfiles
SVN-Revision: 26996
2011-05-24 09:53:53 +00:00
Jo-Philipp Wich
a1713cc3cb Update libpcap to version 1.1.1
Signed-off-by: Christoph König <christoph.koenig@ikt.uni-hannover.de>

SVN-Revision: 26995
2011-05-24 09:51:08 +00:00
Felix Fietkau
60f66ded72 base-files: make the MAC address of bridge interfaces sticky to avoid ARP issues on wifi re-configuration
SVN-Revision: 26990
2011-05-24 09:31:37 +00:00
Jo-Philipp Wich
9b8a5e604a base-files: mark /etc/crontabs/ as config directory
SVN-Revision: 26986
2011-05-24 09:27:23 +00:00
Jo-Philipp Wich
7a5fcc5695 kernel: kmod-crypto-iv depends on kmod-crypto-manager Add a missing dependency to kmod-crypto-iv. chainiv.ko and eseqiv.ko from kmod-crypto-iv depend on crypto_blkcipher.ko from kmod-crypto-manager.
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26984
2011-05-24 09:14:35 +00:00
Jo-Philipp Wich
50b69073d6 dnsmasq: allow hostname assignment without static lease The attached patch for dnsmasq.init allows to assign a hostname to a particular mac-address. It's useful to override the client supplied hostname, especially if the client does not supply a hostname at all.
It corresponds to the following example in dnsmasq.conf.example:

	# Always set the name of the host with hardware address
	# 11:22:33:44:55:66 to be "fred"
	#dhcp-host=11:22:33:44:55:66,fred

Regards
Mathias

SVN-Revision: 26983
2011-05-24 09:12:50 +00:00
Jo-Philipp Wich
be906f6be5 package u32 match and TEE target, patches by Maxim Uvarov
SVN-Revision: 26977
2011-05-24 08:14:29 +00:00
Jo-Philipp Wich
a12a8271a7 ncurses: enable C++ bindings (#9442)
SVN-Revision: 26970
2011-05-22 16:53:09 +00:00
Jo-Philipp Wich
7e6b24a810 iw: fix calculation of fractional multicast rates like 5.5Mbps due to wrong operator precedence
SVN-Revision: 26968
2011-05-22 12:02:35 +00:00
Jo-Philipp Wich
f2b7c81d46 firewall: explictely mention network in default configuration, makes it less confusing
SVN-Revision: 26961
2011-05-20 13:45:40 +00:00
Felix Fietkau
2383a26168 broadcom-wl: fix wild ssb_device accesses as pci_dev for legacy pci dma api
broadcom-wl driver bound to ssb device with ssb driver probe
have osh handle struct pdev pointer value initialized with
ssb_device pointer. Later on pdev is used with legacy pci
dma api as pci_dev thus causing oops sometimes.

The patch replaces legacy pci dma api and pass relevant
device struct pointer to avoid crashes.
Signed-off-by: George Kashperko <george@znau.edu.ua>

SVN-Revision: 26949
2011-05-19 10:08:02 +00:00
Felix Fietkau
7c8564d7c5 broadcom-wl: fix uninitialized variable
It was causing an occasional kernel oops.

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

SVN-Revision: 26948
2011-05-19 10:07:57 +00:00
Felix Fietkau
512be5ce46 ath9k: fix some locking issues in the tx fifo cleanup patch
SVN-Revision: 26947
2011-05-19 09:33:45 +00:00
Felix Fietkau
9b228c181c ath9k: clean up tx fifo handling on ar9380 based hardware
SVN-Revision: 26934
2011-05-18 12:03:08 +00:00
Felix Fietkau
6400498b35 ath9k: fix a small race condition in the tx_last_beacon patch
SVN-Revision: 26933
2011-05-18 12:03:04 +00:00
Jo-Philipp Wich
ed8f726dab ipcalc.sh CIDR notation Hi,
the attached patch makes ipcalc.sh accept IP/Netmask combinations in
CIDR notation. Before you could only do:

# sh ipcalc.sh 192.168.0.0 255.255.255.0 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

with this patch you can also execute it with:

sh ipcalc.sh 192.168.0.0/24 1 10
IP=192.168.0.0
NETMASK=255.255.255.0
BROADCAST=192.168.0.255
NETWORK=192.168.0.0
PREFIX=24
START=192.168.0.1
END=192.168.0.11

The patch is based on #1260 [1], i just changed one line to calculate
the START end END ips right. I wonder why that never got included. If
there is no reason not to do i would like to ask you to commit that
patch, because its a functionality i (and probably others) miss quite often.

Btw, i also fixed 4 useless tabs, that might look a bit strange in the
patch.

Regards, Manuel

SVN-Revision: 26930
2011-05-18 09:50:06 +00:00
Felix Fietkau
e35822050b mac80211: sync the CONFIG_ATH5K_DEBUG make override with the buildflags override (thx, KanjiMonster)
SVN-Revision: 26927
2011-05-17 18:23:50 +00:00
Felix Fietkau
888bee4ef2 ath9k: implement tx_last_beacon() to allow mac80211 to respond to probe requests in ad-hoc mode without creating too much spam
SVN-Revision: 26923
2011-05-17 11:14:15 +00:00
John Crispin
8c2de891a9 * add missing aes dependency to mv_cesa
Signed-off-by: Jan Willies <jan@willies.info>

SVN-Revision: 26920
2011-05-17 10:48:37 +00:00
Felix Fietkau
c6a93676de ath9k: fix ad-hoc nexttbtt calculation, which broke beacon transmission in some instances
SVN-Revision: 26915
2011-05-17 08:37:38 +00:00