Commit Graph

10388 Commits (581e4d98e6f9355f29fd3252e19ed8a7ae1bd4b3)

Author SHA1 Message Date
Hauke Mehrtens 4d4d295222 ath10k: enable Atheros 802.11ac driver
This enables usage of the ath10k driver on OpenWrt. Only 2.0 PCI hardware
is supported. The ath10k firmware is currently only available
through github so use that as its source for now.

This goes build tested, not run time tested.

[Hauke: I did some minor changes]

Cc: ath10k@lists.infradead.org
Cc: Kalle Valo <kvalo@qca.qualcomm.com>
Cc: Kathy Giori <kgiori@qca.qualcomm.com>
Cc: Mathieu Olivari <mathieu@qca.qualcomm.com>
Cc: Jerome Proffit <jproffit@qca.qualcomm.com>
Cc: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Cc: Matthew McClintock <mmcclint@qca.qualcomm.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-05 19:35:14 +00:00
Luka Perkov 4b85b2d0bc [package] kobs-ng: add new package
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03 23:22:16 +00:00
Jo-Philipp Wich 2099ed326c usbreset: rewrite to not rely on /proc/bus/usb anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-03 15:46:39 +00:00
Jo-Philipp Wich 92f58fd13c Add rpcd - an extensible backend server for ubus-over-json-rpc operations, session and acl management.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 15:36:51 +00:00
Gabor Juhos f8ecca468d package/rotary-gpio-custom: fix checkpatch errors module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:32 +00:00
Gabor Juhos 73ff40f78f package/w1-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:31 +00:00
Gabor Juhos fa446c4260 package/i2c-gpio-custom: fix checkpatch errors in module source
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:30 +00:00
Gabor Juhos 94082a9129 package/kernel: add spi-gpio-custom module
The package makes it possible to create custom SPI
buses via GPIO lines.

This module is based on i2c-gpio-custom and allows to
configure an SPI bus via GPIO lines and expose it to
userspace without rebuilding the kernel. This is maily
intended to connect microcontrollers and other simple
SPI devices without making an ad-hoc kernel driver.

Signed-off-by: Marco Burato <zmaster.adsl@gmail.com>
[juhosg:
  - change subject,
  - extend and reformat commit message,
  - cleanup checkpatch errors/warnings in module source]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-02 08:45:29 +00:00
Steven Barth 47c281f29c netfilter: Add IPv6-NAT support for kernel and ipt
Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-01 17:59:48 +00:00
Steven Barth 794da7c235 iptables: Update to 1.4.20
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-09-01 13:46:10 +00:00
Luka Perkov 766d4089cd [package] uboot-imx6: update to v2013.07
Update includes upstream support for Wandboard Quad too.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:31 +00:00
Luka Perkov 8901997bbc [package] uboot-envtools: update to v2013.07
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 23:06:29 +00:00
Felix Fietkau 91ad2566f0 netifd: update to the latest version, fixes a bridge handling corner case on config reload
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37856 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-29 22:20:36 +00:00
Gabor Juhos 8f394d587a mac80211: add a bunch of rt2x00 specific changes
Backport some rt2x00 specific changes from
wireless-testing/master-2013-08-26 to add
support for RT3573 based devices.

Also refresh the rt2x00 specific patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-27 10:44:06 +00:00
Felix Fietkau 5a6f443323 mklibs: Fix mklibs usage when *.so files reside in subdirs
Currently package/Makefile only passes /lib /usr/lib and /usr/lib/ebtables
to mklibs. However, other libs can also reside in different subdirectories
(in my case /usr/lib/ipsec). Hence, create the list of library directories
dynamically.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:27 +00:00
Felix Fietkau 936bb7554e mac80211: merge a few ad-hoc mode fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:23 +00:00
Felix Fietkau 099f2e1bd5 mac80211: disable CCK rates for 802.11n clients on brcmsmac to fix crash issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-26 17:31:15 +00:00
Vasilis Tsiligiannis 482f6fb9db lldpd: Add libbsd dependency when using eglibc
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-25 18:47:08 +00:00
Zoltan HERPAI ac9d29fbc2 [package]: uboot-imx23: add new package for i.MX233 boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-22 19:28:06 +00:00
Luka Perkov 47980c9667 [kernel] crypto: add missing depends for crypto-manager
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-21 00:36:19 +00:00
Felix Fietkau 47e191b943 usbmode: update to latest version, includes fix from #14062
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-20 18:25:20 +00:00
Luka Perkov a2f85214c2 [package] uboot-env: fix spurious esac within ramips uci-defaults
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-19 13:01:17 +00:00
Hauke Mehrtens 8df0f45067 broadcom-diag: remove BUFFALO_UNKNOWN
This was itriggered by to many non buffalo devices

