2162 Commits

Author SHA1 Message Date
Rafał Miłecki
a6d6810914 mac80211: backport brcmfmac workaround for missing boardrev
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-04-16 08:47:12 +00:00
Rafał Miłecki
49368c0c2a mac80211: backport brcmfmac fixes for WARNING and BCM4360 init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49004 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-11 09:55:00 +00:00
Felix Fietkau
df7603824b mac80211: improve rate control performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48897

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-03 22:29:13 +00:00
Felix Fietkau
88b4fb7e2a mt76: update to the latest version, adds stability fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48895

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-03 22:29:11 +00:00
Felix Fietkau
197d34388b mac80211: add a number of pending fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48883

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-02 14:57:49 +00:00
John Crispin
706ffd8068 kernel: add Realtek USB to Ethernet modules
https://forum.openwrt.org/viewtopic.php?pid=279394

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

Backport of r46031

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48863 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-01 08:15:04 +00:00
John Crispin
9af27e4d49 mac80211: set mcast-rate for mesh point interfaces
In order to set the multicast rate for mesh point interfaces the "mesh join"
was made explicit and moved to mac80211_setup_vif(), similar to how it is
done for IBSS interfaces.

Previously, the mesh join was made implicit in case authentication (i.e.
$key) was not used when creating the interface in mac80211_prepare_vif(),
while using authentication would create the interface first, then join
later in mac80211_setup_vif() by starting authsae.

Signed-off-by: Nils Schneider <nils@nilsschneider.net>

Backport of r47408

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-01 08:14:59 +00:00
John Crispin
76b79b5635 kernel/gpio_keys: load module on pre-init
fix rescue mode on wdr4900

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

Backport of r48793

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-01 08:14:51 +00:00
John Crispin
ca4b30daed 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>

Backport of r48732

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-03-01 08:14:50 +00:00
Felix Fietkau
f3a1db04f0 mac80211: backport from trunk r48782 + required kernel patches and mt76, mwlwifi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48822 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-02-29 17:19:04 +00:00
Rafał Miłecki
ed9632da9a mac80211: fix brcmfmac picking wrong channel when using 80 MHz
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-20 19:32:04 +00:00
Felix Fietkau
8b4564cce8 kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48371

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48392 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-20 10:32:18 +00:00
Felix Fietkau
38e3298a8b 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>

