Commit Graph

2576 Commits

Author SHA1 Message Date
Felix Fietkau
018807ded3 x86/xen_domu: enable xen drivers in the kernel config instead of packaging them as modules
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 17:35:46 +02:00
Felix Fietkau
7d7fb75df5 x86: remove the kvm_guest subtarget
32-bit only hardware that supports kvm is very rare.
It's not worth keeping a separate subtarget for this.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 17:00:53 +02:00
Felix Fietkau
5b64e3532a mt76: update to the latest version
Fixes a tx locking error and adds a pci id

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 19:43:23 +01:00
Felix Fietkau
6259583ef3 mt76: fix rebuild on CONFIG_PACKAGE_MAC80211_MESH changes
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 19:43:23 +01:00
Jo-Philipp Wich
b04a25491f package: flag further target specific packages as nonshared
Add nonshared flag to package depending on specific targets or subtargets as
there's no guarantee otherwise that they'll be available in the shared repo.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-26 23:26:43 +02:00
Álvaro Fernández Rojas
0ab31bfced brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-24 13:00:11 +02:00
Jo-Philipp Wich
37de17c379 linux: kmod-e100: use preconverted firmware files
Instead of converting the firmware files ourselves, use the files
generated during the normal kernel build process. This fixes packaging
kmod-e100 in the SDK environment.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-21 16:39:59 +02:00
Álvaro Fernández Rojas
9dee77795d brcm2708-gpu-fw: improve package version and release
Use git revision as package release and date for package version.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-16 11:27:56 +02:00
Jo-Philipp Wich
9e04019024 package: flag essential components as nonshared
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-04-06 22:38:47 +02:00
Álvaro Fernández Rojas
59e0e88c22 brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-07 21:25:01 +02:00
Álvaro Fernández Rojas
f233664faa brcm2708-gpu-fw: update to latest version
This update also adds individual download of firmware files instead of fetching
every file on the repository (10-MiB vs 100+MiB).
Also copy Linux license from kernel directory instead of using the rpi-firmware
one.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2016-04-01 13:37:33 +02:00
John Crispin
fa69553900 branding: add LEDE branding
Signed-off-by: John Crispin <blogic@openwrt.org>
2016-03-24 22:40:13 +01:00
John Crispin
1a1bb3aaff mac80211: ath9k: add GPIO support for AR9280 chip
Enable access to GPIO on Atheros wireless chip AR9280.
Support for 9280 is added to existing 9285/9287 subsystem
because these 3 chips differ only in number of GPIO pins.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>

SVN-Revision: 49251
2016-04-26 11:44:07 +00:00
Rafał Miłecki
f4edfc69a3 mac80211: add brcmfmac regression ("NULL pointer dereference") fix
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 49222
2016-04-25 15:32:20 +00:00
Rafał Miłecki
894aed060e mac80211: update brcmfmac including missing boardrev workaround
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 49174
2016-04-16 08:48:43 +00:00
John Crispin
ddf5e96319 om-watchdog: add OpenMesh OM5P-ACv2 support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 49152
2016-04-09 10:26:25 +00:00
John Crispin
0d69dbee5e om-watchdog: add OpenMesh OM5P-AC support
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 49145
2016-04-09 10:26:01 +00:00
John Crispin
0ffa58009a ramips: Fixes for LinkIt 7688
Misc fixes for LinkIt 7688 board:

- Copy the right wireless firmware for the mt7688
- Add back '0065-mt7688-fixes.patch', left out after the move to Linux 4.4.
- Remove SPI_DEV from linux config which otherwise causes a massive warning
- Add wmac to LINKIT7688.dts so wireless works

Signed-off-by: Adam Kent <adam@semicircular.net>

SVN-Revision: 49130
2016-04-09 10:24:58 +00:00
Imre Kaloz
83cfb69b21 mwlwifi: upgrade to 10.3.0.17-20160324
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 49119
2016-04-06 08:30:28 +00:00
John Crispin
63a9c61fb6 mac80211: build airo on x86 only
airo requires ISA_DMA_API and
that symbol is only set on some ppc,malta,x86
x86 is probably only platform where that driver is used

fixes buildbot errors on ar71xx,lantiq ...:
airo.ko is missing

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 49073
2016-03-23 12:52:24 +00:00
John Crispin
1898144b5f mt76: fix compile error
gcc complained about uninitialized variables

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

SVN-Revision: 49065
2016-03-21 20:42:56 +00:00
John Crispin
217a643755 wireless: remove rtl8188eu (staging)
- depends on CFG80211 (upstream: 9da4aa48d04bbdbae3c959809e14da2bf0c53f61)
in os_dep/mon.c

This removes rtl8188eu completely from OpenWrt
since mac80211/compat-wireless/backports does not
provide staging wireless drivers

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 49049
2016-03-20 14:41:49 +00:00
John Crispin
f8b22d2b77 wireless: add vendor dirs
Kernel 4.5 changes wireless driver organisation

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 49048
2016-03-20 14:41:44 +00:00
John Crispin
b5bd41edcd mac80211: add cisco airo
airo depends on cfg80211, move it to mac80211

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 49047
2016-03-20 14:41:41 +00:00
John Crispin
7861462ade wireless: remove cisco airo
it depends on cfg80211
cfg80211 & wext drivers don't mix on OpenWrt

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 49046
2016-03-20 14:41:37 +00:00
Hauke Mehrtens
6d933987db mac80211: libertas-spi: deactivate for UML target
The UML target does not have spi support.
This fixes a build problem found by the build bot.

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

SVN-Revision: 49034
2016-03-17 23:09:20 +00:00
John Crispin
553c1b793f brcmfmac: Add Raspberry Pi 3 support
- Enable SDIO support on brcmfmac.
- Disable power managment for brcm2708 target.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Reviewed-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 49023
2016-03-16 09:26:42 +00:00
Jo-Philipp Wich
3f0d03cf23 Revert "kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)"
This reverts commit 845d82da156781135b027ecf75ff67e2253e06dd.