This closes #14043.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37804 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 13:43:07 +00:00
Hauke Mehrtens ec017d8f79 broadcom-wl: Add 'N' mode support to broadcom-wl
This is partly based on patches sent by Łukasz Kwestarz (See https://lists.openwrt.org/pipermail/openwrt-devel/2012-March/014356.html).

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-17 13:38:30 +00:00
Jo-Philipp Wich 9c35431c00 ubox: update to git head
- support mounting swap files from /etc/config/fstab
	- support mounting swap partitions by label

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 13:14:21 +00:00
Jo-Philipp Wich 2aacc38a54 ubox: update to git head
- adds support for generic mount options

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 11:18:39 +00:00
Jo-Philipp Wich 0730f55205 procd: update to git head
- terminates uloop after forking in service manager
	- redirects stdio to /dev/null for services executed from procd

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 09:29:37 +00:00
Jo-Philipp Wich d8fdc29691 Revert "[package] e2fsprogs: update to 1.42.8 and add e4defrag"
This reverts commit f6b0be49ba0d8eee29e098cc057ced57e7a26dd4.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-16 09:29:31 +00:00
Felix Fietkau 558d7e8a90 mac80211: merge upstream change to fix mesh rssi thresholds
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 13:57:11 +00:00
Jo-Philipp Wich a966ca7ac8 procd: update to git head
- terminates uloop after forking in hotplug handler
	- redirects stdio to /dev/null for processes executed from hotplug

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37792 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 10:33:52 +00:00
Luka Perkov 8ec906f328 uboot-envtools: add support for hornet-ub-x2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-15 00:57:48 +00:00
Jo-Philipp Wich 4e0f16aad4 firewall: update to git head
- uses "-j CT --notrack" instead of deprecated "-j NOTRACK"
	- fixes support for rule sections with target "NOTRACK"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 15:40:38 +00:00
Felix Fietkau e1edccc25f disable mips16 for a few packages that don't compile with it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 14:29:15 +00:00
Felix Fietkau da66307522 polarssl: disable mips16
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 13:02:36 +00:00
Felix Fietkau 2d1f470204 openssl: to disable mips16, use the new PKG_USE_MIPS16 flag instead of messing with cflags directly
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37771 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-14 13:02:33 +00:00
Felix Fietkau 47ff74c13c ath9k: merge a few more cleanups/fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:18 +00:00
Felix Fietkau 339fd0a8e1 ath9k: reorganize patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:14 +00:00
Felix Fietkau ebedc0094b mac80211: merge upstream patch to suppress unnecessary ad-hoc mode scan with fixed-freq, fixed-bssid
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37764 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-13 10:35:04 +00:00
Luka Perkov ab8f877011 kernel: remove imx-sdma-fw because of license issues
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-12 10:48:05 +00:00
Luka Perkov b65d11d575 kernel: add imx-sdma-fw package
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-11 15:10:42 +00:00
Felix Fietkau 73355c3626 ath9k: fix an rx descriptor processing race condition
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37746 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-10 14:00:33 +00:00
Felix Fietkau a1fe46a80c hostapd: fix typo in version number
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-08 20:45:15 +00:00
Felix Fietkau fbf4f2e570 hostapd: fix ubus reconnect handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-08 20:45:12 +00:00
Felix Fietkau 6992373daf ubus: update to latest version, fixes a bug in reconnect after ubusd dies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-08 20:45:09 +00:00
Felix Fietkau b6e54cd812 hostapd: add a build variant for wpa_supplicant with p2p (aka Wi-Fi Direct) support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-08 16:24:50 +00:00
Felix Fietkau 58b0b6c534 hostapd: update to latest version (20130707)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37738 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-08 16:04:19 +00:00
Felix Fietkau 388917caf9 hostapd: Settings for DAE/CoA server
hostapd supports "Dynamic Authorization Extensions", making it possible
to forcibly disconnect a user by sending it a RADIUS "Disconnect-Request"
packet.

I've added three new variables to enable setting of the
"radius_das_client" and "radius_das_port" variables in the hostapd
configuration, which enable these extensions.

* dae_client - IP of the client that can send disconnect requests
* dae_secret - shared secret for DAE packets

These are combined into the "radius_das_client" option in hostapd.conf
To enable the server, both dae_client and dae_secret must be set.

* dae_port - optional, default value is 3799 as specified in RFC 5176

Signed-off-by: Martijn van de Streek <martijn@vandestreek.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 18:55:30 +00:00
Felix Fietkau 485af0c163 hostapd: Fix WDS/WEP usage
WEP in WDS is currently broken in hostapd. Add a patch
to fix the issue.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 17:59:12 +00:00
Felix Fietkau ad8f1e4982 mac80211: Handle concurrent AP/STA beaconing properly
Use the "start_disabled" option in hostapd that was added
in the earlier patch.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 17:59:09 +00:00
Felix Fietkau 2905bd034c hostapd: Refresh patches
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 17:59:05 +00:00
Felix Fietkau 5e0ba1f79b hostapd: Add an option to disable beaconing
Add a patch for hostapd that introduces a config option
"start_disabled" which can be used to bring up an AP
interface with beaconing disabled. This is useful in
a Repeater-AP setup where the Repeater AP has to start
beaconing only after the WDS link has been established.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 17:59:02 +00:00
Felix Fietkau b51903e2aa ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37716 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:10 +00:00
Felix Fietkau 74859a9bff mac80211: refresh a patch that was using the wrong patch style
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:06 +00:00
Felix Fietkau e711d77558 mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37714 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:31:02 +00:00
Felix Fietkau c34f065d00 ath9k: add some more fixes for the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-06 10:30:58 +00:00
Hauke Mehrtens eb8992fc75 mac80211: rtlwifi depends on PCI or USB support in the Kconfig file
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 21:57:48 +00:00
Hauke Mehrtens 0b5bdf9b5e kernel: fix DMA error when BCM4331 is connected to BCM4706
The BCM4331 supports a PCIe max request size of 512 bytes and uses 
that, but the PCIe controller in the BCM4706 just supports 128 Bytes 
and that causes a DMA error for packages bigger than 126 bytes. This 
fixes the problem by setting the BCM4331 also to 128 Bytes.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 16:17:05 +00:00
Felix Fietkau 1ddc303962 gpio-button-hotplug: debounce the initial button state, the first reads at boot time might be wrong
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37702 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:32:13 +00:00
Felix Fietkau 662f4981cb ubus: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:08:04 +00:00
Felix Fietkau 7b75ea7f9f ubus: change section/category to base, libs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37700 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 10:07:33 +00:00
Gabor Juhos 6225fd0db7 mac80211: fix rt2x00 dependency
The current dependency prevents building of the
rt2800{pci,usb} drivers for RT3883. Change the
dependency to fix this.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37699 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:24:19 +00:00
Gabor Juhos 1a1d37fe8c mac80211: rt2x00: fix LED polarity patch
The patch causes compiler warning ...

  <...>/drivers/net/wireless/rt2x00/rt2800lib.c: In function 'rt2800_init_eeprom':
  <...>/drivers/net/wireless/rt2x00/rt2800lib.c:5971:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]

