Tianling Shen
c8fba8dce8
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-05 16:26:31 +08:00
Hauke Mehrtens
17ac9849d3
mac80211: Update to version 5.10.34-1
...
The removed patches were applied upstream and are not needed anymore.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-05-04 22:25:43 +02:00
Tianling Shen
a49a1a1833
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-05-03 17:26:32 +08:00
Rui Salvaterra
eeda8652f1
mac80211/rtl: backport a rtl8192cu AP mode fix
...
Running USB devices in AP mode is never a good idea. That said, fix the TIM
issue in rtl8192cu [1], allowing these devices to "work" in AP mode.
[1] https://patchwork.kernel.org/project/linux-wireless/patch/20210419065956.6085-1-pkshih@realtek.com/
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-05-01 00:37:15 +02:00
Tianling Shen
deb5451562
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-29 13:57:36 +08:00
Felix Fietkau
12cb52bd06
mac80211: minstrel_ht: fix issue in calculating success probability
...
Missing braces in a macro were leading to badly working rates sometimes
getting a success probabilty of 1.0
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-04-28 21:08:29 +02:00
Tianling Shen
c7995a3b3b
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-04-12 02:22:49 +08:00
Felix Fietkau
dfdb28c24a
mac80211: add client mode connection monitor fix
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-04-11 19:44:07 +02:00
Felix Fietkau
7d8e14e44f
mac80211: support rx timestamps for HE rates
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-04-11 19:44:07 +02:00
Tianling Shen
98c9712825
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-31 00:22:32 +08:00
Felix Fietkau
571aedbc6c
mac80211: merge a few pending tx related fixes
...
Improve performance and fix potential mgmt tx hangs/warnings
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-28 12:16:24 +02:00
Tianling Shen
18e21aff8f
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-22 16:35:07 +08:00
Rui Salvaterra
b1d0f66388
mac80211: rtl: update RTL8821AE PHY/RF parameters
...
Create a new directory for Realtek patches and backport the updated PHY and RF
parameters patch. Improves the connectivity in the 5 GHz band [1].
[1] https://patchwork.kernel.org/project/linux-wireless/patch/20210219052607.7323-1-pkshih@realtek.com/#23988567
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2021-03-19 01:25:26 +01:00
Tianling Shen
fad8da597e
Merge Official Source
...
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2021-03-16 23:59:03 +08:00
Felix Fietkau
5dc5015072
mac80211: backport upstream patches for driver disconnect
...
Needed for an mt76 update
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-03-15 14:05:43 +01:00
AmadeusGhost
2fabe3d8ac
Merge Official Source
2021-03-01 12:05:16 +08:00
Daniel Golle
ebcb4f1d0a
treewide: fix spelling 'seperate' -> 'separate'
...
This popular spelling mistake was also introduced by myself lately.
Fix it everywhere.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-02-28 23:59:21 +00:00
AmadeusGhost
b3c118d5c4
Merge Official Source
2021-02-16 12:05:16 +08:00
Hauke Mehrtens
1132340a22
mac80211: Update to version 5.10.16-1
...
The removed patches were applied upstream.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-02-15 22:29:42 +01:00
Hauke Mehrtens
0cde9a0a65
mac80211: Refresh patches again
...
A wrong quilt configuration was used last time.
Fixes: ed1e234d87 ("mac80211: refresh patches")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-02-15 22:29:42 +01:00
AmadeusGhost
0b234c70ec
Merge Official Source
2021-02-15 12:05:10 +08:00
Felix Fietkau
f118be0712
ath9k: fix transmitting to stations in dynamic SMPS mode
...
When transmitting to a receiver in dynamic SMPS mode, all transmissions that
use multiple spatial streams need to be sent using CTS-to-self or RTS/CTS to
give the receiver's extra chains some time to wake up.
This fixes the tx rate getting stuck at <= MCS7 for some clients, especially
Intel ones, which make aggressive use of SMPS.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:55:45 +01:00
Felix Fietkau
9cb63f5360
mac80211: fix a regression in processing rx stats
...
A logic error caused rx rate update to be missed for any driver not using
fast-rx
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Felix Fietkau
ed1e234d87
mac80211: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Felix Fietkau
072bfe2113
mac80211: add minstrel performance improvements
...
Reduce fluctuations in rate selection / statistics
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Felix Fietkau
b6066846ad
mac80211: add decapsulation offload support
...
On hardware that supports this, this will improve performance by passing
802.3 frames from the hardware to the stack
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Felix Fietkau
8fc2cfea87
mac80211: fix a corner case in encapsulation offload support
...
Fix encryption key selection with WEP
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Felix Fietkau
268210cec8
mac80211: add fq performace improvements
...
Improves performance under load
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-14 19:41:07 +01:00
Hauke Mehrtens
12424edff5
mac80211: Update to version 5.10-rc6-1
...
The removed patches were applied upstream.
This adapts ath10k-ct and mt76 to changed APIs.
nl80211.h in iw is updated to match the version from backports.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-02-14 15:15:29 +01:00
Hauke Mehrtens
bf6f7cf29b
mac80211: Update to version 5.9.12-1
...
The removed patches were applied upstream.
Remove the 300-mac80211-optimize-skb-resizing.patch.
This patch was not applied upstream, but it conflicts with upstream
changes and needs bigger changes. It was applied with Felix to remove
this patch for now. It should be reworked and then send upstream later.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2021-02-14 15:13:40 +01:00
CN_SZTL
c7a5137a82
Merge Official Source
...
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-06 23:30:24 +08:00
Paul Spooren
8286f3a3d3
treewide: unify OpenWrt hosted source via @OPENWRT
...
Multiple sources are hosted on OpenWrts source server only. The source
URLs to point to the server vary based on different epochs in OpenWrts
history.
Replace all by @OPENWRT which is an "empty" mirror, therefore using the
fallback servers sources.cdn.openwrt.org and sources.openwrt.org.
Signed-off-by: Paul Spooren <mail@aparcar.org>
2021-02-05 12:00:24 -10:00
CN_SZTL
45f1463e86
Merge Official Source
...
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-02-02 23:41:15 +08:00
Felix Fietkau
84fa59b5a8
mac80211: fix station rate table updates on assoc
...
If the driver uses .sta_add, station entries are only uploaded after the sta
is in assoc state. Fix early station rate table updates by deferring them
until the sta has been uploaded
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-02-01 10:00:23 +01:00
David Bauer
8019c54d8a
mac80211: fix incorrect parameter
...
he_mu_beamformer only accepts values of 0 and 1 according to the hostapd
documentation.
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-01 00:48:37 +01:00
David Bauer
0c499f6068
mac80211: convert UniFi Outdoor+ HSR support to OF
...
Enable support for the Ubiquiti UniFi Outdoor+ RF filter via
device-tree. The old way of using platform data is not required anymore,
as it was only used on the now removed ar71xx target.
Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-01 00:47:36 +01:00
AmadeusGhost
4c352b55ac
Merge Official Source
2021-01-27 12:30:43 +08:00
Felix Fietkau
7ca75a2d01
mac80211: fix an uninitialized variable warning
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-26 20:00:03 +01:00
Felix Fietkau
56c20f0a5a
mac80211: minstrel_ht: fix regression in the max_prob_rate fix
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-26 16:46:45 +01:00
Felix Fietkau
1fdbb8779a
mac80211: remove accidentally duplicated line in minstrel_ht patch
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-26 16:46:45 +01:00
Felix Fietkau
37752336bd
mac80211: add significant minstrel_ht performance improvements
...
Completely redesign the rate sampling approach
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-25 12:19:22 +01:00
CN_SZTL
b65bd6d007
Merge Official Source
2021-01-16 17:29:29 +08:00
Felix Fietkau
b0ad07e9a0
mac80211: fix rounding error in minstrel_ht throughput calculation
...
Fixes rate selection with lower data rates
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-15 13:05:40 +01:00
Felix Fietkau
faeaf5a010
mac80211: fix an uninitialized stack variable in the minstrel update
...
It can lead to out-of-bounds access and invalid rates
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2021-01-14 20:12:29 +01:00
Daniel Golle
d9d6988434
mac80211: improve error handling when adding hostapd config
...
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-14 00:52:50 +00:00
CN_SZTL
a5d575bef9
Merge Official Source
...
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
2021-01-11 21:00:20 +08:00
Daniel Golle
cbd67dbdcd
mac80211: use hostapd PID returned from config_add
...
Use PID returned from config_add instead of querying procd when adding
configuration to hostapd.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-10 19:18:29 +00:00
CN_SZTL
140c8fdaa1
Merge Official Sourve
2021-01-05 13:18:37 +08:00
Robert Marko
6442b8cbc2
mac80211: Add wil6210 driver
...
This patch adds wil6210 driver for Wilocity/QCA based 802.11ad
PCI cards.
Driver uses cfg80211 and nl80211 but not mac80211.
Integration for UCI and LuCI will come in other patches.
Signed-off-by: Robert Marko <robimarko@gmail.com>
2021-01-05 02:16:24 +00:00
Gary Cooper
d140d18990
mac80211: add 802.11ad-support
...
This adds logic to properly populate defaults in /etc/config/wireless.
Signed-off-by: Gary Cooper <gaco@bitmessage.de>
2021-01-05 02:16:24 +00:00