SVN-Revision: 49005
2016-03-11 13:31:48 +00:00
John Crispin
996a54ebd4 kernel: Linux IP Virtual Server kernel modules (netfilter.mk patch)
IPVS (IP Virtual Server) implements transport-layer load balancing inside the Linux kernel
so called Layer-4 switching.
IPVS running on a host acts as a load balancer at the front of a cluster of real servers, it
can direct requests for TCP/UDP based services to the real servers, and makes services of
the real servers to appear as a virtual service on a single IP address.

Signed-off-by: Mauro Mozzarelli <mauro@ezplanet.net>

SVN-Revision: 48982
2016-03-10 19:11:09 +00:00
John Crispin
7099b6c416 brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 48965
2016-03-08 18:11:40 +00:00
Rafał Miłecki
f5317ed5d2 mac80211: backport brcmfmac patchset with driver setting concept
This prepares brcmfmac for better country handling and fixes BCM4360
support which was always failing with:
[   13.249195] brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48959
2016-03-07 22:37:09 +00:00
Felix Fietkau
296abba161 mt76: update to the latest version, adds some mt7603/mt7628 fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48958
2016-03-07 21:00:58 +00:00
Felix Fietkau
46c7d0d1ab kernel: remove linux 4.3 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48955
2016-03-07 17:56:58 +00:00
Felix Fietkau
d041e8b44b ramips: add linux 4.4 support, update mt7621 subtarget to 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48951
2016-03-07 16:33:34 +00:00
Felix Fietkau
2cfd943fe9 mac80211: rework gpio chip/button support to build on platforms without CONFIG_GPIOLIB
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48938
2016-03-07 09:20:22 +00:00
Hauke Mehrtens
daf367240a kernel: mpc85xx: fix build of kmod-usb2-fsl
Fix buildbot error for mpc85xx.
ehci-fsl.ko should be packaged inside the usb2 package, because it
depends on the ehci kernel module. The fsl-mph-dr-of.ko module can stay
in an own package because the ehci driver depends on it.

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

SVN-Revision: 48932
2016-03-05 17:49:09 +00:00
Hauke Mehrtens
837d4f8f41 spi-gpio-custom: fix section mismatch
This fixes this section mismatch warning:
The function spi_gpio_custom_get_slave_cs() references
the variable __initdata bus_nump.
This is often because spi_gpio_custom_get_slave_cs lacks a __initdata
annotation or the annotation of bus_nump is wrong.

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

SVN-Revision: 48930
2016-03-05 16:23:19 +00:00
Felix Fietkau
6bece706ec mac80211: ath9k: enable GPIO buttons
Enable platform-defined GPIO button support for ath9k device.
Key poller is activated for attached platform buttons.
Requires ath9k GPIO chip access.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>

SVN-Revision: 48921
2016-03-05 09:45:03 +00:00
Felix Fietkau
4f8f5a2332 mac80211: improve rate control performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48897
2016-03-03 22:29:00 +00:00
Felix Fietkau
a4c2092d17 mt76: update to the latest version, adds stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48895
2016-03-03 22:01:06 +00:00
John Crispin
4ac3411f09 kernel: gpio-button-hotplug: Add missing ONESHOT flag to threaded IRQ request
Without the IRQF_ONESHOT flag in devm_request_threaded_irq() call I get
following error:

  genirq: Threaded irq requested with handler=NULL and !ONESHOT for irq 56
  gpio-keys gpio-keys: failed to request irq:56 for gpio:20

>From kernel/irq/manage.c:

 The interrupt was requested with handler = NULL, so we use the default
 primary handler for it. But it does not have the oneshot flag set. In
 combination with level interrupts this is deadly, because the default
 primary handler just wakes the thread, then the irq lines is reenabled,
 but the device still has the level irq asserted. Rinse and repeat....

 While this works for edge type interrupts, we play it safe and reject
 unconditionally because we can't say for sure which type this interrupt
 really has. The type flags are unreliable as the underlying chip
 implementation can override them.

Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 48894
2016-03-03 20:24:47 +00:00
John Crispin
8fb8b78bb2 om-watchdog: Move each board name to its own line
Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 48890
2016-03-03 20:24:35 +00:00
John Crispin
ab196b75ea om-watchdog: Stop om-watchdog via procd before rebooting
It was noticed that the system can hang during the reboot before the kernel
actually triggers the system reset and before all processes are stopped. The
watchdog didn't automatically restart the system because the om-watchdog
process was still running and triggering the hardware watchdog.

Instead the system should stop the watchdog during the shutdown to get the
benefit of an hardware reset in case of an software related problem. This stop
can be done quite easily with procd because it keeps track of its started
processes.

Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>

SVN-Revision: 48889
2016-03-03 20:24:33 +00:00
Felix Fietkau
21ef61952b mt76: update to the latest version, adds basic mt7628 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48885
2016-03-02 17:40:55 +00:00
Felix Fietkau
806b68fc77 mac80211: add a number of pending fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48883
2016-03-02 14:56:48 +00:00
Felix Fietkau
cafc41ab01 mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48882
2016-03-02 14:56:43 +00:00
Felix Fietkau
5158e74cbb mac80211: ath9k: enable access to GPIO
Enable access to GPIO chip and its pins for Atheros AR92xx
wireless devices. For now AR9285 and AR9287 are supported.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 48881
2016-03-02 13:22:51 +00:00
Felix Fietkau
9e74c3af07 mac80211: ath9k: set default state for platform LEDs
Support default state for platform LEDs connected to ath9k device.
Now LEDs are correctly set on or off at ath9k module initialization.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 48880
2016-03-02 13:22:46 +00:00
Felix Fietkau
a8c15c0204 mac80211: ath9k: enable platform WLAN LED name
Enable platform-supplied WLAN LED name for ath9k device.

