Commit Graph

25029 Commits

Author SHA1 Message Date
Jo-Philipp Wich 73a584f912 include: cmake: pass toolchain directory to default root find path as well
SVN-Revision: 37737
2013-08-07 13:54:51 +00:00
Felix Fietkau 9a22315ca4 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>

SVN-Revision: 37734
2013-08-06 18:55:30 +00:00
Felix Fietkau 91f0b411f4 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>

SVN-Revision: 37733
2013-08-06 17:59:12 +00:00
Felix Fietkau 39ab281fae 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>

SVN-Revision: 37732
2013-08-06 17:59:09 +00:00
Felix Fietkau 76ca564e79 hostapd: Refresh patches
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>

SVN-Revision: 37731
2013-08-06 17:59:05 +00:00
Felix Fietkau 22e012bad8 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>

SVN-Revision: 37730
2013-08-06 17:59:02 +00:00
John Crispin 94666dad1c lantiq: fix TD-W8970 image generation to work with the new tool
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37727
2013-08-06 16:25:45 +00:00
John Crispin 15721d535b firmware-utils: add a tool TP-Link v2 image generation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37726
2013-08-06 16:25:35 +00:00
John Crispin 1af56d7c46 firmware-utils: remove v2 support
we will use gabors patch instead

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

SVN-Revision: 37725
2013-08-06 16:25:24 +00:00
John Crispin 815d9334e2 firmware-utils: fix segfault introduced by v2 changes
Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 37724
2013-08-06 14:32:50 +00:00
John Crispin f835cb6cc4 ar71xx: remove duplicate dir505 entry from board detection code
https://dev.openwrt.org/ticket/14006

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

SVN-Revision: 37723
2013-08-06 14:12:02 +00:00
John Crispin d13cbb04ad lantiq: add support for tplink images to .../image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37722
2013-08-06 12:31:25 +00:00
John Crispin 5001afdc37 lantiq: make the split patch recognize the tplink header
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37721
2013-08-06 12:31:20 +00:00
John Crispin 7f2eaac407 lantiq: fix TDW8970.dts commandline and partition name
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37720
2013-08-06 12:31:16 +00:00
John Crispin e993e0c2cf lantiq: add tplink header id to sysupgrade and fix a comment
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37719
2013-08-06 12:31:10 +00:00
John Crispin eb844ad321 firmware-utils: add support for TDW8970 to mktplinkfw
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37718
2013-08-06 12:31:06 +00:00
John Crispin 85cb2c4f9e firmware-utils: add v2 header support to firmware-utils
only image build works. inspect and md5 checksum support are not implemented yet

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

SVN-Revision: 37717
2013-08-06 12:30:52 +00:00
Felix Fietkau bdb2859a48 ath9k: fold the aggregation rework into 300-pending_work.patch (tracked as upstream submission)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37716
2013-08-06 10:31:10 +00:00
Felix Fietkau 5bce86faa2 mac80211: refresh a patch that was using the wrong patch style
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37715
2013-08-06 10:31:06 +00:00
Felix Fietkau 48b3b74da7 mac80211: fold the rtlwifi patch into 300-pending_work.patch (upstream patch)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37714
2013-08-06 10:31:02 +00:00
Felix Fietkau 592f2c6e2b ath9k: add some more fixes for the tx queueing rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37713
2013-08-06 10:30:58 +00:00
Luka Perkov 27fa640548 lantiq: add (incomplete) support for Aztech GR7000
*) can not connect to switch chip
*) only one usb port is working
*) wifi is not working

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

SVN-Revision: 37712
2013-08-06 10:17:16 +00:00
Hauke Mehrtens 3f351e2770 mac80211: rtlwifi depends on PCI or USB support in the Kconfig file
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37711
2013-08-05 21:57:48 +00:00
Florian Fainelli d1914b4939 kernel: add some missing config symbols
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37710
2013-08-05 20:58:05 +00:00
Hauke Mehrtens 9d4145efe5 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>

SVN-Revision: 37709
2013-08-05 16:17:05 +00:00
Gabor Juhos 9257d556c2 ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

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

