Commit Graph

11602 Commits (51b0b1903939c6d7f4e56da0b037a731b906ca41)

Author SHA1 Message Date
Hauke Mehrtens 51b0b19039 mac80211: b43: update b43 to version master-2014-07-29-1
This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki.

b43_wflush16 was put into an extra function because it is pretty big in asm.

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


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 21:15:42 +00:00
Steven Barth 1182d2ae41 gre: Generic Routing Encapsulation package support
The package supports Generic Routing Encapsulation support by registering following protocol kinds:
    -gre
    -gretap
    -grev6
    -grev6tap

Following options are valid for gre and gretap kinds:
    -ipaddr
    -peeraddr
    -df
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The gretap kind supports additionally the network option

Following options are valid for grev6 and grev6tap kinds:
    -ip6addr
    -peer6addr
    -weakif
    -mtu
    -ttl
    -tunlink
    -zone
    -ikey
    -okey
    -icsum
    -ocsum
    -iseqno
    -oseqno

The grev6tap kind supports additionally the network option

Typical network config for a GREv4 tunnel :

config interface 'gre'
        option peeraddr '172.16.18.240'
        option mtu '1400'
        option proto 'gre'
        option tunlink 'wan'
        option zone 'tunnel'

Typical network config for a GREv4 tap tunnel :

config interface 'gretap'
        option peeraddr '195.207.5.79'
        option mtu '1400'
        option proto 'gretap'
        option zone 'tunnel'
        option tunlink 'wan'
        option network 'wlan_ap'

I added myself as maintainer for the moment; feel free to change.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:22:24 +00:00
Steven Barth bcd1a1c4c3 netifd: fixes and GRE support (thx Hans Dedecker)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:21:52 +00:00
Steven Barth f2476799ba odhcp6c: Fix white space typo in dhcpv6.script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:18:01 +00:00
Steven Barth d562b50a50 netifd: suppress fw3 warnings in dhcp script
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 13:17:56 +00:00
Felix Fietkau be1cdf3260 procd: update to the latest version, fixes parsing of /etc/openwrt_release
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-30 12:39:46 +00:00
Steven Barth ea22ffc072 netifd: more race condition fixes in proto-shell
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 17:24:23 +00:00
Felix Fietkau 02627475b9 base-files: properly escape strings for version info
Make sure they don't break the sed command, and also make device_info
and openwrt_release more robust for parsing by scripts

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 13:30:23 +00:00
Felix Fietkau 5198a23da8 base-files: add extra version configuration options for OEM manufacturer info
Creates /etc/device_info which will be used to fill in information for
WPS and other protocols that need manufacturer/device information

This helps with creating OpenWrt firmware for OEM or rebranded devices.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 13:30:12 +00:00
John Crispin d886f03017 ppp: fix a buffer overrun in the ms chap code
https://dev.openwrt.org/ticket/17296

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 12:18:52 +00:00
Jo-Philipp Wich 9887616a35 mac80211: support wildcard paths when matching phys
This change introduces support for wildcard patterns in "option path"
of section "wifi-device".

Objective is to allow paths like "*/usb[0-9]/*/*" in order to claim
any usb device using the same backend type, regardless of its bus
address or phy name.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 09:48:07 +00:00
Jo-Philipp Wich 4c377f4f71 hostapd: Reintroduce Full Dynamic VLAN support
This patch brings full dynamic vlan support to netifd that existed in hostapd.sh in Attitude Adjustment.

Signed-off-by: Joseph CG Walker <Joe@ChubbyPenguin.net>
[jow@openwrt.org: changed commit message, rebased on top of current hostapd.sh]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 09:48:02 +00:00
Imre Kaloz 8ac4123cfb BB is branched, get ready for Chaos Calmer
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 08:24:57 +00:00
Steven Barth 01c6ca4c6d procd: work around some docker architecture quirks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 06:51:35 +00:00
Felix Fietkau 1bc26661a1 procd: check output of "uci show" instead of raw config files in order to track uncommitted changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-29 02:12:24 +00:00
Felix Fietkau da75170df2 hostapd: add more missing ifdefs
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 22:52:39 +00:00
Steven Barth e503cbee4a netifd: more dynamic interface improvements
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 20:35:53 +00:00
Felix Fietkau b5a1ebe6df hostapd: add missing ifdef
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 10:36:51 +00:00
John Crispin 88178fb2e9 base-files: Remove stale calls to start() in initscripts.
based on http://patchwork.openwrt.org/patch/5969/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:15 +00:00
Felix Fietkau 3d32b966ca netifd: fix a small issue in r41831
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41836 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 14:35:15 +00:00
Felix Fietkau 025d73b5a7 odhcp6c: suppress fw3 warnings
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 12:23:28 +00:00
Felix Fietkau d3a8609c68 netifd: update to the latest version, fixes a race condition with renew/setup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41831 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 01:46:34 +00:00
Jo-Philipp Wich babd1e2b82 iwinfo: avoid creating tmp.* ifaces for scanning
If the iface to scan on already is in ad-hoc, station or monitor mode
then do not spawn a temporary iface.