Signed-off-by: Michal Cieslakiewicz <michal.cieslakiewicz@wp.pl>
Acked-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 48879
2016-03-02 13:22:40 +00:00
Felix Fietkau
64fc5264cc mt76: update to the latest version, adds a number of stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48814
2016-02-28 21:06:08 +00:00
Felix Fietkau
9d18e34052 mt76: update to the latest version, enable MT7603 support (very basic, needs testing and debugging work)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48811
2016-02-28 09:55:18 +00:00
John Crispin
28e45ce886 kernel/gpio_keys: load module on pre-init
fix rescue mode on wdr4900

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48793
2016-02-26 08:35:20 +00:00
Hauke Mehrtens
93c59ac892 ltq-vdsl-mei: activate format security checks
This activates the format warnings in this package and that makes it
possible to activate format-security checks.

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

SVN-Revision: 48785
2016-02-25 21:59:56 +00:00
Rafał Miłecki
53814290e7 mac80211: backport brcmfmac fix for primary channel in 80 MHz mode
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48782
2016-02-25 20:24:47 +00:00
Rafał Miłecki
b24accd72d mac80211: backport brcmfmac fix for sdio sg table alloc crash
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48781
2016-02-25 20:24:38 +00:00
John Crispin
3f76eeaadc kernel: crypto: add fsl CAAM package
Kernel package enables the Freescale CAAM (crypto accelerator and assurance
module, aka SEC4). Sets kernel defaults for ringsize, intc, and debug.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 48773
2016-02-25 10:14:24 +00:00
Felix Fietkau
3064f16863 mac80211: fix an RTS/CTS issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48759
2016-02-25 09:24:13 +00:00
Felix Fietkau
2f7dcdec58 mac80211: sync a-msdu tx patch with the latest upstream submission
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48758
2016-02-25 09:24:09 +00:00
Felix Fietkau
cd33dd3f7c mac80211: add packages libertas-spi module and firmware
This adds option to build kernel module and firmware packages
for a Marvell 8686 SPI Wireless device

Signed-off-by: Joseph Honold <mozzwald@gmail.com>

SVN-Revision: 48750
2016-02-22 08:54:08 +00:00
Steven Barth
d179611006 kernel: fix chainiv crypto modules in 4.3+ kernels
Signed-off-by: Steven Barth <cyrus@openwrt.org>

SVN-Revision: 48745
2016-02-19 11:49:03 +00:00
Felix Fietkau
b9e910d658 mac80211: set default aggregation timeout to 0 to improve stability
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48744
2016-02-18 18:55:46 +00:00
Felix Fietkau
42fc062d47 mac80211: update A-MSDU tx support to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48743
2016-02-18 18:55:35 +00:00
Felix Fietkau
abeaff88ac brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48732
2016-02-16 21:42:00 +00:00
John Crispin
9b9c7ffefa kernel: add mode backlight symbols
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48729
2016-02-16 16:25:40 +00:00
John Crispin
a514faa3a9 kernel: add missing symbol to usb-audio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48728
2016-02-16 16:25:33 +00:00
John Crispin
5d4acd4e92 kernel: DSA is missing a OF dependend dep for mdio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48727
2016-02-16 16:25:25 +00:00
John Crispin
374a8f96bd kernel: crypto-echainiv was missing deps
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48724
2016-02-16 07:47:06 +00:00
John Crispin
5902afcfca kernel: add missing libphy dep to DSA
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48723
2016-02-15 18:45:34 +00:00
John Crispin
6b90cc0268 kernel: MPLS did not exist prior to v4.4
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48722
2016-02-15 18:45:27 +00:00
Felix Fietkau
6cfc7db8a2 mac80211: fix a crash in monitor mode injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48719
2016-02-14 12:26:49 +00:00
John Crispin
4d434d6468 linux/crypto: Add echainiv module provided by 4.4 kernels
This module is needed for IPsec ESP support, i.e..

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 48714
2016-02-12 08:31:54 +00:00
John Crispin
290534c7af kernel: add dsa driver support
The Linux Distributed Switch Architecture drivers provide richer support than
the swconfig driver API in that each switch port gets its own interface which
allows protocols such as STP, LLDP, 802.1x etc.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>

SVN-Revision: 48713
2016-02-12 08:31:49 +00:00
John Crispin
22f20c4a66 linux/netsupport: Add support for MPLS protocol
This adds support for MPLS protocol including usage of lightweight tunnels.
Kernel size of vmlinuz.bin grows by ~8k.

Signed-off-by: André Valentin <avalentin@marcant.net>

SVN-Revision: 48710
2016-02-12 08:31:17 +00:00
John Crispin
d086d86e6c kernel/modules: add kmod-ip6-vti
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48703
2016-02-12 08:30:09 +00:00
John Crispin
7865453d22 kernel/modules: rename kmod-ipvti to kmod-ip-vti
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48702
2016-02-12 08:30:00 +00:00
John Crispin
79deb0290a video: kmod-pwm does not exist anymore
it was removed in r43947

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 48699
2016-02-12 08:29:38 +00:00
John Crispin
69517e88be kernel: gpio-button-hotplug: update to use threaded irq's
Many gpio controllers 'cansleep' due to the fact that they are behind busses
e.g. i2c etc.

Using threaded irq's allows for 'sleep-able' gpio's to be used.

Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 48696
2016-02-12 08:29:11 +00:00
Jo-Philipp Wich
2d04407e40 mvebu: fix WRT1900AC v1 LED driver module
Update OpenWRT build tree to reflect changes in TLC-591xx LED family driver.