SVN-Revision: 37708
2013-08-05 12:49:19 +00:00
Gabor Juhos c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
2013-08-05 12:35:22 +00:00
John Crispin 267810f73a ar71xx: add usb modules to dir 505 profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37706
2013-08-05 11:08:30 +00:00
John Crispin c83e665a2c octeon: add a few missing symbols to the kernel config file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37705
2013-08-05 10:42:09 +00:00
John Crispin 288adb6634 lantiq: several a803 related fixes
based on work from Matti Laasko that he posted in the wiki

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

SVN-Revision: 37704
2013-08-05 10:42:00 +00:00
John Crispin 553a469728 ar71xx: add support for dir 505 a1
this patch is based on ...

-> https://forum.openwrt.org/viewtopic.php?pid=179902#p179902

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

SVN-Revision: 37703
2013-08-05 10:41:48 +00:00
Felix Fietkau 6743f2625b 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>

SVN-Revision: 37702
2013-08-05 10:32:13 +00:00
Felix Fietkau 158cc23d39 ubus: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37701
2013-08-05 10:08:04 +00:00
Felix Fietkau e7de3b26ed ubus: change section/category to base, libs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37700
2013-08-05 10:07:33 +00:00
Gabor Juhos 259c36358f 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>

SVN-Revision: 37699
2013-08-05 09:24:19 +00:00
Gabor Juhos 885cf1f19f 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>

SVN-Revision: 37698
2013-08-05 09:09:41 +00:00
Gabor Juhos 3573494b19 mac80211: enable RT{33,35,53,55}XX chip support in rt2800usb
Closes #13951.

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

SVN-Revision: 37697
2013-08-05 09:09:40 +00:00
Gabor Juhos 99a12119ca ar71xx: fix tl-wa901nd buttons code
This patch fixes the code of the buttons for TP-Link WA901ND.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37696
2013-08-05 09:09:39 +00:00
Gabor Juhos ccec78beaa ar71xx: ubnt unifi outdoor register gpio button
This patch register the gpio buttons for the Ubiquiti UniFi Outdoor.

Signed-off-by: Rocco Folino <lordzen@autistici.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37695
2013-08-05 09:09:37 +00:00
John Crispin f0b5e7d419 x86: change /dev/console to tty to fix job control
Job control is turned off because it cannot obtain controlling terminal on
/dev/console, so it is impossible to do any job control operation behind
real x86 device (keyboard+monitor or virtualized).

This patch switches /dev/console to tty devices for ash on x86 generic target.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 37693
2013-08-04 17:05:33 +00:00
Jonas Gorski c7976ae5f8 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>

SVN-Revision: 37687
2013-08-04 15:32:36 +00:00
Luka Perkov f5b9555cdc imx6: sync usb chipidea with upstream
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37686
2013-08-04 14:20:15 +00:00
John Crispin db083a41cf generic: make the module reloc pacth work on mips64
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37685
2013-08-04 13:54:42 +00:00
John Crispin 3a2040ffee octeon: add support for the octeon mips64 SoC
This is the SoC used be the ESR Lite made by ubnt.com

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

SVN-Revision: 37684
2013-08-04 13:54:32 +00:00
Luka Perkov 8a4726bca8 imx6: remove sdma binary
SVN-Revision: 37682
2013-08-04 13:28:26 +00:00
Jo-Philipp Wich c5b4d98d39 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

SVN-Revision: 37681
2013-08-04 12:40:24 +00:00
Hauke Mehrtens 2fcaba306e brcm47xx: change board detection for some Asus devices
This closes #13316

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

SVN-Revision: 37680
2013-08-04 12:36:13 +00:00
Felix Fietkau 1d3067892b build: process transitive dependencies after local dependencies
This improves duplicate dependency detection

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

SVN-Revision: 37679
2013-08-04 12:17:26 +00:00
Felix Fietkau 0249f7510c build: suppress conditional dependencies if there are unconditional dependencies on the same symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37678
2013-08-04 12:17:22 +00:00
Hauke Mehrtens 0d9ecfa564 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>

SVN-Revision: 37673
2013-08-04 09:51:07 +00:00