Commit graph

5852 commits

Author SHA1 Message Date
Felix Fietkau
32868c1a00 hostapd: fix wds interface address handling for multi-bssid
SVN-Revision: 27823
2011-07-29 09:40:24 +00:00
Felix Fietkau
3712ca3f9b hostapd: use a timeout of 1000ms instead of 100ms for the first gtk rekey eapol frame
SVN-Revision: 27822
2011-07-29 09:40:19 +00:00
Gabor Juhos
2e339a6466 swconfig: fix backward compatibility
swconfig fails to load uci configuration after the generic switch
identifier changes.

root@OpenWrt:/# uci show network | grep switch
network.@switch[0]=switch
network.@switch[0].name=eth0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=eth0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0t 2 3 4 5
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=eth0
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0t 1
root@OpenWrt:/# swconfig dev eth0 load /etc/config/network
Failed to apply configuration for switch 'switch0'
root@OpenWrt:/# swconfig dev switch0 load /etc/config/network
Failed to apply configuration for switch 'switch0'

SVN-Revision: 27820
2011-07-28 19:54:11 +00:00
Felix Fietkau
4dd9373b3e ppp: remove zero-length patches
SVN-Revision: 27819
2011-07-28 17:34:44 +00:00
Felix Fietkau
4c4da37c09 ppp: version bump to 2.4.5
Bump to the current version of PPP.

A few of the patches are either in 2.4.5 or something functionally equivalent is, so those patches were removed.

1 patch was added to accommodate pppol2pv3_addr which is referenced in a linux kernel header file, but isn't defined in the kernel header files packaged with PPP.

Redux: re-instate the commenting out of the exponential back-off as requested by Felix.

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

SVN-Revision: 27818
2011-07-28 16:51:12 +00:00
Jonas Gorski
eaa935658b swconfig: Add generic switch identifiers
Also make switches available under a generic name "switch<num>" for device
name agnostic access. The old device name is used as an alias for backward
compatibility.

