Hauke Mehrtens
220528a611
mac80211: fix memory leak on bcm5354
...
The ucode triggers the gpio pins used for the buttons and causes diag to handle them and send them to userspace.
This only happened with a more recent firmware.
This patch was tested on an Asus wl-520GU and should also work on the other bcm5354 based asus devices. I do not know if it works on the dir320.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 22:46:27 +00:00
Jo-Philipp Wich
2afb201588
[package] iwinfo: iwinfo_hardware_id_from_mtd() never writes, so do not request write access in mmap()
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 21:27:41 +00:00
Jo-Philipp Wich
bbf5ddc6ff
[package] iwinfo: recognize AR5416 EEPROMs as seen on the Ubiquiti Picostation M2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 21:17:59 +00:00
Felix Fietkau
32a6974781
strip kernel modules more aggressively: make all global symbols local, rename all symbols in the symbol table to make them compress better
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 17:38:26 +00:00
Felix Fietkau
31df1c58cb
ar71xx: switch to kmod-gpio-button-hotplug
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:48 +00:00
Felix Fietkau
37f214511f
add gpio-button-hotplug, like button-hotplug + gpio-keys-polled, fully compatible, but without the nasty input-core dependency chain
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 10:51:43 +00:00
Jo-Philipp Wich
f2e47079d7
[package] iwinfo: add more device entries
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 09:27:32 +00:00
Felix Fietkau
50e93c4a47
kernel: strip unnecessary symbol table information from kernel modules, reduces default squashfs size on ar71xx by about 4k
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30657 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-20 09:03:17 +00:00
Gabor Juhos
48f9e5b6d4
ramips: rt3883: make rt3883_nand_data visible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 19:40:37 +00:00
Gabor Juhos
557330a449
ramips: merge 3.2 fixes
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:23 +00:00
Gabor Juhos
b38433a748
ramips: nuke 2.6.39 support
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:20 +00:00
Gabor Juhos
11e405e604
ramips: rt305x: nuke built-in MTD partition maps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:15 +00:00
Gabor Juhos
c372a76f02
ramips: rt288x: nuke built-in MTD partition maps
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:11 +00:00
Gabor Juhos
a9168c816d
ramips: build sysupgrade image for the V11ST-FE board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 17:52:08 +00:00
Gabor Juhos
75603b2e32
ramips: rt305x: add support for the Skyline SL-R7205 Wireless 3G router
...
[juhosg:
- don't switch back to 2.6.39
- update config-3.2
- change machine id to SL-R7205
- reorder case entries in platform scripts
- remove button hotplug script]
Signed-off-by: Haipoh Teoh <hpteoh@ceedtec.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 16:44:49 +00:00
Hauke Mehrtens
2f78e4449f
mac80211: brcmsmac: fix a build warning, till we update bcma
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 14:21:21 +00:00
Hauke Mehrtens
50878d446a
mac80211: add brcmsmac driver
...
brcmsmac does not work on bcm47xx based devices or has AP mode support for now.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 14:05:17 +00:00
Hauke Mehrtens
df4719bd23
mac80211: fix directory of mwl8k firmware
...
Thank you Eugene San for the patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-19 13:26:35 +00:00
Hauke Mehrtens
0255d701d2
brcm47xx: add code to generate images for some netgear devices
...
This is commented out until we get report of working devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:21:47 +00:00
Hauke Mehrtens
9b919a07e0
brcm47xx: sprom for nvram parsing
...
This adds support for parsing sprom form nvram for sprom version form 1 to 9.
It also adds sprom from nvram support for devices on the bcma bus.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 23:08:26 +00:00
Gabor Juhos
64c49080b6
ralink: rt3883: disable the 2GHz band on the RT-N56U
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:21 +00:00
Gabor Juhos
cf5d9e72cd
ramips: rt3883: make rt3883_wlan_data visible
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30631 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:16 +00:00
Gabor Juhos
2eeb0d15d2
generic: add disable_[25]ghz to struct rt2x00_platform_data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:13 +00:00
Gabor Juhos
a86166f6be
mac80211: rt2x00: allow to disable bands via platform data
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 17:36:09 +00:00
Gabor Juhos
b7f6442aeb
package/kernel: add package for MTD testing modules
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 16:02:18 +00:00
Gabor Juhos
b19b305356
firmware-utils/mkfwimage: allow to override firmware magic
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:54 +00:00
Gabor Juhos
390cbbcf32
ar71xx: fix image signature for UBNT-XM boards
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-18 14:45:52 +00:00
Felix Fietkau
3b4fcfa99e
ath5k: do not re-run AGC calibration periodically - fixes stability issues on AR2315 ( #10574 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 22:15:33 +00:00
Felix Fietkau
732802a8db
ath5k: do not stop the hardware queues during PAPD calibration, speeds up calibration
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 22:15:26 +00:00
Gabor Juhos
2f3e324a4c
generic/2.6.37: fix 'set but unused' build errors on MIPS
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 17:21:03 +00:00
Felix Fietkau
7472c7c236
gcc: use .eh_frame sections for exception handling stack unwind - saves about 400 bytes on every executable or shared library
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:08 +00:00
Felix Fietkau
927594bdea
gcc: enable --with-headers for the final toolchain build
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 16:55:01 +00:00
Felix Fietkau
62a5f0d1df
crda: remove unnecessary build dependency on mac80211
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30612 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 15:54:57 +00:00
Felix Fietkau
05a3f35dce
hostapd: remove unnecessary dependency on mac80211
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 15:54:53 +00:00
Jo-Philipp Wich
f6d30fd125
[package] broadcom-diag: add missing brackets breakign the detection logic ( #10836 )
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 09:04:23 +00:00
Jo-Philipp Wich
6892cb5808
[package] iwinfo: implement proper hardware detection for ar23xx SoC devices like the NanoStation 2
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-17 00:36:25 +00:00
Gabor Juhos
60c571814b
ramips: extract eeprom for the built-in wlan module on the RT-N56U
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:22 +00:00
Gabor Juhos
1fe942ac16
ramips: rt3883: change eeprom file name
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 20:06:21 +00:00
Florian Fainelli
6851911ccd
[scripts] env: colorize git output
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 19:24:34 +00:00
Jo-Philipp Wich
b33a75d2f1
[package] iwinfo: fix detection of Bullet M5, the PCI ID was wrong
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:58:33 +00:00
Vasilis Tsiligiannis
66806831eb
[x86] Disable by default padding of images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:07 +00:00
Vasilis Tsiligiannis
f96dd212f5
[x86] Allow gzipping of squashfs images with padded jffs2 partition
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:04 +00:00
Vasilis Tsiligiannis
c326fbec1a
[x86] GZip only ext4 and padded images
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:54:01 +00:00
Vasilis Tsiligiannis
7cb3f70eea
[x86] Make gzipping of images configurable via menuconfig
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:53:57 +00:00
Gabor Juhos
056c8e4a92
package/mac80211: fix a possible NULL pointer dereference in rt2x00
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30586 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 17:14:34 +00:00
Gabor Juhos
39f5515e40
ar71xx: remove duplicated define from the D-Link profile
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 09:03:27 +00:00
Gabor Juhos
5382f512de
ramips: select HW_HAS_PCI on per-board basis
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30576 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:54 +00:00
Gabor Juhos
1656aad7f8
ramips: rt3883: remove a stray character from rt3883.h
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:53 +00:00
Gabor Juhos
98f7b38735
ramips: rt288x: don't register the PCI controller on each board
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:52 +00:00
Gabor Juhos
33bf9bc63b
ramips: raeth: separate ring allocation and setup
...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-02-16 08:17:50 +00:00