Commit Graph

1308 Commits (662f4981cb45b2bc21bd5d7d982d967bcd447d8a)

Author SHA1 Message Date
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
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
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
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
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 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 a708326eca kernel: add usb-mxs-phy package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 20:34:18 +00:00
Luka Perkov 35aeb40ed6 kernel: update usb-chipidea package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 20:34:17 +00:00
Luka Perkov 1f833e5a8c kernel: update usb2 package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-28 20:34:09 +00:00
John Crispin 023ed9c87c strict_strtoul is obsolete, use kstrtoul instead
based on http://patchwork.openwrt.org/patch/3827/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-27 09:23:18 +00:00
Felix Fietkau 2b073b7b73 authsae: adapt uci scripts to use authsae
This patch modifies the uci scripts to be able to
start meshd-nl80211 for encrypted mesh networks,
therefor a new script (authsae.sh) is inserted.

Signed-off-by: Emanuel Taube <emanuel.taube@gmail.com>
[etienne.champetier@free.fr: just update mac80211.sh path]
Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26 10:02:59 +00:00
Luka Perkov 0ec41bc74e kernel: be consistent with formatting style
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-26 01:09:50 +00:00
John Crispin 3dbb231574 mac8021: add ath9k pcie id for AR9381
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-25 20:28:45 +00:00
Jonas Gorski 5d1e85d11a kernel: ebtables depends on bridge
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37520 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-23 19:53:08 +00:00
John Crispin 60cc4c5c00 lantiq: dont build ar10 drivers
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-22 13:53:01 +00:00
Felix Fietkau 17e4d34085 kernel: add a new global config symbol for enabling rfkill support (can be enabled by default via target feature flag)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 11:55:30 +00:00
Jonas Gorski f75da2096c kernel: fix config breakage from removing the de4x5 tulip driver
Properly define the config symbol to n so it doesn't break build for
targets which do have it available (e.g. mostly everything except arm).

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 11:08:38 +00:00
Felix Fietkau fba6515c73 kernel: fix kmod-crypto-hw-ppc4xx dependencies
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 08:20:01 +00:00
Felix Fietkau a2d7812cf4 kernel: add missing config symbol for the chipidea usb driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 08:19:58 +00:00
Felix Fietkau 9a38a3a105 kernel: remove an exotic ethernet driver from the tulip package which does not build on some platforms
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-21 08:06:56 +00:00
Gabor Juhos f5ab250eeb kernel: fix crypto-hw-talitos dependencies
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-20 20:44:40 +00:00
Felix Fietkau e097be3342 ath9k: add initial tx queueing rework patches
This forces all packets (even for un-aggregated traffic) through
software queues to improve fairness and stability

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-20 16:37:50 +00:00
Hauke Mehrtens 1b3b9c0a9a kernel: fix kmod-fs-btrfs dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 23:10:40 +00:00
Hauke Mehrtens baaf0e6e51 kernel: add fbdev.ko to kmod-fb on x86 dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 22:30:35 +00:00
Hauke Mehrtens 2385e606ed kernel: fix kmod-rtc-pcf8563 dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 22:27:31 +00:00
Gabor Juhos d21d2c7ade kernel: package the usbmon module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 22:19:26 +00:00
Hauke Mehrtens a694663add kernel: simplify kmod-crypto-misc dependencies
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-07-19 15:01:22 +00:00