Commit Graph

225 Commits

Author SHA1 Message Date
Kyosuke Nekoyashiki
85fc52c36e mac80211: fixes ath10k sdio support 2023-03-25 23:09:00 +08:00
AmadeusGhost
7f1a60f322 rtw88: add rtl8821ce support
This won't work due to firmware limitations.
2023-03-06 23:20:10 +08:00
coolsnowwolf
a2c61871bc iwlwifi: fix build with kernel 6.1 2023-02-26 16:47:48 +08:00
fishg
91bc6bfd32
mt76x2: fix for 6.1 (#10863) 2023-02-05 13:05:48 +08:00
1054009064
e8705bc49c
mac80211: ath11k: fix build error (#10766)
Builld-test: ipq807x/mf269
Fixes: bd7fde7 ("mac80211: ath11k: fix monitor bringup")
2023-01-14 20:55:24 +08:00
coolsnowwolf
bd7fde7bb7 mac80211: ath11k: fix monitor bringup 2023-01-14 16:38:56 +08:00
coolsnowwolf
a45ed09431 mac80211: backport some new API from v6.1 2022-12-20 22:38:35 +08:00
coolsnowwolf
6710357cce mac80211: revert to linux 5.15 2022-12-20 14:57:32 +08:00
coolsnowwolf
9c97511b89 mac80211: add ath11k PCI support 2022-12-20 11:43:45 +08:00
AmadeusGhost
d5298b0769 ath10k: add missing 256qam patch 2022-12-18 21:50:14 +08:00
Felix Fietkau
0aac47f815 ath9k: add missing dependency on random core
Reported-by: Hartmut Birr <e9hack@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-12-18 21:32:24 +08:00
Felix Fietkau
bdb6a31ce2 mac80211: update to linux 6.1-rc8
This should help stay in sync with upstream development

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-12-18 21:30:21 +08:00
Felix Fietkau
e8b525f43c mac80211: remove old legacy legacy drivers
Get rid of drivers that are either limited to 802.11b/g or don't even support
cfg80211/mac80211. Most of these are either limited to boards that we don't even
support anymore because of firmware size, or were only used for custom hacks by
a really small number of users in the past.
Let's get rid of those to reduce the maintenance effort and the number of useless
packages

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-12-18 20:25:07 +08:00
AmadeusGhost
09c81d9274 rtw88: move usb part out of backport tree
Create a useless driver to avoid affecting the
backport tree.
2022-12-16 12:09:00 +08:00
coolsnowwolf
ede1c194f6 mac80211: backport ath11k in linux kernel 6.1 2022-12-14 05:04:31 +08:00
coolsnowwolf
4212f116b4 mac80211: backports linux 6.1 support 2022-12-14 01:52:15 +08:00
AmadeusGhost
524dfad990 mac80211/ath10k: add sdio chip support 2022-11-15 19:30:17 +08:00
AmadeusGhost
f14fbd6e0d mac80211: fixes build on kernel 6.0 2022-11-09 19:40:00 +08:00
1054009064
d05fbef769
mac80211: backport security fixes (#10324)
* mac80211: backport security fixes

This mainly affects scanning and beacon parsing, especially with MBSSID enabled

Fixes: CVE-2022-41674
Fixes: CVE-2022-42719
Fixes: CVE-2022-42720
Fixes: CVE-2022-42721
Fixes: CVE-2022-42722
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit 26f400210d6b3780fcc0deb89b9741837df9c8b8)

* mac80211: refresh patches

355-wifi-cfg80211-fix-BSS-refcounting-bugs.patch - 5a52384a51

Co-authored-by: Felix Fietkau <nbd@nbd.name>
Co-authored-by: 1054009064 <1054009064@users.noreply.github.com>
2022-10-28 15:17:13 +08:00
AmadeusGhost
3c294bd503 treewide: remove support of kernel 5.19 2022-10-25 10:55:54 +08:00
Andre Heider
bdd016c403 mac80211: fix masking nested A-MSDU support for mesh
CONFIG_MAC80211_MESH isn't defined for this package, rendering the patch
useless. Match protecting the access of sta_info.mesh with the very same
define declaring it.

Fixes 45109f69a6 "mac80211: fix compile error when mesh is disabled"
Signed-off-by: Andre Heider <a.heider@gmail.com>
2022-10-25 10:30:06 +08:00
coolsnowwolf
147061e637 ath11k: enable ethernet offload by default 2022-10-18 13:56:43 +08:00
Koen Vandeputte
60dc2c9b7c mac80211: fix compile error when mesh is disabled
This fixes following compile error seen when
building mac80211 with mesh disabled:

.../backports-5.15.58-1/net/mac80211/agg-rx.c: In function 'ieee80211_send_addba_resp':
...backports-5.15.58-1/net/mac80211/agg-rx.c:255:17: error: 'struct sta_info' has no member named 'mesh'
  255 |         if (!sta->mesh)
      |                 ^~

sta_info.h shows this item as being optional based on flags:

	struct mesh_sta *mesh;

Guard the check to fix this.

Fixes: f96744ba6b ("mac80211: mask nested A-MSDU support for mesh")
Signed-off-by: Koen Vandeputte <koen.vandeputte@citymesh.com>
2022-10-05 11:38:10 +08:00
David Bauer
758af54df2 mac80211: mask nested A-MSDU support for mesh
mac80211 incorrectly processes A-MSDUs contained in A-MPDU frames. This
results in dropped packets and severely impacted throughput.

As a workaround, don't indicate support for A-MSDUs contained in
A-MPDUs. This improves throughput over mesh links by factor 10.

Signed-off-by: David Bauer <mail@david-bauer.net>
2022-10-04 11:37:15 +08:00
Sungbo Eo
7901118997 mac80211: rt2x00: fix typo
Add missing semicolon and refresh patches.

Signed-off-by: Sungbo Eo <mans0n@gorani.run>
2022-09-18 21:30:20 +08:00
lean
163022ea32 ath11k: enable ipq60xx target dependency 2022-09-12 03:44:59 +08:00
lean
d496bf88a4 mac80211: fix ath10k 5.19 support 2022-08-25 02:55:42 +08:00
Sultan Alsawaf
944cb3db09 mac80211: parse the correct set of HE capabilities for AP mode
It is common for 802.11ax NICs to support more than just AP mode, which
results in there being a distinct set of HE capabilities for each mode. As
(bad) luck would have it, iw prints out info for each HE mode in sequential
order according to `enum nl80211_iftype`, and AP mode isn't always first.

As a result, the wrong set of HE capabilities can be parsed if an AP NIC
supports station (managed) mode or any other mode preceding AP mode, since
only the first set of HE capabilities printed by iw is parsed from awk's
output.

This has a noticeable impact on beamforming for example, since managed mode
usually doesn't have beamformer capabilities enabled, while AP mode does.
Hostapd won't be set up with the configs to enable beamformer capabilities
in this scenario, causing hostapd to disable beamforming to HE stations
even when it's supported by the AP.

Always parse the correct set of HE capabilities for AP mode to fix this.
This is achieved by trimming all of iw's output prior to the AP mode
capabilities, which ensures that the first set of HE capabilities are
always for AP mode.

Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
2022-08-23 22:54:48 +08:00
lean
8b581837f0 mac80211: add rtl8821cu chipset support in rtw88 2022-08-18 23:44:47 +08:00
benihi
41f59a6c2e
kernel: modules: cleanup 5.18 (#9946) 2022-08-16 10:54:57 +08:00
lean
9a166932f3 mac80211: add rt2x00 5.19 kernel support 2022-08-15 02:36:59 +08:00
coolsnowwolf
ae6810abe1 mac80211: fix brcm patch 5.15 support 2022-08-13 08:58:04 +00:00
coolsnowwolf
084bf632ae mac80211: fix 5.18/5.19 brcm patch 2022-08-12 13:24:13 +00:00
Hugo Yuan
83c2394ea1
mac80211: fix compile error (#9917) 2022-08-11 19:31:22 +08:00
huangjf
6e97cb9f95 mac80211: broadcom: set default y to sdio for rockchip soc 2022-08-11 06:33:03 +00:00
huangjf
941cf93ab5 mac80211: broadcom: add kmod-mac80211 supported 2022-08-11 06:32:25 +00:00
coolsnowwolf
af1f124ef6 mac80211: fix set wifi macaddr to zero 2022-08-11 01:01:23 +00:00
coolsnowwolf
f66ea169c0 mac80211: brcm: backport APIs to support kernel 5.18+ 2022-08-11 00:54:46 +00:00
lean
faf4476659 kernel: Make QMI Helpers user selectable in 5.18 2022-07-12 18:54:05 +08:00
lean
86ea102156 mac80211: add rtl8723bs for kernel 5.18 support for Ryan 2022-07-11 02:43:03 +08:00
lean
c6734e6cdb mac80211: backport APIs to support kernel 5.18 2022-07-09 19:19:54 +08:00
lean
63434c83c9 mac80211: improve ath10k encap/vht/thermal support 2022-07-08 14:45:00 +08:00
lean
66d19a4e36 mac80211: bump to 5.15.33-1 2022-07-08 12:44:37 +08:00
Felix Fietkau
e78e4dcf22 mac80211: add a bug fix for a rare crash
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2022-06-03 12:27:41 +08:00
JoseCoW
08a6577256
mac80211: add random BSS color setting (#9188)
Using BSS coloring is one way of improving performance on 802.11ax
radios, currently its only enabled by users adding he_bss_color to their
wireless UCI config.

This made sense as one could easily get BSS color collision as BSS color
range is 1-63.

Hostapd now has a way of dealing with BSS color collisions so we can just
assign a integer in the 1-63 range randomly if one is not set by users.

Signed-off-by: Robert Marko <robimarko@gmail.com>

Co-authored-by: Robert Marko <robimarko@gmail.com>
2022-04-05 00:58:22 +08:00
lean
8ee8d8cf46 mac80211: fix ath11k kernel 5.15 support 2022-04-03 01:03:27 +08:00
lean
3530c1b73f mac80211: fix ath11k support for IPQ target 2022-04-03 00:53:56 +08:00
AmadeusGhost
cc60132004 mac80211: update to 5.15.8-1
Fixes: #9065, #9083, #9091
2022-03-29 15:09:20 +08:00
lean
1c96c4ace0 mac80211: fix complie with kernel 5.15 2022-02-26 19:08:42 +08:00
lean
9604aa4723 mac80211: agg-tx: refactor sending addba 2022-02-16 13:50:00 +08:00