In kernels < 4.0 the driver was present in form of a patch for the TLC-59116 chip,
and was upstreamed later in kernels > 4.0 to support the entire chip family.

Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>
[jow: fix Kconfig symbol name]
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48684
2016-02-09 12:33:53 +00:00
Felix Fietkau
9546181867 mt76: update to the latest version, fixes fragmented rx issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48674
2016-02-08 13:38:22 +00:00
Felix Fietkau
533147beb2 mac80211: improve a-msdu rx performance by avoiding unnecessary data copying
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48673
2016-02-08 13:38:11 +00:00
Felix Fietkau
446d06edac mac80211: fix a memory leak in a-msdu rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48672
2016-02-08 13:38:03 +00:00
Felix Fietkau
21e716dbec mac80211: update A-MSDU tx patch to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48671
2016-02-08 13:37:55 +00:00
Felix Fietkau
f3761eaacc mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48670
2016-02-08 13:37:47 +00:00
Jo-Philipp Wich
ae36b39b92 linux: fix kmod-backlight-pwm
Also remove erroneous =m overrides from kconfig symbol list.

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

SVN-Revision: 48669
2016-02-08 10:58:34 +00:00
Rafał Miłecki
6ef21fb874 mac80211: fix flowrings infinite loops in brcmfmac on BCM4366
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48653
2016-02-07 23:12:38 +00:00
Felix Fietkau
04573657d0 mac80211: merge a fix for minstrel expected throughput reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48648
2016-02-07 14:30:01 +00:00
Felix Fietkau
1933dc0aa3 mac80211: merge a few mesh fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48647
2016-02-07 14:29:51 +00:00
Felix Fietkau
522bba5e42 ath9k: merge fix for noise floor calibration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48641
2016-02-07 13:29:08 +00:00
Rafał Miłecki
d99cdd4fef mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 support
It's not really supported yet as it still fails with:
brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48640
2016-02-06 17:10:10 +00:00
Felix Fietkau
18bcbbfd45 mt76: update to the latest version, adds A-MSDU support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48638
2016-02-05 16:43:47 +00:00
Felix Fietkau
b0c782be70 mac80211: add A-MSDU tx support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48637
2016-02-05 16:43:38 +00:00
Felix Fietkau
351be0fdec mac80211: parse legacy and HT rates in monitor mode injected frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48636
2016-02-05 16:43:25 +00:00
Felix Fietkau
ba1672bf2b mac80211: add performance improvements for A-MSDU rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48630
2016-02-04 20:17:25 +00:00
Felix Fietkau
704473864e mt76: update to the latest version, fixes tx status information polling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48597
2016-02-01 12:31:04 +00:00
Felix Fietkau
7695d614df mac80211: backport skb_free_frag and napi_alloc_frag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48582
2016-01-31 16:13:23 +00:00
Felix Fietkau
a6fe27a59a mac80211: fix an out of bounds access issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48550
2016-01-29 14:23:23 +00:00
Felix Fietkau
c1e6ef488f mac80211: merge a bunch of pending fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48536
2016-01-28 22:42:10 +00:00
Felix Fietkau
305e8b724a kernel: fix USB on mpc85xx (#21689)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48525
2016-01-28 13:13:14 +00:00
Felix Fietkau
644bbe8c34 mt76: update to the latest version, adds some tx path and protection mode register fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48514
2016-01-27 23:58:19 +00:00
Felix Fietkau
42644fff59 kernel: add missing config symbols for kmod-crypto-hw-talitos
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48513
2016-01-27 21:40:43 +00:00
Felix Fietkau
07160c774c mac80211: add iremap cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48490
2016-01-25 15:49:36 +00:00
Felix Fietkau
827672162a kernel: wpan: mrf24j40 depends on regmap-spi
kmod-mrf24j40 select REGMAP_SPI since 4.3, thus add dependency to
kmod-regmap.

Found by buildbot:
Package kmod-mrf24j40 is missing dependencies for the following libraries:
regmap-spi.ko

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

SVN-Revision: 48484
2016-01-25 12:41:19 +00:00
Felix Fietkau
6255856c68 kernel: add a package for bcm-phy-lib.ko, fixes build errors with kmod-phy-broadcom
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48464
2016-01-23 20:01:26 +00:00
Felix Fietkau
eb39f41ffd kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48459
2016-01-23 17:05:56 +00:00
Felix Fietkau
19e2d1ed35 kernel: Add kernel module for Freescale SNVS RTC on chip module
Signed-off-by: Petr Štetiar <ynezz@true.cz>

SVN-Revision: 48454
2016-01-22 12:02:11 +00:00
Rafał Miłecki
529d527e2c kernel: backport bcma stuff sent for 4.6
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48449
2016-01-22 09:22:37 +00:00
Felix Fietkau
baa618790a ath9k: allow multiple virtual interfaces on DFS channels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48448
2016-01-22 00:54:34 +00:00
Felix Fietkau
145a6e9db9 mac80211: only strip the platform/ prefix from path for pci devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48440
2016-01-21 15:55:35 +00:00
Felix Fietkau
d13a1ce9d7 mac80211: fix check for existing config section from r48426
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48439
2016-01-21 15:51:52 +00:00
Felix Fietkau
df9275b25e ath9k: ignore EEPROM mismatch on flash based devices (fixes #21611)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48438
2016-01-21 15:37:43 +00:00
Felix Fietkau
16ea0369e9 kernel: make backlight support depend on display support
Mark backlight core package as hidden

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

SVN-Revision: 48437
2016-01-21 15:37:38 +00:00
Felix Fietkau
f82dc2e37d kernel: mark kmod-drm as hidden so that it only gets selected if a driver for it can be selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48436
2016-01-21 15:37:30 +00:00
Felix Fietkau
9b53da6138 kernel: reduce AddDepends related cargo cult programming in video.mk
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48435
2016-01-21 15:37:20 +00:00
Felix Fietkau
125f1ce9ad kernel: video: add DRM core and IMX DRM support for HDMI/LVDS
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 48434
2016-01-21 15:37:10 +00:00
Felix Fietkau
0a6919b8bc kernel: video: add fbcon support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 48433
2016-01-21 15:37:01 +00:00
Felix Fietkau
5a502875b1 kernel: add backlight kernel module support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 48432
2016-01-21 15:36:53 +00:00
Felix Fietkau
d9b20a6f35 mac80211: strip platform/ prefix from device path to improve compatibility between kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48426
2016-01-21 13:28:09 +00:00
Felix Fietkau
95965cd813 mac80211: make the path phy lookup more robust regarding config upgrades, allow partial path matching
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48425
2016-01-21 13:28:04 +00:00
Felix Fietkau
20ba5a01cf kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48371
2016-01-19 21:09:11 +00:00
Felix Fietkau
e34acd64f5 kernel: disable AFS support by default
This pulls in CONFIG_KEYS, which bloats up the kernel size and is thus
very undesirable. It also currently exposes the kernel to a local root
vulnerability

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

SVN-Revision: 48364
2016-01-19 15:14:51 +00:00
Felix Fietkau
d33c0dd6d0 kernel/modules: add kmod-crypto-hw-ccp
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48347
2016-01-19 10:06:43 +00:00
Felix Fietkau
cd5d3f9240 kernel/modules: add missing symbol for crypto-rng
Since CRYPTO_DRBG_MENU was added in r48277, CRYPTO_DRBG_HMAC is missing.
It does not appear in kernel_menuconfig and defaults to yes, so enable
it in crypto-rng as well and add dependencies to HMAC and SHA256.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48341
2016-01-18 23:35:12 +00:00
Felix Fietkau
fc8a7051cd lantiq: ltq-deu: Remove the "DEU test manager"
Remove the "DEU test manager" code which has not been used for more than
two years (as the kernel module is not installed anymore since r38731).
This fixes compilation on kernel 4.3, which removes
aead_request_set_assoc (and newer kernels).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48308
2016-01-18 11:40:40 +00:00
Felix Fietkau
95699dd312 lantiq: ltq-deu: Make the DEU driver compatible with linux 4.2 and newer
Upstream linux 4.2 commit 84be456f883c4685680fba8e5154b5f72e92957e
"remove <asm/scatterlist.h>" requires us to include linux/scatterlist.h
instead. This also works with older kernels (at least 4.1, thanks to
Hauke Mehrtens for testing).

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48282
2016-01-17 19:23:14 +00:00
Felix Fietkau
33d1b2e0f5 kernel: add missing kernel config symbol for crypto-rng (fixes #21596)
Signed-off-by: Lucian Cristian <luci@createc.ro>

SVN-Revision: 48277
2016-01-17 11:17:06 +00:00
Felix Fietkau
0200735bda kernel: add usb-net-sr9700 package
Add support for
CoreChip-sz SR9700 based USB 1.1 10/100 ethernet devices

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

SVN-Revision: 48272
2016-01-17 11:03:41 +00:00
Felix Fietkau
b2e374346b mwlwifi: fix build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48251
2016-01-15 16:58:00 +00:00
Felix Fietkau
ba8a603a49 mt76: update to the latest version, fixes build with latest mac80211
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48250
2016-01-15 16:53:44 +00:00
Felix Fietkau
82c5e2c497 mac80211: update to wireless-testing 2016-01-10
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48247
2016-01-15 15:03:48 +00:00
Felix Fietkau
708bbe9382 kernel: add missing kmod-video-videobuf2's object file in 4.4
CONFIG_VIDEOBUF2_CORE produces two object files in Linux >= 4.4.
Conditionally add the new file to FILES of kmod-video-videobuf2.

Signed-off-by: Jan Čermák <jan.cermak@nic.cz>

SVN-Revision: 48242
2016-01-15 10:49:21 +00:00
Felix Fietkau
711e28f012 mt76: update to the latest version, fixes signal strength reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48234
2016-01-14 11:59:10 +00:00
Felix Fietkau
cb85e21fd1 ath9k: add support for a newer tx gain table used in some TP-Link devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48233
2016-01-14 02:17:49 +00:00
Felix Fietkau
155f7ba037 mt76: update to the latest version, adds mac address fixes and some performance tuning
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48232
2016-01-14 01:00:42 +00:00
Imre Kaloz
2a170e4086 mac80211: resync regulatory db with master-2015-12-14
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 48219
2016-01-12 14:28:09 +00:00
Felix Fietkau
a960fcef29 mac80211: move b43legacy firmware to a separate package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48184
2016-01-10 16:37:01 +00:00
Felix Fietkau
805c40351e mac80211: remove linux-firmware download
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48183
2016-01-10 16:36:54 +00:00
Felix Fietkau
26eb793589 mac80211: move broadcom firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48182
2016-01-10 16:36:48 +00:00
Felix Fietkau
4a791c8d4e mac80211: move ti firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48181
2016-01-10 16:36:40 +00:00
Felix Fietkau
78efb85fa1 mac80211: move mediatek/ralink firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48180
2016-01-10 16:36:31 +00:00
Felix Fietkau
9e5df4a939 mac80211: move atheros/qca firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48179
2016-01-10 16:36:25 +00:00
Felix Fietkau
6d0d89dc65 mac80211: move marvell firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48178
2016-01-10 16:36:17 +00:00
Felix Fietkau
35baa05d80 mac80211: move intel firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48177
2016-01-10 16:36:08 +00:00
Felix Fietkau
9dee1adc0f mac80211: move realtek firmware to the linux-firmware package
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48176
2016-01-10 16:36:00 +00:00
Zoltan Herpai
c03f792aac mac80211: brcmfmac: copy SDIO firmwares when CONFIG_BRCMFMAC_SDIO is selected
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48162
2016-01-09 16:46:42 +00:00
Imre Kaloz
f6340da7df mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 48152
2016-01-08 19:23:16 +00:00
Felix Fietkau
33beafa8d8 Configure IPv6 kernel options in config/Config-kernel.in
Revision 46834 changed IPv6 support from a module to builtin. But
since the configuration of the IPv6 kernel options was left in
package/kernel/linux/modules/netsupport.mk, this means that an
empty kmod-ipv6 module was still being generated (not packaged).

This patch moves the configuration of the IPv6 kernel options to
config/Config-kernel.in to remove this last bit of the module.

Note that CONFIG_IPV6_PRIVACY was dropped (enabled by default
since Linux v3.13), so this option is no longer needed.

See 5d9efa7ee9

Signed-off-by: Arjen de Korte <arjen+openwrt@de-korte.org>

SVN-Revision: 48132
2016-01-04 23:30:36 +00:00
Felix Fietkau
1f5f096faa mac80211: add rtl8xxxu
OpenWrt is often used to develop or test new devices
Some users might want to test and help to improve
this new driver

upstream commit notice 26f1fad29ad973b0fb26a9ca3dcb2a73dde781aa

New driver: rtl8xxxu (mac80211)
This is an alternate driver for a number of Realtek WiFi USB devices,
including RTL8723AU, RTL8188CU, RTL8188RU, RTL8191CU, and RTL8192CU.
It was written from scratch utilizing the Linux mac80211 stack.

After spending months cleaning up the vendor provided rtl8723au
driver, which comes with it's own 802.11 stack included, I decided to
rewrite this driver from the bottom up.

Many thanks to Johannes Berg for 802.11 insights and help and Larry
Finger for help with the vendor driver.

The full git log for the development of this driver can be found here:
git git://git.kernel.org/pub/scm/linux/kernel/git/jes/linux.git
    branch rtl8723au-mac80211

This driver is still under development, but has proven to be very
stable for me. It currently supports station mode only. It has support
for OFDM and CCK rates. It does lack certain features found in the
staging driver, such as power management, AMPDU, and 40MHz channel
support. In addition it does not support AD-HOC, AP, and monitor mode
support at this point.

The driver is known to work with the following devices:
Lenovo Yoga (rtl8723au)
TP-Link TL-WN823N (rtl8192cu)
Etekcity 6R (rtl8188cu)
Daffodil LAN03 (rtl8188cu)
Alfa AWUS036NHR (rtl8188ru)

Compile tested only

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48104
2016-01-03 20:57:38 +00:00
Felix Fietkau
0f84880a9d mac80211: iwlwifi: update firmware to ucode -16 version
We don't use Kernel drivers but ucode -16 is
usable on Kernel 4.3+ - with backports and mac80211
this should work on older Kernel versions too.

Intel does not provide a changelog.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48103
2016-01-03 20:57:31 +00:00
Felix Fietkau
eee06021ca mac80211: mt7601u use linux-firmware
upstream added mt7601u firmware with commit
9df5430a3c1bf4fa92d9198b6d7d8713408ff6bc Add firmware for mt7601u. version 34

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48102
2016-01-03 20:57:23 +00:00
John Crispin
e0019b33a4 lantiq: ltq-vmmc: Fix compilation with linux 4.4
gpio.h needs the linux/ prefix with linux 4.4.

SVN-Revision: 48057
2016-01-01 21:21:04 +00:00
Felix Fietkau
e269b3b4bc mt76: update to the latest version from the mt7603 branch, adds support for overriding the mac address via OF
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48028
2016-01-01 18:57:54 +00:00
Felix Fietkau
7509c940e9 kernel: fix duplication of sch_netem in multiple packages (#21479)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48018
2016-01-01 12:26:09 +00:00
John Crispin
11115d8e2c lantiq: ltq-adsl-mei: fix typo
Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47995
2015-12-23 18:25:03 +00:00
Felix Fietkau
3fca139a2b kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency for hwmon-pwmfan
Signed-off-by: Sebastian Careba <nitroshift@yahoo.com>

SVN-Revision: 47968
2015-12-23 11:43:18 +00:00
Felix Fietkau
2be144fa3c kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47961
2015-12-22 19:05:35 +00:00
Felix Fietkau
854c77bcea kernel: make kmod-gpiofan depend on kmod-thermal to fix build errors
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47960
2015-12-22 16:58:45 +00:00
Felix Fietkau
2a0e1b7f8d mac80211: merge a fix for a ps-poll handling issue
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47958
2015-12-20 21:28:30 +00:00
Imre Kaloz
de50527a38 mwlwifi: upgrade to 10.3.0.15-20151216
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47954
2015-12-20 12:49:03 +00:00
John Crispin
429ab0113a kernel: kmod-ptp selects a new config symbol
since Kernel 3.14
408eccce net: ptp: move PTP classifier in its own file

found while bug search
thx olmari on IRC

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 47923
2015-12-17 09:29:34 +00:00
John Crispin
98bf3d4120 brcm2708-gpu-fw: update to latest version
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 47921
2015-12-17 09:28:48 +00:00
John Crispin
45b6eec9fc lantiq: ltq-ptm: set carrier status
Principal purpose is to prevent the error message

  ifxmips_ptm_vdsl.c:281:ptm_hard_start_xmit: not in showtime

which is printed at least once per second to the serial console, if the
ptm interface is not in showtime, but a processes already sends
packages over that interface. This happens for adsl as well as vdsl
over ptm.

It's pppd which sends packages over the ptm device before in showtime.
As far as I can see, pppd is started unconditionally since netif can
not gather the link status of the ptm network interface.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47917
2015-12-17 09:28:21 +00:00
John Crispin
ee0091ebed lantiq: ltq-atm: set carrier status
This prevents the unconditionally start of pppd since netifd will be
triggered if the device goes into showtime. The same applies to lost
showtime as well.

In compare to the ptm driver, this changeset isn't strictly required,
since the "not in showtime" message is limited to the debug loglevel.
But it reduces the amount of ppp related messages significant.

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47916
2015-12-17 09:28:10 +00:00
John Crispin
932bc8d5eb ath9k: Allow configuration of LED polarity in platform data.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47910
2015-12-17 09:27:24 +00:00
John Crispin
4a4b0b82ec ath9k: Pass LED polarity to ath_create_gpio_led when initializing the LEDs.
Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>

SVN-Revision: 47909
2015-12-17 09:27:18 +00:00
Felix Fietkau
f0664d34a6 kernel: make kmod-crypto-rng depend on kmod-crypto-hash
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47883
2015-12-12 12:02:20 +00:00
Felix Fietkau
84a56a7849 kernel: crypto-aead depends on crypto-null in 4.3 as well
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47870
2015-12-11 19:21:49 +00:00
John Crispin
f03bf608b1 kernel: Add dummy sound driver
Useful when using sound players that can send to icecast, etc. without any sound device attached.

Signed-off-by: Ted Hess <thess@kitschensync.net>

SVN-Revision: 47852
2015-12-11 15:05:53 +00:00
John Crispin
0938233fcd lantiq: get rid of ltq-vdsl-fw
Because of dsl-vrx200-firmware-xdsl-* there's no need anymore to
download a dsl firmware at runtime.

Signed-off-by: Andre Heider <a.heider@gmail.com>

SVN-Revision: 47851
2015-12-11 15:05:40 +00:00
Felix Fietkau
b106a8f255 kernel/modules: fix crypto API RNG for >=4.2
Since kernel 4.2, DRBG is the default crypto API RNG, replacing krng. As
DRBG is not enabled, there is no crypto API RNG available when running
kernel 4.2 or later. Because of this, IPsec SAs fail to install. In
strongSwan, this results in a vague error that is difficult to debug:

received netlink error: No such file or directory (2)

Solve this by adding DRBG to the kmod-crypto-rng package. As enabling
DRBG in the kernel config also enables the Jitterentropy RNG, include it
in kmod-crypto-rng instead of having it in a separate package.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 47827
2015-12-10 12:40:55 +00:00
Imre Kaloz
6b04b44e21 mac80211: use the linux-firmware tree from 2015-12-07
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47822
2015-12-10 12:17:24 +00:00
Jo-Philipp Wich
3041fbb4d2 mac80211: fix passing of VHT80 in IBSS mode
The "iw" utility expects the VHT80 to be specified as uppercase "80MHZ",
change the script to reflect that.

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

SVN-Revision: 47814
2015-12-09 15:19:41 +00:00
Jo-Philipp Wich
713f698bd4 mac80211: fix disabling HT in IBSS mode (#21340)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47813
2015-12-09 15:18:43 +00:00
Hauke Mehrtens
76f531063c ar7-atm: fix build with gcc 5
Remove the usage of the __TIME__ and __DATE__ macro.

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

SVN-Revision: 47797
2015-12-06 13:41:26 +00:00
Hauke Mehrtens
96a938d082 mac80211: fix build of mac80211-hwsim on kernel 4.4
This genl_notify() backport should not be applied for kernel 4.4.

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

SVN-Revision: 47795
2015-12-06 13:31:58 +00:00
Felix Fietkau
ee7f0ec473 lantiq: ltq-vdsl-mei: enable vectoring support
Dynamic Spectrum Management is a precondition for G.993.5 (VDSL2 vectoring).

Signed-off-by: Mathias Kresin <openwrt@kresin.me>

SVN-Revision: 47784
2015-12-05 09:52:36 +00:00
Felix Fietkau
028666e75f mac80211: Allow to select VHT80 in IBSS mode
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 47781
2015-12-05 09:52:10 +00:00
Felix Fietkau
8d580cd7f2 mac80211: Allow enabling tracing for the drivers that support it
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 47776
2015-12-05 09:51:35 +00:00
Felix Fietkau
ba0ba1e1f5 mac80211: enable build with linux 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47772
2015-12-04 22:40:38 +00:00
Felix Fietkau
70ac77f869 mac80211: update to 2015-12-03
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47771
2015-12-04 22:39:37 +00:00
Jonas Gorski
418a9d4972 mac80211: put the !LINUX_4_4 dependency in the right place
Make sure all sub packages are marked as not building for 4.4.

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

SVN-Revision: 47712
2015-12-03 11:01:34 +00:00
Jonas Gorski
4454a3fb63 package: kernel: update dependencies for 4.4
Update dependencies for linux 4.4 and mark as broken where source code
needs updating.

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

SVN-Revision: 47700
2015-12-02 22:19:31 +00:00
Hauke Mehrtens
40a09b93d2 mac80211: install new firmware for ath9k-htc on target
For quite some time new firmware for ath9k-htc devices
is available in
http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ath9k_htc/

Moreover ath9k-htc kernel driver expects this new v1.4
firmware to exist in /lib/firmware/ath9k_htc.

What happens currently:
---------------------------->8--------------------------
[    7.830000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[    7.840000] usb 1-1: Direct firmware load for
ath9k_htc/htc_9271-1.4.0.fw failed with error -2
[    7.850000] usb 1-1: Falling back to user helper
[    7.870000] usbcore: registered new interface driver ath9k_htc
[    7.880000] firmware ath9k_htc!htc_9271-1.4.0.fw:
firmware_loading_store: map pages failed
[    7.890000] usb 1-1: ath9k_htc: Firmware htc_9271.fw requested
[    8.200000] usb 1-1: ath9k_htc: Transferred FW: htc_9271.fw, size:
50980
[    8.440000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   10.720000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.3
[   10.740000] ath9k_htc 1-1:1.0: FW RMW support: Off
[   10.760000] ieee80211 phy0: Atheros AR9271 Rev:1
---------------------------->8--------------------------

And with that patch new firmware is used instead:
---------------------------->8--------------------------
[   33.920000] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw
requested
[   34.230000] usb 1-1: ath9k_htc: Transferred FW:
ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   34.480000] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33
credits
[   34.740000] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[   34.750000] ath9k_htc 1-1:1.0: FW RMW support: On
---------------------------->8--------------------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47693
2015-12-02 20:32:11 +00:00
Imre Kaloz
60b01f432b mwlwifi: update to latest revision, fixes a kernel panic
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47677
2015-11-30 11:57:32 +00:00
John Crispin
48c709e86d mac80211: rt2x00: fix WARN_ON_ONCE() caused by inbalanced set/clear of beacon enable bit
Signed-off-by: evaxige <evaxige@qq.com>

SVN-Revision: 47668
2015-11-28 23:24:59 +00:00
Imre Kaloz
9269f65414 mwlwifi: update to latest version
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 47661
2015-11-26 14:08:37 +00:00
John Crispin
091b668f1a lantiq: ltq-vdsl: update to version 4.16.6.3
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47635
2015-11-24 20:41:07 +00:00
John Crispin
5d236c4dd0 lantiq: ltq-vdsl-mei: update to version 1.4.8.5
In addition to the update this also fixes some build warnings and makes it
use the same configure option as used in Lantiq UGW.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47634
2015-11-24 20:40:59 +00:00
John Crispin
ca541cffd0 lantiq: ltq-vdsl-mei: register char device automatically
Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47633
2015-11-24 20:40:49 +00:00
John Crispin
9b5140bd71 lantiq: ltq-vdsl-mei: add mei_cpe_drv_test application
This application helps to debug some internal problems in the MEI driver.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47632
2015-11-24 20:40:40 +00:00
John Crispin
c4bbe3698d lantiq: ltq-ifxos: fix build warnings
This makes the build script use the same configure options as used by
Lantiq  UGW and fixes some warnings and cleans up some of the patches.

Signed-off-by: Hauke Mehrtens <hauke.mehrtens@lantiq.com>

SVN-Revision: 47630
2015-11-24 20:39:59 +00:00
Felix Fietkau
a4e234d278 ath10k: fix memory allocation issues on platforms where DMA coherent memory is constrained
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47625
2015-11-24 19:09:45 +00:00
John Crispin
0d5f66f3b2 kernel: fix building RTC drivers
All RTC drivers require the kernel to be built with CONFIG_RTC_CLASS=y.
Set it accordingly.

Tested only with DS1307.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 47564
2015-11-21 21:25:28 +00:00
John Crispin
27ac4ce928 mac80211: fix autoprobing of mt7601u driver
Strigng passed to autoprobing script should match
module's name. Currently that string is missing trailing "u".

With that change mt7601u driver really gets autoloaded on
USB Wi-Fi dongle insertion:
------------------>8---------------
[    0.930000] hub 2-0:1.0: USB hub found
[    0.940000] hub 2-0:1.0: 1 port detected
[    1.150000] usb 1-1: new high-speed USB device number 2 using
ehci-platform
[    1.720000] init: - preinit -
Detected arc-sdp // Synopsys AXS101 Development Board
[    1.810000] random: mktemp urandom read with 3 bits of entropy
available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug
level
[    4.940000] procd: - early -
[    5.540000] procd: - ubus -
[    6.550000] procd: - init -
Please press Enter to activate this console.
[    7.160000] Loading modules backported from Linux version
master-2015-10-26-0-g28c26cb
[    7.170000] Backport generated by backports.git
backports-20150903-4-g12cf266
[    7.200000] cfg80211: World regulatory domain updated:
[    7.230000] cfg80211:  DFS Master region: unset
[    7.230000] cfg80211:   (start_freq - end_freq @ bandwidth),
(max_antenna_gain, max_eirp), (dfs_cac_time)
[    7.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.270000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.270000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.290000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[    7.290000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz,
160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[    7.310000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz),
(N/A, 2000 mBm), (0 s)
[    7.310000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz),
(N/A, 2000 mBm), (N/A)
[    7.330000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
(N/A, 0 mBm), (N/A)
[    7.470000] usb 1-1: reset high-speed USB device number 2 using
ehci-platform
[    7.620000] mt7601u 1-1:1.0: ASIC revision: 76010001 MAC revision:
76010500
[    7.630000] mt7601u 1-1:1.0: Firmware Version: 0.1.00 Build: 7640
Build time: 201302052146____
[    8.040000] mt7601u 1-1:1.0: Warning: unsupported EEPROM version 0d
[    8.050000] mt7601u 1-1:1.0: EEPROM ver:0d fae:00
[    8.050000] mt7601u 1-1:1.0: EEPROM country region 01 (channels 1-13)
[    8.320000] usbcore: registered new interface driver mt7601u
------------------>8---------------

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Dirk Neukirchen <dirkneukirchen@web.de>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: John Crispin <blogic@openwrt.org>

SVN-Revision: 47556
2015-11-21 21:24:28 +00:00
Hauke Mehrtens
31d7b4fc95 kernel: make kmod-usb-dwc2 depend on kmod-usb-gadget on omap target
This dependency is missing for the omap target.

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

SVN-Revision: 47551
2015-11-21 17:40:46 +00:00
Hauke Mehrtens
49dcbf9f43 kernel: fix build of kmod-dwc2
dwc2_platform.koi is included in dwc2.ko with kernel 4.3.

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

SVN-Revision: 47550
2015-11-21 17:36:31 +00:00
Felix Fietkau
988be54b22 ath10k: select kernel relayfs support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47548
2015-11-21 10:55:36 +00:00
Hauke Mehrtens
949d7fc378 kernel: fix menu for scsi-tape
this should be placed under the block menu entry, this fixes r47482.

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

SVN-Revision: 47503
2015-11-18 20:31:23 +00:00
Jo-Philipp Wich
d99af7f05a kernel: kmod-udptunnel6 depends on IPv6
Spotted a missing 'ip6_udp_tunnel.ko' build failure during a local
build with all kmods enabled but globally disabled IPv6 support.

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

SVN-Revision: 47487
2015-11-16 17:39:32 +00:00
Rafał Miłecki
b2dab45aa7 kernel: backport ssb changes from 4.4-rc1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 47483
2015-11-16 06:55:38 +00:00
Hauke Mehrtens
d42669bf33 kernel: support for scsi tape devices
Support for scsi tape devices as kernel module.

This allow to use scsi tape devices in openwrt.

Signed-off-by: Giuseppe Magnotta <giuseppe.magnotta@gmail.com>
[moved to block.mk]
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 47482
2015-11-15 22:14:45 +00:00