... and runtime errors on PCI/USB devices:

  [   11.810000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
  [   11.830000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
  [   11.880000] rt2x00mmio_regbusy_read() Indirect register access failed: offset=0x00007010, value=0x01ff0001
  [   12.080000] usb 1-1: reset high-speed USB device number 2 using ehci-platform
  [   12.250000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 5592, rev 0222 detecte
  [   12.300000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 000f detected
  [   12.350000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x1a93b47
  [   12.430000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47
  [   12.480000] ieee80211 phy1: rt2x00usb_regbusy_read: Error - Indirect register access failed: offset=0x00007010, value=0x11a93b47

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37698 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:41 +00:00
Gabor Juhos c3d8876fdc mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
Closes #13951.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37697 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-05 09:09:40 +00:00
Jonas Gorski 8a2b720565 mac80211: add rtlwifi drivers
Signed-off-by: Viktar Palstsiuk <viktar.palstsiuk@promwad.com>
[jogo@openwrt.org: add missing DRIVER_11N_SUPPORT select, add missing
		   usb dependencies, backport upstream fixes for Kconfig
		   issues]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 15:32:36 +00:00
Jo-Philipp Wich 580caa7a53 busybox: rename ntp init script back to sysntpd (#13920)
Renaming the init script to ntp broke LuCI time sync functionality and collides with other ntp packages

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:40:24 +00:00
Hauke Mehrtens be7d168013 brcm47xx: change board detection for some Asus devices
This closes #13316

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 12:36:13 +00:00
Hauke Mehrtens 69a742c7fc kernel: kmod-appletalk: fix dependencies
When CONFIG_LLC gets build as a module, also p8022.ko and psnap.ko are 
getting build as a module. kmod-appletalk depends on llc.ko and 
psnap.ko, but at least psnap.ko,was not packed. On most systems 
CONFIG_LLC will be build into the kernel so this problem does not show 
up.

This fixes the missing dependency of kmod-appletalk on psnap.ko

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37673 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 09:51:07 +00:00
Felix Fietkau 4a7d09d000 ubus: update to latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-04 08:55:28 +00:00
Hauke Mehrtens fd034dbcee broadcom-diag: show error message in case something goes wrong with gpio irq
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37668 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 17:12:07 +00:00
Hauke Mehrtens a049974896 broadcom-diag: add gpio config for Asus RT-N66U
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 17:10:37 +00:00
Hauke Mehrtens 8ddfb80294 broadcom-diag: add gpio config for Linksys E4200v1
GPIO for Linksys E4200v1, tested and works. This closes #13454 and #13894

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37666 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 17:09:39 +00:00
Felix Fietkau 2c425944b0 gpio-button-hotplug: cleanup, fix compiler warning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 11:56:27 +00:00
Felix Fietkau 6d9f7bbe10 gpio-button-hotplug: fix active_low handling, possibly broken in r37643
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 11:49:50 +00:00
Hauke Mehrtens 41f4faa061 kernel: only add v4l2-compat-ioctl32 when CONFIG_COMPAT is set
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-03 10:10:16 +00:00
Hauke Mehrtens 3d7515b126 kernel: add missing module to video-core for kernel < 3.6
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 20:08:20 +00:00
Hauke Mehrtens f8b96ddc6d kernel: fix usb-chipidea compilation with kernel <= 3.9
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 20:07:11 +00:00
Hauke Mehrtens d4ed385bc3 broadcom-diag: add support for the ASUS RT-N12
This adds button and led info, which I determined
by manually poking the gpio values.

Signed-off-by: Josh Stone <cuviper@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 15:44:04 +00:00
Hauke Mehrtens a20e8232fb broadcom-diag: increase version number
There are some changes in there and this should be rebuild.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 15:06:14 +00:00
Felix Fietkau c92d5ebeb9 mac80211: backport a few upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-02 10:02:35 +00:00
Hauke Mehrtens 7711e80276 kernel: load libphy before tg3
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 22:19:19 +00:00
Hauke Mehrtens 24880dbaa0 brcm47xx: improve detection of Linksys WRTSL54GS
This closes #13319

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 19:33:59 +00:00
John Crispin 168e2d1ef0 gpio-button-hotplug: use gpio_button_get_value() to initialize last_state.
TL-WR720N-v3 has a slider switch composed of 2 GPIO buttons which can be
used to swtich between 3 positions.  At leat 1 button is in pressed state
in any of those positions.  Initialize 'last_state' as 0 (released) will
cause the device to automatically enter failsafe mode on every bootup.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:28 +00:00
John Crispin 3616f78676 gpio-button-hotplug: use gpio_button_get_value() to fetch state.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:24 +00:00
John Crispin e2b775ac87 gpio-button-hotplug: add inline function gpio_button_get_value().
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-08-01 14:31:20 +00:00
Felix Fietkau 2cbc78a985 libubox: update to the latest version, fixes a fd deletion race condition in uloop
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 22:07:13 +00:00
Felix Fietkau 5cd74c5c9b uhttpd: update to the latest version, fixes a crash on early cgi/lua process termination
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 22:07:09 +00:00
Jo-Philipp Wich 176af6bad9 base-files: implement -l (--list-backup) sysupgrade parameter to list the files that would be backed up
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37627 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 18:11:55 +00:00
Hauke Mehrtens 907eb4685b broadcom-wl: fix compile error with kernel 3.10
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 17:42:55 +00:00
Jo-Philipp Wich 7278ed6283 base-files: abort sysupgrade if file specified with --restore-config is not found
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 14:10:34 +00:00
Jo-Philipp Wich a0afb630d4 ubox: update to git head
- fixes extroot tag file corruption with long uuids

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-31 10:44:50 +00:00
Jo-Philipp Wich 6578d45c34 base-files: implement -T (--test) sysupgrade parameter to verify image without actually flashing it
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-30 16:42:05 +00:00
Felix Fietkau 3f14645369 mac80211: rt2x00: add missing of.h header
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 22:45:57 +00:00
Felix Fietkau 7874fd511a ath9k: fix several issues in the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 19:44:05 +00:00
John Crispin e20a40ac8d mac80211: rt2x00: fix default register settings for rt5350
Comparing the RTSDK driver and mac80211 revealed, that this register needs
to have a special setup on rt5350.

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37608 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 13:10:12 +00:00
John Crispin 4281cf0a81 mac80211: rt2x00: enable setting wifi led polarity from OF
This patch enables setting the wifi led polarity from OF.
It can be used in a DTS' wmac section like this:

   ralink,led-polarity = <1>;

Valid values are 0 or 1.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 13:09:16 +00:00
Felix Fietkau 4d0f22e9a2 libubox: update to latest version, adds extra sanity checks to blob/blobmsg iterator macros
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 12:49:04 +00:00
Felix Fietkau 251d3a0ba1 rt2x00: merge fix for queue stopping
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 12:49:01 +00:00
Felix Fietkau 01c8aa3d20 mac80211: add support for verbose builds using V=sc
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-29 09:38:08 +00:00
Luka Perkov 684a833b31 [package] iproute2: update to 3.10.0
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 23:27:35 +00:00
Luka Perkov 935131c730 [package] zlib: update to 1.2.8
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 23:27:34 +00:00