mac80211: backport devm_kmemdup

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43277 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: backport list_last_entry

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43278 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: fix VHT rate selection

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43279 3c298f89-4303-0410-b956-a3cf2f4a3e73
trace-cmd: update to v2.4

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43280 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: fix default config breakage on whr-1166d

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43281 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: use mediatek,mtd-eeprom instead of ralink for mt76

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43282 3c298f89-4303-0410-b956-a3cf2f4a3e73
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43283 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel: add the ubifs EOF marker support to 3.14 kernel

Without this patch the UBIFS driver is unable to attach to the mtd
storage and mount the root FS.

Fixes a kernel panic with Netgear WNDR4300/3700v4 devices.

Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43287 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel/modules: location of usb-common.ko changed

usb-common.ko was moved to drivers/usb/common starting from kernel 3.16
by upstream commit f4cbd33fd5f0587910fa9db403a1b42f1cabf820

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43290 3c298f89-4303-0410-b956-a3cf2f4a3e73
kernel/modules: use crc32c_generic.ko instead of crc32c.ko

Starting from kernel version 3.15, the crc32c module was renamed to
crc32c_generic.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43291 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: fix pcie reset

some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: set ralink_soc on mt7621

sdhci failed to init because of this

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43293 3c298f89-4303-0410-b956-a3cf2f4a3e73
odhcp6c: be less verbose by default, increase musl compatibility

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43294 3c298f89-4303-0410-b956-a3cf2f4a3e73
base-files: properly fix copying ld*.so with eglibc

r36107 ("base-files: sysupgrade fail with eglibc") tried to fix
sysupgrade by changing the ld-soname to what is expected, but only
fixed MIPS while breaking ARM.

The underlying issue is that the ld.so name varies widely across
different architectures for eglibc:

eglibc-2.19-r25243$ grep -r "ld-soname :=" . | awk '{ print $3 }' | sort -u
ld64.so.1
ld64.so.2
ld-linux-aarch64_be.so.1
ld-linux-aarch64.so.1
ld-linux-armhf.so.3
ld-linux-mipsn8.so.1
ld-linux.so.2
ld-linux.so.3
ld-linux-x32.so.2
ld-linux-x86-64.so.2
ld.so.1

Instead of adding each different soname to check for and copy it,
replace the awk script with a sed script to extract it properly and
drop the hardcoded so-name.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43295 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: enable minstrel_ht VHT support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43296 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: add support for reporting tx status without attached skb

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43297 3c298f89-4303-0410-b956-a3cf2f4a3e73
mac80211: fix a crash bug in minstrel_ht

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43298 3c298f89-4303-0410-b956-a3cf2f4a3e73
netifd: fix race, expose config options

Thanks to Hans Dedecker

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43299 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: merge the mt7620a/n subtargets

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73
ralink: improve tx vlan offload

hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43301 3c298f89-4303-0410-b956-a3cf2f4a3e73