Commit graph

7458 commits

Author SHA1 Message Date
Hauke Mehrtens
26e9830eac broadcom-wl: hack to work around a bug in the PCIe controller
Thank you nlh

This closes #12930.

SVN-Revision: 35767
2013-02-24 18:01:06 +00:00
Hauke Mehrtens
58eea9dc28 broadcom-diag: add support for e3200 v1
Hex values in nvram seem to be uppercase on my e3200 device.

Define one power led and two buttons (reset/wps).

Signed-off-by: Tijs Van Buggenhout <tvb@able.be>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35766
2013-02-24 17:57:28 +00:00
Hauke Mehrtens
c3563fbea6 broadcom-diag: Detection of WNDR3400v1
nvram variable "boardtype" is unique for now.
-button gpio were taken from nvram.
-led information was taken from dd-wrt
( http://svn.dd-wrt.com/browser/src/router/libutils/utils.c )

I hope that I changed the values correctly.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 35765
2013-02-24 17:56:00 +00:00
Hauke Mehrtens
49ff283df8 broadcom-diag: use new in kernel board detection code
SVN-Revision: 35764
2013-02-24 17:55:09 +00:00
Hauke Mehrtens
2754907a13 mac80211: brcmsmac: add ap mode support
This does not work very well. I did not got this running in 5GHz mode and it was not very fast.

SVN-Revision: 35763
2013-02-24 01:11:20 +00:00
Felix Fietkau
414a2631b6 mac80211: disable ipv4/ipv6 address notifiers (fixes #13055)
SVN-Revision: 35762
2013-02-24 01:00:39 +00:00
Felix Fietkau
7bd713a76d mac80211: fix monitor mode channel reporting
SVN-Revision: 35761
2013-02-23 18:02:49 +00:00
Felix Fietkau
6dbdadcaa6 mac80211: fix monitor-only injection
SVN-Revision: 35760
2013-02-23 17:41:58 +00:00
Felix Fietkau
dbb21f1641 mac80211: fix wireless extension support
SVN-Revision: 35759
2013-02-23 12:48:14 +00:00
Jonas Gorski
53771fb8ee mac80211: update linux-firmware to latest revision
Fixes mwl8k AP mode for 88e8366.

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

SVN-Revision: 35758
2013-02-23 12:13:18 +00:00
Felix Fietkau
6fbfeca6ef mac80211: select relayfs if ath9k debugfs is enabled
SVN-Revision: 35757
2013-02-23 12:12:39 +00:00
Jonas Gorski
c730da325a package/kernel: i2c: don't skip built-in modules
Don't skip build-in modules when generating i2c kmod packages, to allow
empty packages to be generated for satisfying dependencies.

Closes #12259.

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

SVN-Revision: 35755
2013-02-23 11:30:30 +00:00
Felix Fietkau
3b1fa12cb9 mac80211: disable building the wil6210 driver
SVN-Revision: 35754
2013-02-23 01:40:24 +00:00
Felix Fietkau
e526c7bc17 mac80211: update to wireless-testing 2013-02-22
SVN-Revision: 35753
2013-02-23 01:12:36 +00:00
Felix Fietkau
c4c43eed04 ath9k: fix rssi issues
SVN-Revision: 35750
2013-02-22 20:11:55 +00:00
Felix Fietkau
d642c4465f ath9k_htc: fix signal strength reporting issues
SVN-Revision: 35749
2013-02-22 16:10:15 +00:00
Jo-Philipp Wich
92062542e2 firewall: fix logging rule regression (#12999)
SVN-Revision: 35745
2013-02-22 13:45:20 +00:00
Jo-Philipp Wich
4fb2cd18c1 firewall3: add support for shell script and iptables-restore style includes
SVN-Revision: 35744
2013-02-22 12:45:38 +00:00
Steven Barth
a7b262dc0a netifd: only update resolv.conf.auto if changed This avoids logspam under certain conditions.
SVN-Revision: 35743
2013-02-22 08:56:29 +00:00
Geoff Levand
c41176bc0b udev: Update MAINTAINER info
Signed-off-by: Geoff Levand <geoff@infradead.org>

SVN-Revision: 35741
2013-02-21 23:12:17 +00:00
Jo-Philipp Wich
7d7d88b580 firewall3: update to git head
- all uci rules are boxed in custom chains now, so a firewall stop leaves user rules intact
	- properly handle selective ipv4 or ipv6 only firewall start/stop/restart actions
	- support ip ranges (e.g. option src_ip '!192.168.1.1-192.168.1.100' -> -m iprange ! --src-range 192.168.1.1-192.168.1.100')
	- support time options (e.g. option weekdays 'Mon Tue Sat' -> -m time --weekdays 1,2,6')

SVN-Revision: 35738
2013-02-21 22:33:44 +00:00
Jonas Gorski
29a3af1bb8 base-files: make firstboot ask for confirmation
To prevent accidential resets ask for confirmation (and default to n).

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

SVN-Revision: 35712
2013-02-21 11:45:14 +00:00
Jonas Gorski
219b7c91d6 mac80211: add missing DRIVER_11N_SUPPORT selects
Multiple drivers were missing their DRIVER_11N_SUPPORT despite
supporting 11N capable cards.

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

SVN-Revision: 35711
2013-02-21 11:45:12 +00:00
Jonas Gorski
5636037cff busybox: remove two obsolete patches
They either work around missing implementations in uClibc 0.9.30 and
earlier and add already present functionality.

Closes #11210, #11211.

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

SVN-Revision: 35710
2013-02-21 11:45:10 +00:00
Gabor Juhos
316706b09c package/kernel: add package for the Gianfar PTP driver
PTP for gianfar can be built as a module. Create a package for it.

[juhosg: remove the mp85xx specific patch]

Patchwork: http://patchwork.openwrt.org/patch/3344/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35706
2013-02-20 19:14:20 +00:00
Gabor Juhos
9070d701e7 package/kernel: add package for the Freescale Gianfar driver
[juhosg: move the fsl-pq-mdio driver into a separate package]

Patchwork: http://patchwork.openwrt.org/patch/3345/
Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35705
2013-02-20 19:14:15 +00:00
Gabor Juhos
330ae61b1b package/kernel: remove trailing whitespaces from *.mk files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35691
2013-02-20 09:41:48 +00:00
Florian Fainelli
280fa5a1a2 dante: fix broken configure script not using CFLAGS for conftest
Spotted by doing an ARM hard float build.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35685
2013-02-19 17:22:55 +00:00
Florian Fainelli
16f7554f95 openssl: remove now obsolete cris/etrax patch
The etrax target has been removed in r34768.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35684
2013-02-19 17:22:51 +00:00
Florian Fainelli
23dc201979 libiconv: compile iconv stub with TARGET_CFLAGS
Fixes spurious build issues when changing target CFLAGS for specific ABI
options (such as ARM's floating point ABI).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35683
2013-02-19 17:22:46 +00:00
Steven Barth
3081c672fc 6relayd: Fix possible memory corruption issue
SVN-Revision: 35673
2013-02-19 12:04:41 +00:00
Hauke Mehrtens
48bc2fbff3 mac80211: b43: Increase number of RX DMA slots
Bastian Bittorf reported that some of the silent freezes on a Linksys WRT54G
were due to overflow of the RX DMA ring buffer, which was created with 64
slots. That finding reminded me that I was seeing similar crashed on a netbook,
which also has a relatively slow processor. After increasing the number of
slots to 128, runs on the netbook that previously failed now worked; however,
I found that 109 slots had been used in one test. For that reason, the number
of slots is being increased to 256.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>

SVN-Revision: 35671
2013-02-18 20:44:26 +00:00
Steven Barth
f5b63ffd33 6relayd: Workaround potential signal handling issue
SVN-Revision: 35665
2013-02-18 12:50:36 +00:00
Gabor Juhos
6c627a266b base-files: introduce commonly used helper functions for setting leds
Currently, most platforms define such helpers in their own diag.sh
implementation with almost identical code. By factoring out the
common ground it's possible to simplify maintainability and
homogenize the haptics over multiple platforms (so far as is
reasonably practicable, in a next step).

[juhosg:
 - fix led_set_attr parameters in led_timer
 - add led_morse and status_led_set_morse helpers
 - add status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35648
2013-02-18 09:56:23 +00:00
Gabor Juhos
c4f14fab9b base-files: minor cosmetic corrections for functions.sh
- update copyright header
  - remove superfluous shebang left-over from changeset 34794
  - unify function declaration

[juhosg: keep Vertical Communications' copyright notice]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35646
2013-02-17 21:47:03 +00:00
Jo-Philipp Wich
02b0c62f33 firewall3 - a C implementation of the current firewall scripts
SVN-Revision: 35643
2013-02-17 19:26:52 +00:00
Felix Fietkau
1d6574b9c3 hostapd: fix the scan wait patch for multiple interfaces
SVN-Revision: 35630
2013-02-16 19:00:34 +00:00
Gabor Juhos
97e75d03cc package/kernel: add package for the Freescale On-Chip EHCI Controller
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35627
2013-02-16 17:13:40 +00:00
Felix Fietkau
99782943d2 hostapd: add back the patch that waits for interface bringup in ht40, it got lost with the update
SVN-Revision: 35619
2013-02-16 14:26:03 +00:00
Gabor Juhos
5a8c63b47e base-files: add macaddr_{add,2bin,setbit_la} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35614
2013-02-16 11:50:22 +00:00
Gabor Juhos
70d40b2ddd base-files: add mtd_get_mac_{ascii,binary} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35612
2013-02-16 11:50:19 +00:00
Jonas Gorski
c98b12d911 samba36: fix segmentation fault when trying to add non-existent users
Based on a patch from НКВД. Closes #12962.

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

SVN-Revision: 35610
2013-02-16 11:39:42 +00:00
Florian Fainelli
30ccd13c81 hotplug2: depend on libbsd only when targetting eglibc
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35608
2013-02-15 13:25:18 +00:00
Florian Fainelli
f209bf0eb6 libevent2: do not add librt dependency when targetting eglibc
This is already taken care of by PKG_DEFAULT_DEPENDS

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35607
2013-02-15 13:25:15 +00:00
Florian Fainelli
2cf1a8d73f libbsd: make it available for eglibc only
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35606
2013-02-15 13:25:12 +00:00
Florian Fainelli
22e8b168c8 openssl: update OpenSSL to 1.0.1e, fix Cisco DTLS.
1.0.1d had a rushed fix for CVE-2013-0169 which broke in certain
circumstances. 1.0.1e has the fix for TLS.

Also include a further patch from the 1.0.1 branch which fixes the
breakage this introduced for Cisco's outdated pre-standard version of
DTLS, as used by OpenConnect.

Update mirror URLs to reflect current reality.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35600
2013-02-14 13:00:03 +00:00
Hauke Mehrtens
243c582213 switch: export name of device found via /proc
SVN-Revision: 35596
2013-02-14 12:36:52 +00:00
Hauke Mehrtens
60913bbac6 switch: export cpuport, ports and vlans via /proc
SVN-Revision: 35595
2013-02-14 12:36:13 +00:00
Hauke Mehrtens
17c18e23ab switch: add support for BCM53125
SVN-Revision: 35586
2013-02-13 16:05:32 +00:00
Hauke Mehrtens
446414f367 switch: resetting and enabling vlan write for gigabit switches
This patch makes it possible to reset and enable writing vlans to recent switchs.

This is based on a patch by jcharest and the Broadcom SDK.

SVN-Revision: 35585
2013-02-13 16:05:13 +00:00