juhosg
fa4dd3d5de
ramips: Fix bridging in ramips ethernet driver
...
Bridging between the ramips ethernet driver and rt2800pci was somewhat
broken. Frames received by the ethernet driver which were passed to the
wifi driver for transmission were sometimes corrupted or sent out with
huge delays.
The reason for this is the missing assignment of skb->tail in the ramips
ethernet driver's rx path resulting in skb->tail pointing to skb->data.
Since skb->tail is used by mac80211 it writes into skb->data which messes
up the frames content.
Fix this by using skb_put to correctly set skb->len and skb->tail.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:07 +00:00
juhosg
675367fe81
ramips: protect GPIO register access with a spinlock
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:04 +00:00
juhosg
76ca646102
ramips: sync kernel config
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:52:02 +00:00
juhosg
c43902582a
tools/firmware-utils: enhance mktplinkfw utility
...
Attached patch enhances the mktplinkfw utility:
1. existing firmware files in TP-Link format can now be inspected, showing eg. the used offsets
2. optionally the kernel and rootfs parts can be extracted (saves calculations for dd)
3. when generating firmwares, kernel entry point, load address and rootfs offset can be overwritten (for experienced users)
Patch-by: Pieter "Fate" Hollants <pieter@hollants.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:51:59 +00:00
jow
be1d1d9f02
[kernel] export SSB fallback SPROM - required for wl.ko
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-13 16:20:29 +00:00
nbd
372c8c5e68
mac80211: improve reliability of the keymiss handling fix, add another aggregation leak fix
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 19:16:22 +00:00
cshore
c98e83d466
[package] block-mount: Attempt swapon a after mounting as well as before. This ensures that swap on a filesystem is enabled.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 17:28:50 +00:00
cshore
36d52e89e7
[package]: block-mount: Fixed two bugs in fstab.init. /etc/fstab was used where /tmp/fstab should have been, and locking was insufficiently careful and was such that it could result in deadlock when hotplug was in use.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:35:39 +00:00
cshore
52993b922e
[package]: block-mount: Enable swap before doing fsck so that large filesystem checks have swap as well as memory (as they take large memory for large partitions). Closes #7599 .
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:25:09 +00:00
nico
86bb57e717
partially revert [22145], keep LINUX_KMOD_SUFFIX, needed to build external modules in ./packages
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 16:01:13 +00:00
claudio
ae57d8838c
massive: replace occurences of .$(LINUX_KMOD_SUFFIX) with .ko after r21950
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 14:06:13 +00:00
claudio
d63165a48d
[kernel] Add package for gpio rotary encoder
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:20:04 +00:00
claudio
4747359497
[kernel] Add package for gpio-pwm
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:20:01 +00:00
claudio
5c39ae21ff
[kernel] pwm: use coherent naming to avoid conflicts
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-12 13:19:57 +00:00
hauke
24a6afd4e7
kernel: modules names changed with kernel 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:39:30 +00:00
hauke
f9840c8bfe
broadcom-wl: fix compiling with kernel 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:33:46 +00:00
hauke
0fac63b557
kernel: fix build problems with recent kernel versions
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 19:00:23 +00:00
hauke
023534e4cf
kernel: Add missing kernel config options
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:52:30 +00:00
hauke
a04d4f8ddb
kernel: add missing dma_dev member to struct ssb_device to make b43/b43legacy compile with current mac80211 version
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 18:50:55 +00:00
nbd
3a46cb8e16
ath9k: remove support for hardware which was never sold. reduces binary size by ~30k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22134 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 15:19:43 +00:00
claudio
b40bc2899b
[kernel] kmod-usb-core is buildin on etrax target
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:11 +00:00
claudio
453df530fd
[etrax] enable usb support by default.
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:09 +00:00
claudio
b9ca13b775
[at91] add defautl config for eth0
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 12:27:05 +00:00
nbd
e62c8091ba
ath9k: improve reliability of the noise floor calibration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 11:56:18 +00:00
claudio
f845016e5d
[at91] fix typo in Makefile tgz -> targz
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 09:53:00 +00:00
nbd
b03d47c107
ath9k: add another batch of stability updates and misc fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-11 03:50:46 +00:00
hauke
af2bb2e258
brcm47xx: use kernel 2.6.34.1 as default kernel
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:40:45 +00:00
hauke
30feff8b48
kernel: update to kernel 2.6.34.1
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 22:39:52 +00:00
nbd
f231b38166
brcm47xx: fix a small copy&paste error in the b44 fix for 2.6.34 and 2.6.35
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 12:17:41 +00:00
nbd
9aaa8ffe66
broadcom-diag: detect more variants of SimpleTech SimpleShare
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 00:51:28 +00:00
nbd
59da09e12d
Get rid of the b44 'BUG! Timeout waiting for bit 80000000 of register 428 to clear.' spam.
...
more and more users are getting confused by this, and consider it a regression in brcm47xx,
because brcm-2.4 was not showing this message. It's not particularly interesting for debugging,
most of the time it only happens because of an unconnected port.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-10 00:48:37 +00:00
claudio
ea1ef33b00
[etrax] fix a bug inside usb driver, thanks to Jesper Nilsson
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:44 +00:00
claudio
76926585cb
[at91] add some missing symbols
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 10:58:40 +00:00
jow
7742ebec30
[package] 6in4: automatically determine wan interface in hotplug events
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-09 00:17:31 +00:00
nbd
221490f6b4
hostapd: make rfkill support optional
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:22 +00:00
nbd
115b6d53ff
hostapd: add preliminary wps script support (push-button only, does not handle multi-bss yet)
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:17 +00:00
nbd
098781b9c8
wifi: fix duplicate ht capabilities in the hostapd config file by clearing the list at config load time
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:12 +00:00
nbd
49a3b6a554
hostapd: enable WPS for the full version of hostapd/wpa_supplicant/wpad
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:36:07 +00:00
nbd
fdc17c5625
hostapd: update to 2010-07-05
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 18:35:15 +00:00
hcg
be6c9f2769
Revert r22094 and r22095
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22096 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 16:15:57 +00:00
hcg
1a5f926918
Added --non-interactive flag to svn package downloads
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 15:44:24 +00:00
hcg
742744addf
add --trust-server-cert to svn checkout of feeds
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 15:27:33 +00:00
hcg
8fe0e7321b
gumstix: add luci
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-08 12:46:36 +00:00
nbd
9f4c286486
mac80211: update to wireless-testing 2010-07-06, add another patch to finally fix the annoying buffer leak in ath9k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 17:03:00 +00:00
hcg
8c4271dec7
crda: remove superfluous dependency
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 13:51:18 +00:00
hcg
e22bf04e2c
[omap35xx] Add kmod-usb-hid
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-07 12:30:29 +00:00
hauke
e47303d394
kernel: add missing config option found by buildbot
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 20:50:47 +00:00
nbd
9b8cc433f0
repair the damage that was done to the packet socket type filter patch when it was forward ported to 2.6.33
...
this should fix the mac80211 problems in 2.6.33 and later versions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:55 +00:00
nbd
3cb4900951
mac80211: fix interface teardown for kernels >= 2.6.33
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 18:53:48 +00:00
nbd
f3814337f1
ar71xx: only reinit the ethernet MAC at .open() on ar724x for now, until we've figured out what part of it causes the issue described in #7563
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-07-06 12:40:07 +00:00