Commit graph

6096 commits

Author SHA1 Message Date
Jo-Philipp Wich
964feeb54d hostapd: introduce "wpa_pair_rekey" and "wpa_master_rekey" options, remove hardcoded wpa rekey intervals, remove hardcoded radius_acct_interim_interval as it might overrule the radius Acct-Interim-Interval attribute
SVN-Revision: 28207
2011-09-09 18:19:18 +00:00
Felix Fietkau
2fe806c2bf ath9k: fix an rx path race condition that might be the cause of the "ath: DMA failed to stop in 10 ms" logspam as well as various connection stability issues
SVN-Revision: 28202
2011-09-09 07:20:44 +00:00
Jo-Philipp Wich
609d072fee broadcom-wl: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28200
2011-09-08 23:34:13 +00:00
Jo-Philipp Wich
89e74f6aea madwifi: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28199
2011-09-08 23:31:42 +00:00
Jo-Philipp Wich
fdfa6fdbcd mac80211: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28198
2011-09-08 23:21:36 +00:00
Felix Fietkau
5da0d9dda1 mac80211: fix an endian issue in BlockAckReq handling
SVN-Revision: 28190
2011-09-07 06:06:34 +00:00
Felix Fietkau
1c0d12c935 mac80211: merge a power save related race condition fix
SVN-Revision: 28185
2011-09-06 11:09:40 +00:00
Felix Fietkau
2a745a7d54 ath9k: fix beacon timer init on reset
SVN-Revision: 28169
2011-09-04 19:06:02 +00:00
Felix Fietkau
a84e64e432 hostapd: add a workaround for driver issues in various android devices with texas instruments wifi
SVN-Revision: 28167
2011-09-04 18:23:36 +00:00
Jo-Philipp Wich
a6c02f8912 uhttpd: properly match mimetype entries which cover the whole filename (#8236)
SVN-Revision: 28160
2011-09-04 10:21:05 +00:00
Felix Fietkau
f24b8561d4 ath9k: fix some hw reset issues
SVN-Revision: 28151
2011-09-03 03:27:20 +00:00
Jo-Philipp Wich
7fce085a97 uhttpd: add "application/x-ns-proxy-autoconfig" mime type (#8236)
SVN-Revision: 28149
2011-09-02 13:28:29 +00:00
Jo-Philipp Wich
995face56d firewall: make ESTABLISHED,RELATED rules match before INVALID, use conntrack instead of state match (#10038)
SVN-Revision: 28148
2011-09-01 20:37:22 +00:00
Felix Fietkau
99e422472c ath9k: merge a fix for tx power limit testing
SVN-Revision: 28143
2011-09-01 18:15:03 +00:00
Felix Fietkau
44616eca49 Revert "hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)" This is causing regressions for other clients
SVN-Revision: 28141
2011-09-01 16:07:38 +00:00
Felix Fietkau
5c8270da86 ath9k: fix another crash bug
SVN-Revision: 28139
2011-08-31 23:25:37 +00:00
Felix Fietkau
7118498511 ath9k: merge a pending fix for 5 ghz rx latency
SVN-Revision: 28137
2011-08-31 06:34:53 +00:00
Felix Fietkau
7f9ad157b9 swconfig: hide inactive vlans on "swconfig dev switch0 show"
SVN-Revision: 28133
2011-08-30 21:00:01 +00:00
Felix Fietkau
a4ad239191 ath9k: add a missing dma cache sync on aggregation software retry
SVN-Revision: 28132
2011-08-30 20:59:57 +00:00
Felix Fietkau
be077babbf ath9k: add some more minor hw reset related fixes
SVN-Revision: 28129
2011-08-30 07:46:38 +00:00
Felix Fietkau
dea36724a4 base-files: remove an old network tunable tweak which is messing up network stack performance on modern systems
SVN-Revision: 28126
2011-08-29 23:34:11 +00:00
Felix Fietkau
eae76139f2 ath9k: fix a few crash issues on hardware reset
SVN-Revision: 28122
2011-08-29 18:41:18 +00:00
Felix Fietkau
78ec994ef8 ath9k: use cold reset instead of warm reset on ar9280 to make recovery from stuck states more reliable
SVN-Revision: 28118
2011-08-29 12:01:06 +00:00
Felix Fietkau
8a3d0de37b ath9k: add some cleanup patches
SVN-Revision: 28117
2011-08-29 12:01:02 +00:00
Felix Fietkau
aa5948296b ath9k: fix a compile error
SVN-Revision: 28116
2011-08-29 10:46:02 +00:00
Felix Fietkau
5abe1156e7 ath9k: fix disabling ani on reset
SVN-Revision: 28115
2011-08-29 10:40:46 +00:00
Felix Fietkau
7197dbac31 ath9k: fix processing of rx frames on channel change
SVN-Revision: 28114
2011-08-29 09:55:16 +00:00
Felix Fietkau
bf020bf5e6 ath9k: fix a tx aggregation padding issue
SVN-Revision: 28113
2011-08-29 09:55:11 +00:00
Felix Fietkau
c8b4192518 hostapd: add a patch for ignoring the WPA/WPA2 key type to work around some broken clients (#9561)
SVN-Revision: 28111
2011-08-29 08:23:13 +00:00
Felix Fietkau
01baf9084f ath9k: fix calibration on 5 ghz
SVN-Revision: 28110
2011-08-29 08:00:08 +00:00
Felix Fietkau
8643ea587a ath9k: minor fixes for the antenna control patch
SVN-Revision: 28109
2011-08-29 08:00:00 +00:00
Felix Fietkau
dcb00e0655 ath9k: prevent calibration / beacons from starting too early
SVN-Revision: 28108
2011-08-28 22:06:44 +00:00
Felix Fietkau
8a26e3d6c7 ath9k: implement rx/tx antenna control
SVN-Revision: 28107
2011-08-28 18:38:24 +00:00
Jonas Gorski
45d80c30a2 mac80211: allow building for linux 3.1 again
wireless-testing 2011-08-26 properly detects and works with linux 3.1.

SVN-Revision: 28096
2011-08-28 10:17:26 +00:00
Felix Fietkau
ce36543a7d ath: fix compile errors with CONFIG_PACKAGE_ATH_DEBUG disabled (#10013)
SVN-Revision: 28095
2011-08-28 07:34:34 +00:00
Felix Fietkau
8d25adf565 ath9k: fix cts timeout setting on 2.4 ghz
SVN-Revision: 28094
2011-08-27 23:53:49 +00:00
Felix Fietkau
46d2b929c7 mac80211: update to wireless-testing 2011-08-26
SVN-Revision: 28093
2011-08-27 21:57:07 +00:00
Florian Fainelli
0a97fda27e update acx-mac80211 to 20110821
SVN-Revision: 28089
2011-08-26 12:45:19 +00:00
Florian Fainelli
0ec7f94548 udev: bump to 173
Yet another update, I inherited a wrong behaviour with older versions.
It used to $(INSTALL_BIN) symlinks which results in copying the dereferenced
file and not the symlink itself, now uses $(CP) and it's reported working (and running)
by at least one person in IRC (using a glibc toolchain with mips). Works and runs on
my toolchain (mipsel uClibc) too.

Signed-off-by: Daniel Mierswa <impulze@impulze.org>

SVN-Revision: 28085
2011-08-25 10:49:29 +00:00
Gabor Juhos
06bc4dad81 package: dwc_otg is required for external root on ramips.
Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>

SVN-Revision: 28074
2011-08-22 18:08:49 +00:00
Hamish Guthrie
f02d0fae40 mac80211: Fix the location firmware is copied to (libertas_sdio driver loads firmware from /lib/formware/libertas)
SVN-Revision: 28069
2011-08-22 11:04:13 +00:00
Jo-Philipp Wich
9d33a50cbb mac80211: configure hostapd logging options
SVN-Revision: 28057
2011-08-20 00:14:48 +00:00
Jo-Philipp Wich
cfc23e4c49 hostapd: introduce options to configure the logging behaviour. The config wifi-device section gains the following settings: * log_level (2) - Defines the minimum message level * log_80211 (true) - Log 802.11 events * log_8021x (true) - Log 802.1X events * log_radius (true) - Log RADIUS events * log_wpa (true) - Log WPA events * log_driver (true) - Log driver interface messages * log_iapp (true) - Log IAPP events * log_mlme (true) - Log MLME events
SVN-Revision: 28056
2011-08-20 00:13:58 +00:00
Hamish Guthrie
b109c43deb Change u-boot console device to reflect change in omap serial driver
SVN-Revision: 28048
2011-08-19 12:01:30 +00:00
Florian Fainelli
86827f4c88 perf: depends on libelf1
SVN-Revision: 28033
2011-08-17 14:37:29 +00:00
Florian Fainelli
9d9722c40f kernel: add kmod-crypto-user
Add kernel crypto user-space interface (af_alg). Includes interface for
hash algorithms (algif_hash) and skcipher algorithms (algif_skcipher).

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

SVN-Revision: 28026
2011-08-17 08:48:38 +00:00
Florian Fainelli
d132f4c1c2 add support for DS2482 1-Wire I2C bus master
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>

SVN-Revision: 28010
2011-08-16 20:33:55 +00:00
Gabor Juhos
404ca36e60 package/maccalc: a simple mac address manipulation utility
SVN-Revision: 28004
2011-08-15 18:55:51 +00:00
Gabor Juhos
09dd2b5f89 package/kernel: create package for the RT305x dwc_otg driver
Based on a patch by Layne Edwards <ledwards76@gmail.com>

SVN-Revision: 27998
2011-08-15 14:11:57 +00:00
Gabor Juhos
92c6097c73 button-hotplug: add autoload feature
Reported-by: Philip Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27994
2011-08-15 14:11:49 +00:00
Hauke Mehrtens
f48acb1dc2 kernel: remove kmod-input-core just for some x86 profiles.
Not all x86 profiles have CONFIG_INPUT=y in their configuration. Just remove kmod-input-core for them.

Thank you Philip Prindeville for pointing out this problem.

SVN-Revision: 27988
2011-08-15 11:05:35 +00:00
Jonas Gorski
b413f797cf package/kernel: kmod-hid: can't mix and match DEPENDS:= and $(call SetDepends/...)
Since the SetDepends macro does a:

  DEPENDS:= ...

it can't be used after setting DEPENDS:= explicitly, or it will clobber the previous value.

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

SVN-Revision: 27983
2011-08-14 23:36:45 +00:00
Jonas Gorski
44b272fd58 package/kernel: Fix AddDepends/SetDepends calls with make 3.82
The module definitions depend on 001-depends.mk being the first included,
but make 3.82 does not sort the results of wildcards anymore, so do an
explicit sort of the includes.

Found by Philip Prindeville, thanks!

SVN-Revision: 27982
2011-08-14 23:36:42 +00:00
Jo-Philipp Wich
f1e7045d30 firewall: further tune ICMPv6 default rules according to RFC4890 (#9893)
SVN-Revision: 27979
2011-08-14 00:33:29 +00:00
Jo-Philipp Wich
3aa922d33c mac80211: use first available channel from current phy if channel is set to "auto"
SVN-Revision: 27976
2011-08-13 22:55:59 +00:00
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
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
Felix Fietkau
f2ccc3ada5 ath9k: remove the signal strength fix, it causes a lot of confusion and seems to be just as inaccurate as the original version of the code
SVN-Revision: 26753
2011-04-25 18:21:32 +00:00
Felix Fietkau
9dbcf86d8e cfg80211: revert upstream regdomain handling breakage
SVN-Revision: 26752
2011-04-25 18:21:28 +00:00
Felix Fietkau
cbbe49a1d8 hostapd: fix a few compile errors and warnings
SVN-Revision: 26751
2011-04-24 03:34:46 +00:00
Felix Fietkau
e15e8f6976 mac80211: do rate control updates when the HT configuration changes on an interface
SVN-Revision: 26750
2011-04-23 21:34:40 +00:00
Felix Fietkau
d7bdfca6d0 hostapd: update to 2011-04-21
SVN-Revision: 26749
2011-04-23 21:34:35 +00:00
Hauke Mehrtens
6986b1b7c2 mac80211: remove unneeded patch
This was fixed upstream

SVN-Revision: 26745
2011-04-21 09:32:49 +00:00
Felix Fietkau
970252faf8 mac80211: update to wireless-testing 2011-04-19, contains several beacon related fixes for ath9k
SVN-Revision: 26744
2011-04-20 18:14:35 +00:00
Jo-Philipp Wich
7982978391 ppp: extend the r26742 change to ip-down too
SVN-Revision: 26743
2011-04-20 12:08:12 +00:00
Jo-Philipp Wich
8d47f51f7c ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
SVN-Revision: 26742
2011-04-20 12:02:04 +00:00
Jo-Philipp Wich
2a386cee99 firewall: prevent excessive uci state data aggregation (#9152)
SVN-Revision: 26740
2011-04-20 11:49:09 +00:00
Felix Fietkau
04d064a590 busybox: refresh patches
SVN-Revision: 26738
2011-04-20 02:56:23 +00:00
Felix Fietkau
c4dbe835b4 busybox: fix issues with static routes and 6rd option parsing (thx, Florian Fuessl)
SVN-Revision: 26737
2011-04-20 02:56:17 +00:00
Hauke Mehrtens
75a63f1981 mac80211: b43: Expose N-PHY support
Allow enabling of N-PHY support for BCM4321 and BCM4322.

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

SVN-Revision: 26736
2011-04-19 21:44:29 +00:00
Hauke Mehrtens
becddc9ec7 mac80211: b43: Expose PIO mode fallback
Allow reenabling the PIO mode fallback for b43.

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

SVN-Revision: 26735
2011-04-19 21:43:19 +00:00
Hauke Mehrtens
0429ec0c11 mac80211: b43: Expose debug option
Allow enabling debug output and debugfs for B43.

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

SVN-Revision: 26734
2011-04-19 21:40:29 +00:00
Hauke Mehrtens
cda9981625 mac80211: b43: Add Firmware 5.10.56.27
Add the 5.10.56.27 firmware option. This includes updating b43-fwcutter to
its newest release 14 and updating the b43-fwsquash.py to recognise rev 16
n phy files.

Also rename the current options from STABLE/EXPERIMENTAL to their version
numbers.

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

SVN-Revision: 26733
2011-04-19 21:40:08 +00:00
Felix Fietkau
ea07da5fe5 hostapd: fix bridge handling for wds stations (#9257)
SVN-Revision: 26724
2011-04-19 15:41:49 +00:00
Felix Fietkau
9d0882b720 mac80211: re-enable beacon channel hints
SVN-Revision: 26723
2011-04-19 15:41:45 +00:00
Jo-Philipp Wich
144bee2090 base-files: fix stale space in eglibc library install section (#9270)
SVN-Revision: 26720
2011-04-19 13:18:39 +00:00
Felix Fietkau
f22d06ad7a librpc: update to a newer version to fix issues with __set_errno
SVN-Revision: 26716
2011-04-18 09:42:46 +00:00
Felix Fietkau
032a3504ee ath9k: assign a keycache slot per station for unencrypted links to fix powersave frame filtering
SVN-Revision: 26712
2011-04-17 20:56:14 +00:00
Felix Fietkau
cbc16e179e ath9k: add a patch to show excessive retry counts for single MPDUs
SVN-Revision: 26711
2011-04-17 20:56:10 +00:00
Felix Fietkau
8f5a84a690 mac80211: fix the config define for iwl3945
SVN-Revision: 26697
2011-04-16 19:52:39 +00:00
Felix Fietkau
8cf42db0ca mac80211: make intel wireless drivers depend on pci support
SVN-Revision: 26696
2011-04-16 19:52:35 +00:00
Felix Fietkau
e00eaf1545 mac80211: add intel drivers to PKG_CONFIG_DEPENDS
SVN-Revision: 26695
2011-04-16 19:52:31 +00:00
Felix Fietkau
69f8f5ebfd ath5k: allow simultaneous ad-hoc+ap operation
SVN-Revision: 26685
2011-04-15 16:54:52 +00:00
Felix Fietkau
19e4c371c5 opkg: avoid using getline() to fix a compile issue on darwin (patch by Javier Palacios, #9223)
SVN-Revision: 26684
2011-04-15 16:18:11 +00:00
Felix Fietkau
4ca0906341 uboot-ar71xx: add a dependency on the ar71xx target
SVN-Revision: 26683
2011-04-15 15:41:49 +00:00
Felix Fietkau
1b18a439e6 uboot-ar71xx: remove a bogus dependency
SVN-Revision: 26677
2011-04-15 00:54:14 +00:00
Felix Fietkau
6397aeb8b1 uboot-ar71xx: fix compile on mac os x (patch from #9124)
SVN-Revision: 26676
2011-04-15 00:54:08 +00:00
Felix Fietkau
39fc0fc2f7 ath9k: due to popular request, allow ad-hoc+ap again, now that the beacon code can handle it
SVN-Revision: 26668
2011-04-14 23:22:21 +00:00
Felix Fietkau
e0aa62e3c2 ath9k: fix resetting the hw during channel change when the MAC fails to go idle
SVN-Revision: 26665
2011-04-14 22:46:12 +00:00
Felix Fietkau
79ecac89e6 cfg80211: disable processing of 802.11d regulatory hints - it causes invalid regulatory settings on reconnect (fixes #9207)
SVN-Revision: 26662
2011-04-14 16:52:09 +00:00
Lars-Peter Clausen
8ba2d8098a kernel: revert r24160 (remove the bogus ext2/ext3 dependency on linux 2.6.30/31)
For kernel versions newer then 2.6.31 the ext4 module can be used to mount
ext2/3 filesystems.
Building ext2/3 as modules on the other hand breaks using ext4 for mounting ext2
or ext3, which breaks booting from ext2/3 on machines where the ext4 module is
built into the kernel.

SVN-Revision: 26645
2011-04-13 13:37:40 +00:00
Alexandros C. Couloumbis
9ec445154e package/hostapd: cosmetic fix
SVN-Revision: 26644
2011-04-13 13:36:48 +00:00
Vasilis Tsiligiannis
372cefb114 kernel/modules: Move zlib_deflate module to higher autoloading priority
SVN-Revision: 26639
2011-04-12 23:48:28 +00:00
Vasilis Tsiligiannis
41cc2d3a52 kernel/modules: Fix r26637
SVN-Revision: 26638
2011-04-12 23:42:01 +00:00
Vasilis Tsiligiannis
d7197ec50b kernel/modules: Add kmod-zlib dependency to kmod-crypto-deflate
SVN-Revision: 26637
2011-04-12 23:34:28 +00:00
Vasilis Tsiligiannis
4f6f0cbe38 kernel/modules: Add zlib package
SVN-Revision: 26636
2011-04-12 23:18:53 +00:00
Vasilis Tsiligiannis
0a0b8c621c kernel/modules: Add "Libraries" submenu and move library packages there
SVN-Revision: 26635
2011-04-12 23:18:48 +00:00
Vasilis Tsiligiannis
627438d0ff kernel/modules: fix kmod-fs-btrfs deps / zlib_deflate / makefile
btrfs needs zlib_deflate, which was built but not included

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 26632
2011-04-12 23:18:30 +00:00
Jo-Philipp Wich
2f6361832e base-files: return success on lib-copying with external toolchain when using an external toolchain the base-files package copies libc, libgcc and others from the library directory.
The file list is given as following in the .config:
CONFIG_LIBC_FILE_SPEC="./lib/ld{-*.so,-linux*.so.*} ./lib/lib{anl,c,cidn,crypt,dl,m,nsl,nss_dns,nss_files,resolv,util}{-*.so,.so.*}"

Because the filenames are composed with different endings, not all files exist
and will be skipped. Currently, this works only if the last composed file
(util.so.*) really exists. At the moment this works - but only if you don't add
a new file like 'uClibc'.

Adding it at the end '...resolv,util,uClibc}{-*.so,.so.*}' will lead to this
message, because the combination 'libuClibc.so.*' doesn't exist and Make will
evaluate the last copy statement of the for loop.
2011-04-12 20:37:43 +00:00
Jo-Philipp Wich
9646ca6c6e This patch updates qos-scripts to support fair traffic sharing using the SFQ with external classifiers method. It also corrects a bug in the unsupported ESFQ method already used by qos-scripts. (ESFQ: http://fatooh.org/esfq-2.6/ only updated to 2.6.24, it was switched to an SFQ patch after that and not updated since 2008)
A class can be forced to use SFQ, and an external classifier added like
this:

config class "Normal"
         option avgrate     10
         option priority    30
         option packetdelay 100
         option limitrate   94
#       option qdisc      "sfq perturb 2"
config class "Normal_up"
#       option filter   "protocol all flow hash keys src divisor 1024"
config class "Normal_down"
#       option filter   "protocol all flow hash keys dst divisor 1024"

Using these options, the user needs to load cls_flow before qos-scripts
starts.

I've got more information here:
http://oneitguy.com/blogs/netprince/fair-traffic-sharing-esfq-broken-switching-sfqexternal-classifiers

This has been tested on r23914.

Signed-off-by: Ben Pfountz <netprince<>vt_edu>

SVN-Revision: 26622
2011-04-12 20:33:11 +00:00
Jo-Philipp Wich
a9977eca91 firewall: allow local redirection of ports
Allow a redirect like:

config redirect
        option src 'wan'
        option dest 'lan'
        option src_dport '22001'
        option dest_port '22'
        option proto 'tcp'

note the absence of the "dest_ip" field, meaning to terminate the connection on the firewall itself.

This patch makes three changes:

(1) moves the conntrack module into the conntrack package (but not any of the conntrack_* helpers).
(2) fixes a bug where the wrong table is used when the "dest_ip" field is absent.
(3) accepts incoming connections on the destination port on the input_ZONE table, but only for DNATted
    connections.

In the above example,

ssh -p 22 root@myrouter

would fail from the outside, but:

ssh -p 22001 root@myrouter

would succeed.  This is handy if:

(1) you want to avoid ssh probes on your router, or
(2) you want to redirect incoming connections on port 22 to some machine inside your firewall, but
    still want to allow firewall access from outside.

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

SVN-Revision: 26617
2011-04-12 20:03:59 +00:00
Felix Fietkau
512bb389ee pppd: support the nomp option if multilink support is disabled
SVN-Revision: 26614
2011-04-12 18:29:28 +00:00
Felix Fietkau
768877966d hostapd: properly mark random data as ready if initialization succeeds without reassociation (#9222)
SVN-Revision: 26611
2011-04-12 17:30:16 +00:00
Felix Fietkau
966dee23c3 mac80211: fix WPA auth on WDS station interfaces (#9227)
SVN-Revision: 26609
2011-04-12 17:17:56 +00:00
Hamish Guthrie
6f497711cf Modify environment variables for altered filesystem layout
SVN-Revision: 26608
2011-04-12 14:24:20 +00:00
Gabor Juhos
5ffdddc75e mac80211: ath9k: register id table for platform device
Currently the device id in the platform driver is hardcoded to an
id which is specific to AR9130/AR9132 SOCs as it supports only wmac
(wireless mac) of these SOCs. But this needs to be dynamic when we
want to support different wmac of SOCs. So add id_table to driver to
make it extendable to more SOCs.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>

SVN-Revision: 26604
2011-04-12 09:29:23 +00:00
Gabor Juhos
98d3aa13f4 package/kernel: add module for the gpio_keys_polled driver
SVN-Revision: 26602
2011-04-12 09:29:14 +00:00
Jo-Philipp Wich
37f7e8afdc opkg: update to r618
SVN-Revision: 26598
2011-04-11 22:08:43 +00:00
Felix Fietkau
93da23803b ath5k: disable the unusable 2 GHz mode on the first radio of a dual-band AR5312 device
SVN-Revision: 26587
2011-04-11 03:26:08 +00:00
Felix Fietkau
092de86b0a ath5k: fix eeprom capability checks that disabled AES crypto support where it should have been enabled
SVN-Revision: 26586
2011-04-11 03:26:03 +00:00
Felix Fietkau
718f5aa78e ath5k: fix mac address detection on dual-radio ar5312
SVN-Revision: 26583
2011-04-10 21:12:05 +00:00
Felix Fietkau
8ab360f9b3 ath5k: fix 2ghz-only radio handling on ar5312
SVN-Revision: 26582
2011-04-10 21:12:00 +00:00
Felix Fietkau
702a2f8430 ath5k: decrease interrupt load for rx/tx interrupts
SVN-Revision: 26579
2011-04-10 16:23:39 +00:00