Backport of r48364

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48365 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-19 15:15:11 +00:00
Imre Kaloz
04d677ea25 mac80211: resync regulatory db with master-2015-12-14
backport of [48219]

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-12 14:29:19 +00:00
Rafał Miłecki
1f13935e70 mac80211: brcmfmac: add beamforming support
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 01:30:13 +00:00
Rafał Miłecki
acad802bce mac80211: brcmfmac: support dumping stations
It allows user-space fetch associated STAs and e.g. iwinfo/luci display
them.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 00:19:16 +00:00
Rafał Miłecki
615ff23d4f mac80211: brcmfmac: fix getting/setting TX power
This patches also adds BCM4366 support which may be found on some new
routers based on BCM47094 or BCM4709C0. Unfortunately firmware is still
missing for this chipset.

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-10 00:19:09 +00:00
Rafał Miłecki
09eb0166d0 mac80211: rename patches to use all prefixes
After last commit we got few unuset slots (prefixes). Use all available
numbers one by one to allow more backports.
This doesn't change a single patch (or order), only renames files.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-09 18:38:01 +00:00
Rafał Miłecki
437dd4cacf mac80211: group brcmfmac patches into sets as they were sent
It doesn't change any single patch (or order), it only renames files.
This creates some place for more backports, as we were already using
398 prefix which left only 1 slot.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-09 18:37:55 +00:00
Imre Kaloz
b44228e69a mwlwifi: update to 10.3.0.16-20160105 (adds DFS support)
backport of [48152]

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-08 19:24:58 +00:00
Felix Fietkau
27f7e08c47 kernel: fix duplication of sch_netem in multiple packages (#21479)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r48018

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@48023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2016-01-01 12:29:29 +00:00
Imre Kaloz
7bc24df009 mwlwifi: upgrade to 10.3.0.15-20151216 (backport of [47954])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-12-20 12:56:14 +00:00
Jo-Philipp Wich
34352bc282 CC: mac80211: fix disabling HT in IBSS mode (#21340)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

Backport of r47813

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-12-09 15:36:22 +00:00
Imre Kaloz
ab5f4ad6ce mwlwifi: update to latest revision, fixes a kernel panic (backport of [47677])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47678 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-30 11:58:12 +00:00
Imre Kaloz
9485d3dfa3 mwlwifi: update to latest version (backport of [47661])
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-11-26 14:09:10 +00:00
Felix Fietkau
574429b5ca mt76: update to the latest version, fixes tx related crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47187

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-12 13:14:36 +00:00
Felix Fietkau
53a0131c68 mt76: sync with trunk r47143, add backports for compat with the older mac80211 version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 22:38:39 +00:00
Felix Fietkau
a42d0f389e mac80211: add a fix to initialize the tid field in the tx queue struct
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47142

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-10-05 22:38:32 +00:00
Felix Fietkau
d0a48c1d42 ath9k: fix handling of tx headroom for padding
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r47042

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@47044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-24 15:43:24 +00:00
Felix Fietkau
916dfa7c92 ath10k: reduce dma burst size on newer firmware to fix crashes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

Backport of r46900

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-09-13 20:46:00 +00:00
Hauke Mehrtens
45db302513 CC: broadcom-wl: add interface after bridge is up
backport of r46749

Without this patch adding the wifi device to the bridge may fail
because the bridge is not already configured when the wifi device gets
configured. This patch makes broadcom-wl wait till the bridge is ready.

This fixes #17262

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 20:05:41 +00:00
Hauke Mehrtens
e6ded4a534 CC: broadcom-wl: fix bash comparison error
Backport of r46746

This fixes #17495

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 17:40:11 +00:00
Hauke Mehrtens
94128f9d89 CC: broadcom-wl: fix section mismatches in broadcom-wl driver
Backport of r46745

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-29 17:39:36 +00:00
Rafał Miłecki
3518bc6992 mac80211: add pending brcmfmac patch fixing warm reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46739

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46740 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-27 14:58:00 +00:00
Rafał Miłecki
ae82d6b9e6 mac80211: update brcmfmac to the latest version
This also adds one patchset of pending changes that fix support for
multiple interfaces. It was somehow broken.
Driver couldn't correctly match firmware and system interfaces resulting
in not working APs and WARNINGs.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 22:57:54 +00:00
Rafał Miłecki
e32144bf9d mac80211: group last brcmfmac changes into (half) patchset
This prepares some place for backporting extra patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-26 22:57:29 +00:00
Jonas Gorski
ecdc42cc5b CC: mac80211: disable ipw2x00 for big endian targets
The ipw2x00 drivers assume that the system they are running is little
endian, and access everything in native byte order. When run on a big
endian system, everything breaks apart.

Since fixing this is non trivial on a first glance, disable them for
big endian targets.

Backport of r46708.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-23 09:41:27 +00:00
Imre Kaloz
7545a9373c mwlwifi: downgrade to 10.3.0.3-20150804
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46695 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-20 20:45:16 +00:00
Imre Kaloz
5735828ee2 mwlwifi: fix commit hash for 10.3.0.8
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46692 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-19 08:44:26 +00:00
Imre Kaloz
0054ed3947 mwlwifi: upgrade to 10.3.0.8-20150818
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-18 11:20:59 +00:00
Hauke Mehrtens
ef574b4585 CC: kernel: crypto: fix module loading of aead.ko
The name of the module was wrong before.

This should fix #20283.

backport of r46574.

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46577 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-08-09 17:19:00 +00:00
Imre Kaloz
b9a628bac6 mwlwifi: upgrade to latest rev with fixed firmware (backport of r46520)
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46521 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-30 06:41:43 +00:00
John Crispin
c3e7cdbf4c mac80211: make ath10k firmware v2 selectable
Added option for old firmware version (10.1 API v2). It seems that recent
firmware versions are constantly crashing (at least on a QCA9880-BR4A-R) and
this provides the option to select an older version instead.

Backport of r46340

Signed-off-by: Günther Kelleter <guenther.kelleter@devolo.de>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-24 08:58:07 +00:00
Florian Fainelli
6e094aeb9b kernel: fix OHCI and EHCI modules for AT91
We were not copying the additional files needed to get USB to work on
the AT91 platforms, make sure we do this.

Backport of r46172

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 22:34:58 +00:00
Felix Fietkau
540dcbea01 mt76: backport rx buffer allocation fix from r46409
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-18 16:56:28 +00:00
Hauke Mehrtens
3a969d7290 CC: kernel: fix loading bluetooth_6lowpan
Backprot of r46179

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


git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46311 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-12 16:03:09 +00:00
Rafał Miłecki
11f5163972 mac80211: add brcmfmac patch fixing user space picked MACs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46288

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 18:23:41 +00:00
Rafał Miłecki
cd30b84d80 mac80211: try to workaround some brcmfmac bug with handling interfaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

Backport of r46278

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-09 18:23:35 +00:00
Jonas Gorski
80f958c88d CC: kernel: kmod-scsi-core: fix load on install
sd_mod depends on scsi_mod, but due to it being an AutoLoad and not
AutoProbe module, it was not loading when installing the package,
causing unknown symbol errors for sd_mod and anything depending on it.

Closes #14927, #18293, #19351.

Backport of r46176.

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

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-04 12:53:57 +00:00
Felix Fietkau
354e275d05 ath9k: make DMA stop related messages debug-only (#11862, #9654)
A long time ago, ath9k had issues during reset where the DMA engine
would stay active and could potentially corrupt memory.
To debug those issues, the driver would print warnings whenever they
occur.

Nowadays, these issues are gone and the primary cause of these messages
is if the MAC is stuck during reset or busy processing a long
transmission. This is fairly harmless, yet these messages continue to
worry users.

To reduce the number of bogus bug reports, turn these messages into
debug messages and count their occurence in the "reset" debugfs file.

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

Backport of r46158

git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@46159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-07-02 11:45:39 +00:00