Commit graph

5741 commits

Author SHA1 Message Date
Felix Fietkau
f681253412 ath9k: merge a few more pending fixes, including a fix for the bogus WARN_ON in pci.c and fixes for Rx DMA stop issues
SVN-Revision: 27972
2011-08-13 16:25:15 +00:00
Felix Fietkau
757a0d47b7 crda: update regulatory database to 2011-04-28, adds fixes for NL (#9931)
SVN-Revision: 27970
2011-08-13 14:07:01 +00:00
Felix Fietkau
57a37967f7 libubox: update to fix a compile error
SVN-Revision: 27968
2011-08-12 17:15:22 +00:00
Jo-Philipp Wich
aab33e2e9a base-files: fix arp() procedure to properly detect /usr/bin/arp
SVN-Revision: 27965
2011-08-12 14:34:39 +00:00
Felix Fietkau
5e4563221a update libubox and ubus to latest, libubox now includes jshn
SVN-Revision: 27963
2011-08-11 22:09:11 +00:00
Jo-Philipp Wich
09bc84f55b iptables: drop iptables-utils and ip6tables-utils, ship needed symlinks in iptables and ip6tables packages (#9691)
SVN-Revision: 27961
2011-08-11 21:26:44 +00:00
Felix Fietkau
400f75a1b6 mac80211: update to 2011-08-10
SVN-Revision: 27958
2011-08-11 13:52:27 +00:00
Felix Fietkau
dd46d036d9 ath9k: add a regdomain code used on newer ubiquiti networks devices
SVN-Revision: 27947
2011-08-10 16:35:43 +00:00
Jonas Gorski
33f5b77228 package/acx: mark as broken for linux 3.1
SVN-Revision: 27938
2011-08-09 12:19:36 +00:00
Jonas Gorski
b4b0adb79d package/madwifi: mark as broken for linux 3.1
Madwifi does not compile because of VLAN API changes.

SVN-Revision: 27937
2011-08-09 12:19:34 +00:00
Jonas Gorski
d43ad87c44 package/kernel: Mark mvswitch as broken for linux 3.1
mvswitch does not compile because of VLAN API changes.

SVN-Revision: 27936
2011-08-09 12:19:32 +00:00
Jonas Gorski
b9776f56d8 package/mac80211: mark as broken for linux 3.1
compat-wireless does not support 3.1 yet.

SVN-Revision: 27935
2011-08-09 12:19:30 +00:00
Jonas Gorski
d430455527 package/kernel: invert dependencies for current kernel features
Instead of depending on new kernel versions, depend on not having one
of the older ones (or vice versa for modules removed in current kernels).

SVN-Revision: 27934
2011-08-09 12:19:27 +00:00
Felix Fietkau
22e951ae46 b43: fix reloading config settings after channel changes or hostapd restart (#8033)
SVN-Revision: 27930
2011-08-08 11:28:24 +00:00
Hauke Mehrtens
6474dbe86b mac80211: always store broadcom firmware in b43 and b43legacy dir
This is always used to build a firmware for linux systems also if we are on freebsd.

This is one patch from #9897

SVN-Revision: 27926
2011-08-06 17:07:42 +00:00
Hauke Mehrtens
7ac20c54fe kernel: typo in cs5535 and cs5536 pata driver kernel definitions
closes #9773

SVN-Revision: 27924
2011-08-06 16:44:10 +00:00
Hauke Mehrtens
773ce8c319 broadcom-diag: add support for bcma
SVN-Revision: 27905
2011-08-04 20:08:57 +00:00
Hauke Mehrtens
b220442c75 switch: update for brcm47xx target
* remove suport for 2.4 kernel
* add support for bcma bus

SVN-Revision: 27904
2011-08-04 20:07:58 +00:00
Hauke Mehrtens
695cef4f45 rtc-rv5c386a: add support for kernel 3.0
remove BKL and adds support for changes in bcm47xx code

SVN-Revision: 27903
2011-08-04 20:06:17 +00:00
Hauke Mehrtens
8428ebd8e8 brcm47xx: update patches
* this adds sflash support for ssb devices
* the flash is now a platform device
* minor updates

SVN-Revision: 27902
2011-08-04 20:04:54 +00:00
Felix Fietkau
353639cdd9 ath9k: add missing chunk to the BlockAckReq fix (fixes a compile error)
SVN-Revision: 27891
2011-08-04 09:23:57 +00:00
Felix Fietkau
e9aaa9061f ath9k: add some code to control internal driver queue length limits
SVN-Revision: 27890
2011-08-04 00:35:20 +00:00
Felix Fietkau
cdc70d84ce ath9k: reduce the number of software retries, include hardware a-mpdu retries in retry counting
SVN-Revision: 27889
2011-08-04 00:35:16 +00:00
Felix Fietkau
e7174f44b7 ath9k: rework handling of sending BlockAckReq frames, should hopefully lead to fewer latency spikes
SVN-Revision: 27888
2011-08-04 00:35:12 +00:00
Jonas Gorski
61e2e03311 kernel: Fix firewire for 2.6.37+
The old ieee1394 stack was removed in 2.6.37. The new firewire stack is
available for all kernel versions, but experimental for the older one, so
make both available where appropriate.

SVN-Revision: 27874
2011-08-02 09:53:19 +00:00
Felix Fietkau
e79f073de9 mac80211: fix a compiler warning
SVN-Revision: 27870
2011-08-01 21:14:15 +00:00
Felix Fietkau
c330325bda broadcom-wl: fix setup of virtual interfaces (patch by Nathan Hintz)
SVN-Revision: 27868
2011-08-01 18:41:05 +00:00
Florian Fainelli
901618c68d perf: mark as broken for now
Until we properly deal with the various versions of libelf we package,
mark perf as broken

SVN-Revision: 27867
2011-08-01 18:16:19 +00:00
Felix Fietkau
9f3aea65fc mac80211: add missing chunks to the compat_firmware_class change
SVN-Revision: 27864
2011-08-01 17:52:07 +00:00
Felix Fietkau
21dd9478d7 mac80211: move compat_firmware_class.ko into compat.ko (fixes #9864)
SVN-Revision: 27863
2011-08-01 17:42:00 +00:00
Vasilis Tsiligiannis
0cd8805b0a kernel/modules: Add missing config symbol
SVN-Revision: 27862
2011-08-01 14:45:03 +00:00
Felix Fietkau
d3f4416d58 ath9k: prevent the aggregation code from sending packets to sleeping stations - should fix some latency issues
SVN-Revision: 27861
2011-08-01 12:15:22 +00:00
Felix Fietkau
a1e19186fa ath9k: fold patches that were merged upstream into 300-pending_work.patch
SVN-Revision: 27860
2011-08-01 12:15:15 +00:00
Jonas Gorski
478decc60b gdb: add dependency to libexpat when present
Also prevent gdb from trying to link against the host's libexpat.

SVN-Revision: 27859
2011-08-01 09:32:01 +00:00
Jonas Gorski
eb90f30ce7 package/kernel: move kmod-fs-mbcache into fs-ext4
mbcache is only needed if xattr support is enabled, but this is only true
for ext4 on 2.6.37+, so just bundle it with ext4 when needed.

SVN-Revision: 27849
2011-07-31 17:58:46 +00:00
Jo-Philipp Wich
8fc2981bcd dropbear: - split port argument at the rightmost colon, allows binding to specific IPv6 addresses - don't use uci ipaddr var but resolve ifname and get addresses from it (#9853)
SVN-Revision: 27843
2011-07-31 12:05:54 +00:00
Felix Fietkau
26fed98ce6 qos-scripts: disable by default
SVN-Revision: 27832
2011-07-29 16:32:55 +00:00
Felix Fietkau
35463493e8 hostapd: fix a compile issue when compiling wpa_supplicant (fixes #9837)
SVN-Revision: 27830
2011-07-29 14:14:32 +00:00
Felix Fietkau
a5edb705b4 ath9k: fix switching channel bandwidth from 5/10 back to 20mhz
SVN-Revision: 27827
2011-07-29 12:25:46 +00:00
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