Also preventively disable IPv6 on temporary ifaces before bringing them
up to avoid potential security issues.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41830 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 15:52:17 +00:00
Jo-Philipp Wich 520854d0e9 iwinfo: fix secondary radios being misreported as ralink device
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41829 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 14:36:43 +00:00
Felix Fietkau d5f637f327 hostapd: prevent spurious 20/40 mhz channel bandwidth switches if noscan is enabled
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 14:29:58 +00:00
Felix Fietkau a775d0d065 mac80211: merge a few WDS-AP related fixes (#14756, #16802)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 14:24:03 +00:00
Jo-Philipp Wich e9fa0943eb iwinfo: continue scanning even if temporary mac cannot be changed
So far iwinfo aborted a wifi scan attempt if the mac of the spawned
interface could not be changed. Change the code to try anyway - this
should fix wifi scanning on RaLink devices.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41826 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-25 14:11:50 +00:00
Steven Barth 5a4fb3a6fa netifd: Fix some race-conditions in interface handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 22:05:19 +00:00
Steven Barth 176bac80c0 softwires: redesign dhcp(v6) provisioning
Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41823 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 14:17:41 +00:00
Imre Kaloz 9ec29aa78b [mac80211]: package the mwifiex-pcie driver
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 10:18:06 +00:00
Felix Fietkau c8e3e8b83e netifd: update to the latest version, enables bridge multicast querier and fixes interface reload issues with wifi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-24 09:13:04 +00:00
Steven Barth 1f81f496a7 odhcpd: don't lose downstream routes for managed PD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 21:14:56 +00:00
Felix Fietkau 857cd1fa40 ath9k: fix a long standing aggregation related tx lockup
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 13:44:44 +00:00
Steven Barth 115818ca1b odhcpd: revert NDP relay rewrite (performance issue still fixed)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 21:52:20 +00:00
Hauke Mehrtens fc8bc353d9 mac80211: b43: update b43 to version master-2014-07-22
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41805 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 21:42:07 +00:00
Felix Fietkau 1413678b07 mac80211: fix a null pointer deref when querying station info when rate control is not initialized (#17061)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 19:05:19 +00:00
Steven Barth 3b82d0f81a odhcpd: fix typo in ubus integration (thanks Markus Stenberg)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41796 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 21:57:15 +00:00
John Crispin 6a9576ca75 lantiq-dsl: add 2 ugly workarounds for the IB to work
the IB tries to run the enable target on all init.d scripts.
It fails when including the dsl_control helper. Check for existence
prior to the include.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41787 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 18:41:46 +00:00
Steven Barth 55bee921f6 odhcp6c: Send RS with source link-layer address if possible
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-21 10:11:09 +00:00
John Crispin 6cd7d2f548 package/uboot-envtools: add OpenMesh OM5P support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:00 +00:00
John Crispin cb7527b9ef package/om-watchdog: add OpenMesh OM5P support
Signed-off-by: Marek Lindner <marek@open-mesh.com>
[sven@open-mesh.com: Rebased]
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:56 +00:00
Imre Kaloz 876ef9b7fd [mac80211]: fix typo
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 20:14:49 +00:00
John Crispin 41f2d4e268 usbmode: update to latest git and also update the device database
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41761 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 16:57:09 +00:00
Jo-Philipp Wich 4f68894215 firewall: implement support for abritary netmasks
Properly parse and pass arbritary netmasks to iptables, this allows
specifying ranges like '::c23f:eff:fe7a:a094/::ffff:ffff:ffff:ffff' to
match the host part of an IPv6 address regardless of the currently active
IPv6 prefix.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 16:30:47 +00:00
Imre Kaloz 4d29ce1e4a [mac80211]: allow ath10k to initialize using the board.bin contents
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-19 13:18:59 +00:00
Felix Fietkau 53dcc19bf6 procd: update to the latest version, fixes hotplug firmware loading issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 14:42:18 +00:00
Felix Fietkau c8efe893c9 lzo: enable parallel build
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 14:42:15 +00:00
Felix Fietkau 872325fe93 netifd: update to the latest version, adds a small validation fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 11:45:42 +00:00
Felix Fietkau 67d6d6034b qos-scripts: convert to procd
Signed-off-by: John Crispin <blogic@openwrt.org>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-18 11:25:07 +00:00
Hauke Mehrtens e1acaa4af2 lzo: Update to version 2.08
lzo: Update to 2.08, fixes CVE-2014-4607

Signed-off-by: Luis Dallos <ld@nkvd.ignorelist.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 22:06:04 +00:00