mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
ed2015c386
The following patches: * 972-ath10k_fix-crash-due-to-wrong-handling-of-peer_bw_rxnss_override-parameter.patch * 973-ath10k_fix-band_center_freq-handling-for-VHT160-in-recent-firmwares.patch are replaced by this commit in the upstream kernel: * 3db24065c2c8 ("ath10k: enable VHT160 and VHT80+80 modes") The following patches were applied upstream: * 001-rt2800-enable-MFP-support-unconditionally.patch * 090-wireless-Use-linux-stddef.h-instead-of-stddef.h.patch The rtw88 driver is now split into multiple kernel modules, just put it all into one OpenWrt kernel package. rtl8812au-ct was patched to compile against the mac80211 from kernel 5.8, but not runtime tested. Add a patch which fixes ath10k on IPQ40XX, this patch was send upstream and fixes a crash when loading ath10k on this SoC. Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq40xx/ map-ac2200] Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
30 lines
1020 B
Diff
30 lines
1020 B
Diff
ath10k-ct starting with version 5.2 allows the combination of
|
|
NL80211_IFTYPE_ADHOC and beacon_int_min_gcd in ath10k_10x_ct_if_comb
|
|
which triggers this warning. Ben told me that this is not a big problem
|
|
and we should ignore this.
|
|
|
|
--- a/net/wireless/core.c
|
|
+++ b/net/wireless/core.c
|
|
@@ -612,21 +612,6 @@ static int wiphy_verify_combinations(str
|
|
c->limits[j].max > 1))
|
|
return -EINVAL;
|
|
|
|
- /*
|
|
- * This isn't well-defined right now. If you have an
|
|
- * IBSS interface, then its beacon interval may change
|
|
- * by joining other networks, and nothing prevents it
|
|
- * from doing that.
|
|
- * So technically we probably shouldn't even allow AP
|
|
- * and IBSS in the same interface, but it seems that
|
|
- * some drivers support that, possibly only with fixed
|
|
- * beacon intervals for IBSS.
|
|
- */
|
|
- if (WARN_ON(types & BIT(NL80211_IFTYPE_ADHOC) &&
|
|
- c->beacon_int_min_gcd)) {
|
|
- return -EINVAL;
|
|
- }
|
|
-
|
|
cnt += c->limits[j].max;
|
|
/*
|
|
* Don't advertise an unsupported type
|