SVN-Revision: 27800
2011-07-27 18:00:18 +00:00
Felix Fietkau
8ff7756e82 base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined
SVN-Revision: 27797
2011-07-27 09:02:10 +00:00
Jo-Philipp Wich
7a206885df firewall: prevent redundant rules if multiple ports and multiple icmp types are given in a rule block for both icmp and other protocols
SVN-Revision: 27792
2011-07-26 22:21:39 +00:00
Felix Fietkau
d6431df9c1 ath9k: rework tx power handling - display the correct *current* tx power, and also fix tx power limits with ATH_USER_REGD set
SVN-Revision: 27788
2011-07-26 20:53:40 +00:00
Felix Fietkau
d0cea742bb mac80211: merge a few pending fixes for channel switch handling
SVN-Revision: 27783
2011-07-26 15:11:27 +00:00
Jo-Philipp Wich
20d62f8e5f linux-atm: don't fail if an PREFIX env var is set
SVN-Revision: 27779
2011-07-26 10:47:59 +00:00
Jo-Philipp Wich
94c728dc39 base-files: use "reboot -f" after sysupgrade to prevent executing deleted init scripts
SVN-Revision: 27776
2011-07-25 22:19:55 +00:00
Felix Fietkau
1266eb49ee mac80211: rename a misnamed patch
SVN-Revision: 27769
2011-07-25 09:56:23 +00:00
Felix Fietkau
b87d25ea75 mac80211: remove the ccmp rx pn workaround, it should no longer be necessary and it was reported to cause connection stability issues (see #9646)
SVN-Revision: 27764
2011-07-25 06:29:00 +00:00
Hauke Mehrtens
866a22dc67 kernel: crypto: fix spelling
SVN-Revision: 27757
2011-07-24 15:08:17 +00:00
Hauke Mehrtens
00dd85d8f6 ocf-linux: version bump to 20110720
Fixes problem with TFM allocation in cryptosoft.c

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

Hauke:
 * remove ubsec_ssb package and take it from ocf-linux
 * use patches from ocf-linux package
 * refresh all patches
 * readd some build fixes for OpenWrt.
 * readd CRYPTO_MANAGER dependency

SVN-Revision: 27753
2011-07-24 14:17:58 +00:00
Jo-Philipp Wich
8ecad9c51a broadcom-wl: give the 007 patch a more meaningful name
SVN-Revision: 27752
2011-07-24 14:14:48 +00:00
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
Felix Fietkau
7b84bc2f39 ath9k: fix issues with ad-hoc beacon slot selection
SVN-Revision: 26913
2011-05-16 21:50:30 +00:00
Felix Fietkau
c2bee5a64a mac80211: update to 2011-05-13
SVN-Revision: 26912
2011-05-16 21:50:26 +00:00
Vasilis Tsiligiannis
ec05877491 package/kernel: crypto: Remove renamed modules hack
Since the oldest kernel in trunk is 2.6.30 the modules always use the
newer names, so we can just use the _generic prefix directly.

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

SVN-Revision: 26903
2011-05-15 09:37:35 +00:00
Vasilis Tsiligiannis
49f738fa6d package/kernel: netfilter: Remove 2.4/2.6 references
There's only 2.6, so it doesn't make sense to mention modules that are
2.4 only or for modules that they are available only for 2.6.

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

SVN-Revision: 26902
2011-05-15 09:37:32 +00:00
Vasilis Tsiligiannis
2850136ae8 package/kernel: Remove all 2.4 definitions
With no 2.4 support in trunk, we can safely remove any 2.4 definitions for
kmods and merge the 2.6 definitions into the generic ones.

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

SVN-Revision: 26901
2011-05-15 09:37:28 +00:00
Vasilis Tsiligiannis
b468227827 package/kernel: Remove $(KMOD_SUFFIX) usage
Since there's only 2.6 in trunk $(KMOD_SUFFIX) can be safely replaced with
ko for all mainline kernel modules.

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

SVN-Revision: 26900
2011-05-15 09:37:24 +00:00
John Crispin
44eab3f6c1 package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 26868
2011-05-09 20:28:04 +00:00
Travis Kemen
eb4109ba78 Deployment of IPv6 has opened up many more prefixes than just the 2000::/3 space, so a default route of ::/0 is more correct. Thanks Dave Taht
SVN-Revision: 26857
2011-05-08 17:03:07 +00:00
Jo-Philipp Wich
ba1c1e9016 base-files: retrigger usb coldplug after module loading, solves usb_modeswitch on boot and possibly others (#9352)
SVN-Revision: 26848
2011-05-08 10:25:58 +00:00
Gabor Juhos
3b1b49a49b base-files: fix a typo in etc/banner
SVN-Revision: 26841
2011-05-07 09:23:33 +00:00
Jo-Philipp Wich
f3e4c15229 lua: remove posix from Lua core, almost nothing uses it - saves 9k compressed
SVN-Revision: 26822
2011-05-04 14:51:06 +00:00
Felix Fietkau
dbea075cd4 ath9k: add noise floor calibration fix that should improve stability
SVN-Revision: 26819
2011-05-04 14:35:35 +00:00
Jo-Philipp Wich
9736cfef66 comgt: add tty hotplug remove handling, only iterate each tty once (#9211)
SVN-Revision: 26816
2011-05-04 08:19:07 +00:00
Jo-Philipp Wich
bba138c671 kernel: revert r26814
SVN-Revision: 26815
2011-05-03 21:25:36 +00:00
Jo-Philipp Wich
be2275b8e6 kernel: add kmod-crypto-ipsec kmod-crypto-ipsec bundles some otherwise unprovided kernel crypto modules that are useful for IPSEC. This is an alternative to breaking these modules out into kmod-crypto-wq (crypto_wq.ko), kmod-crypto-rng (rng.ko and krng.ko), and kmod-crypto-iv (eseqiv.ko and chainiv.ko).
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26814
2011-05-03 21:22:43 +00:00
Jo-Philipp Wich
3d0ac93274 kernel: add kmod-crypto-{wq,rng,iv} Add kmod-crypto-iv as a dependency for kmod-ipsec. Also remove the extraneous kmod-crypto-core dependency to eliminate recursion.
Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26813
2011-05-03 21:21:05 +00:00
Jo-Philipp Wich
32f3c920a2 kernel: add kmod-crypto-{wq,rng,iv} This patch adds kmod-crypto-wq, kmod-crypto-rng, and kmod-crypto-iv packages. These packages provide some missing kernel crypto modules which are required for IPSEC. The strongswan4, ipsec-tools, and possibly other IPSEC packages do not work properly without these modules.
NOTE: The KCONFIG associated with each of these modules gets selected
whenever CRYPTO_MANAGER (kmod-crypto-manager) is selected so these
modules are already being built.

Signed-off-by: Lars Hjersted <lars@hjersted.com>

SVN-Revision: 26812
2011-05-03 21:19:56 +00:00
Jo-Philipp Wich
29392373f3 comgt: move ifup invocation back into background subshell to prevent hotplug deadlocks
SVN-Revision: 26810
2011-05-03 19:45:55 +00:00
Jo-Philipp Wich
549067e2b4 comgt: move 3g hotplug handling to tty subsystem, fixes race on coldplug (#9211)
SVN-Revision: 26809
2011-05-03 19:39:13 +00:00
Jo-Philipp Wich
ff4203b9bd base-files: cleanup permissions of device files in common hotplug rules (#9211)
SVN-Revision: 26808
2011-05-03 19:37:59 +00:00
Jo-Philipp Wich
d66dc5307d hotplug2: introduce tty subsystem events (#9211)
SVN-Revision: 26807
2011-05-03 19:35:58 +00:00
Jo-Philipp Wich
2e9e4c435f firewall: revert accidential committed changes from r26805
SVN-Revision: 26806
2011-05-02 12:55:36 +00:00
Jo-Philipp Wich
ad23dd94b6 firewall: provide examples of ssh port relocation on firewall and IPsec passthrough Two examples of potentially useful configurations (commented out, of course):
(a) map the ssh service running on the firewall to 22001 externally, without modifying the configuration of the daemon itself. this allows port 22 on the WAN side to then be port-forwarded to a
LAN-based machine if desired, or if not, simply obscures the port from external attack.

(b) allow IPsec/ESP and ISAKMP (UDP-based key exchange) to happen by default. useful for most modern VPN clients you might have on your WAN.

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

SVN-Revision: 26805
2011-05-02 12:54:31 +00:00
Hauke Mehrtens
3dbb8c5088 brcm47xx: add fallback sprom for pci devices without an own sprom.
If there is no sprom on an ssb based pci device on the brcm47xx
architecture ssb now asks the architecture code to look into the nvram
to get some sprom data for this device. Now we are able to read out
pci/1/1/ foo or pci/1/3/ foo config options.

This will fix some problems where the wireless devices does not got an
mac address and the following message was show:
ssb: WARNING: Invalid SPROM CRC (corrupt SPROM)

SVN-Revision: 26801
2011-05-01 20:28:35 +00:00
Felix Fietkau
28fb716737 ath9k: add a new fix for signal strength / noise measurements
SVN-Revision: 26798
2011-05-01 18:23:12 +00:00
Felix Fietkau
ebcc60cf35 mac80211: detect and drop incoming packets with invalid CCMP packet numbers to fix connection hangs on some devices
SVN-Revision: 26795
2011-05-01 01:45:26 +00:00
Florian Fainelli
ed5e092217 exclude pktgen for uml target
SVN-Revision: 26781
2011-04-29 12:04:17 +00:00
Jo-Philipp Wich
cb0c1f9015 relayd: map "ipaddr" option to local ip (-L)
SVN-Revision: 26773
2011-04-27 19:16:35 +00:00
Felix Fietkau
c2d4e98e34 madwifi: Fix compilation for 2.6.39
Fix compilation for 2.6.39 by replacing SPIN_LOCK_UNLOCKED with
DEFINE_SPINLOCK().

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

SVN-Revision: 26771
2011-04-26 23:05:34 +00:00
Felix Fietkau
6b376db844 mac80211: backport some more compat fixes, fix compile issues on 2.6.31 and earlier
SVN-Revision: 26768
2011-04-26 22:23:52 +00:00
Felix Fietkau
be3deb5b14 mac80211: broadcast the country IE by default if the country code is configured (#9308)
SVN-Revision: 26765
2011-04-26 19:33:27 +00:00
Felix Fietkau
2b5517934d wpa_supplicant: make sure that the common 802.11 code gets linked in (fixes #9299)
SVN-Revision: 26764
2011-04-26 19:16:25 +00:00
Felix Fietkau
359e667fd5 mac80211: replace the regd revert patch with a proper fix, add some more pending patches
SVN-Revision: 26761
2011-04-26 01:23:23 +00:00