aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-07-30 17:54:36 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2022-07-30 17:54:36 +0200
commit2873307a70ce5dbfdf641d3cdd206e757b5c6903 (patch)
treea3b02b8a653c2e95190d61e35a2f6fa073e162c3
parent183c4ab2e3301de5b67b13a6fce8bd8662d0ba8c (diff)
downloadbackports-2873307a70ce5dbfdf641d3cdd206e757b5c6903.tar.gz
patches: Refresh on top of kernel 5.15.58
The file crypto/memneq.c was moved to lib/memneq.c in the upstream kernel. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--copy-list2
-rw-r--r--copy-list.hwsim2
-rw-r--r--patches/0077-genl-ro-after-init/hwsim.patch2
-rw-r--r--patches/0077-genl-ro-after-init/nl80211.patch2
-rw-r--r--patches/0097-skb-list/mac80211-rx.patch12
-rw-r--r--patches/0097-skb-list/mt76.patch12
-rw-r--r--patches/0099-netlink-range/mac80211.patch4
-rw-r--r--patches/0100-revert-small_ops/mac80211.patch4
-rw-r--r--patches/0100-revert-small_ops/mac80211_hwsim.patch4
-rw-r--r--patches/0101-net_device-threaded/mt76.patch2
10 files changed, 23 insertions, 23 deletions
diff --git a/copy-list b/copy-list
index 480a9fb3..d4ea48e1 100644
--- a/copy-list
+++ b/copy-list
@@ -26,7 +26,7 @@ include/linux/overflow.h
include/linux/units.h
# crypto_memneq
-crypto/memneq.c -> compat/memneq.c
+lib/memneq.c -> compat/memneq.c
# 802.11
drivers/net/wireless/Kconfig
diff --git a/copy-list.hwsim b/copy-list.hwsim
index f27df14c..2ea91c87 100644
--- a/copy-list.hwsim
+++ b/copy-list.hwsim
@@ -25,7 +25,7 @@ include/linux/average.h
include/linux/overflow.h
# crypto_memneq
-crypto/memneq.c -> compat/memneq.c
+lib/memneq.c -> compat/memneq.c
# 802.11
drivers/net/wireless/Kconfig
diff --git a/patches/0077-genl-ro-after-init/hwsim.patch b/patches/0077-genl-ro-after-init/hwsim.patch
index 61608978..5fea97e4 100644
--- a/patches/0077-genl-ro-after-init/hwsim.patch
+++ b/patches/0077-genl-ro-after-init/hwsim.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -4116,7 +4116,7 @@ static const struct genl_small_ops hwsim
+@@ -4119,7 +4119,7 @@ static const struct genl_small_ops hwsim
},
};
diff --git a/patches/0077-genl-ro-after-init/nl80211.patch b/patches/0077-genl-ro-after-init/nl80211.patch
index f1887d91..2891f23e 100644
--- a/patches/0077-genl-ro-after-init/nl80211.patch
+++ b/patches/0077-genl-ro-after-init/nl80211.patch
@@ -1,6 +1,6 @@
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
-@@ -15925,7 +15925,7 @@ static const struct genl_small_ops nl802
+@@ -15940,7 +15940,7 @@ static const struct genl_small_ops nl802
},
};
diff --git a/patches/0097-skb-list/mac80211-rx.patch b/patches/0097-skb-list/mac80211-rx.patch
index 65189dd9..e7a4517e 100644
--- a/patches/0097-skb-list/mac80211-rx.patch
+++ b/patches/0097-skb-list/mac80211-rx.patch
@@ -37,7 +37,7 @@ the older kernel instead. The list attributes where also backported to
struct ieee80211_sub_if_data *sdata;
--- a/net/mac80211/rx.c
+++ b/net/mac80211/rx.c
-@@ -2611,7 +2611,11 @@ static void ieee80211_deliver_skb_to_loc
+@@ -2610,7 +2610,11 @@ static void ieee80211_deliver_skb_to_loc
/* deliver to local stack */
if (rx->list)
@@ -49,7 +49,7 @@ the older kernel instead. The list attributes where also backported to
else
netif_receive_skb(skb);
}
-@@ -4698,7 +4702,11 @@ static bool ieee80211_prepare_and_rx_han
+@@ -4697,7 +4701,11 @@ static bool ieee80211_prepare_and_rx_han
static void __ieee80211_rx_handle_8023(struct ieee80211_hw *hw,
struct ieee80211_sta *pubsta,
struct sk_buff *skb,
@@ -61,7 +61,7 @@ the older kernel instead. The list attributes where also backported to
{
struct ieee80211_local *local = hw_to_local(hw);
struct ieee80211_fast_rx *fast_rx;
-@@ -4739,7 +4747,11 @@ drop:
+@@ -4738,7 +4746,11 @@ drop:
static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
struct ieee80211_sta *pubsta,
struct sk_buff *skb,
@@ -73,7 +73,7 @@ the older kernel instead. The list attributes where also backported to
{
struct ieee80211_local *local = hw_to_local(hw);
struct ieee80211_sub_if_data *sdata;
-@@ -4864,7 +4876,11 @@ static void __ieee80211_rx_handle_packet
+@@ -4863,7 +4875,11 @@ static void __ieee80211_rx_handle_packet
* 802.11 MPDU is received from the hardware.
*/
void ieee80211_rx_list(struct ieee80211_hw *hw, struct ieee80211_sta *pubsta,
@@ -85,7 +85,7 @@ the older kernel instead. The list attributes where also backported to
{
struct ieee80211_local *local = hw_to_local(hw);
struct ieee80211_rate *rate = NULL;
-@@ -4988,7 +5004,13 @@ void ieee80211_rx_napi(struct ieee80211_
+@@ -4987,7 +5003,13 @@ void ieee80211_rx_napi(struct ieee80211_
struct sk_buff *skb, struct napi_struct *napi)
{
struct sk_buff *tmp;
@@ -99,7 +99,7 @@ the older kernel instead. The list attributes where also backported to
/*
-@@ -5005,8 +5027,13 @@ void ieee80211_rx_napi(struct ieee80211_
+@@ -5004,8 +5026,13 @@ void ieee80211_rx_napi(struct ieee80211_
return;
}
diff --git a/patches/0097-skb-list/mt76.patch b/patches/0097-skb-list/mt76.patch
index 1131ea4d..c2c0bb58 100644
--- a/patches/0097-skb-list/mt76.patch
+++ b/patches/0097-skb-list/mt76.patch
@@ -44,7 +44,7 @@
{
--- a/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7915/mac.c
-@@ -1111,7 +1111,11 @@ mt7915_txp_skb_unmap(struct mt76_dev *de
+@@ -1114,7 +1114,11 @@ mt7915_txp_skb_unmap(struct mt76_dev *de
static void
mt7915_txwi_free(struct mt7915_dev *dev, struct mt76_txwi_cache *t,
@@ -56,7 +56,7 @@
{
struct mt76_dev *mdev = &dev->mt76;
struct mt76_wcid *wcid;
-@@ -1148,10 +1152,16 @@ mt7915_mac_tx_free(struct mt7915_dev *de
+@@ -1151,10 +1155,16 @@ mt7915_mac_tx_free(struct mt7915_dev *de
struct mt76_phy *mphy_ext = mdev->phy2;
struct mt76_txwi_cache *txwi;
struct ieee80211_sta *sta = NULL;
@@ -74,7 +74,7 @@
/* clean DMA queues and unmap buffers first */
mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[MT_TXQ_PSD], false);
-@@ -1218,8 +1228,13 @@ mt7915_mac_tx_free(struct mt7915_dev *de
+@@ -1221,8 +1231,13 @@ mt7915_mac_tx_free(struct mt7915_dev *de
napi_consume_skb(skb, 1);
@@ -90,7 +90,7 @@
}
--- a/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
+++ b/drivers/net/wireless/mediatek/mt76/mt7921/mac.c
-@@ -986,7 +986,11 @@ mt7921_tx_check_aggr(struct ieee80211_st
+@@ -988,7 +988,11 @@ mt7921_tx_check_aggr(struct ieee80211_st
static void
mt7921_tx_complete_status(struct mt76_dev *mdev, struct sk_buff *skb,
struct ieee80211_sta *sta, u8 stat,
@@ -102,7 +102,7 @@
{
struct ieee80211_tx_info *info = IEEE80211_SKB_CB(skb);
struct ieee80211_tx_status status = {
-@@ -1056,10 +1060,16 @@ void mt7921_mac_tx_free(struct mt7921_de
+@@ -1058,10 +1062,16 @@ void mt7921_mac_tx_free(struct mt7921_de
struct mt76_dev *mdev = &dev->mt76;
struct mt76_txwi_cache *txwi;
struct ieee80211_sta *sta = NULL;
@@ -120,7 +120,7 @@
/* clean DMA queues and unmap buffers first */
mt76_queue_tx_cleanup(dev, dev->mphy.q_tx[MT_TXQ_PSD], false);
-@@ -1137,8 +1147,13 @@ void mt7921_mac_tx_free(struct mt7921_de
+@@ -1139,8 +1149,13 @@ void mt7921_mac_tx_free(struct mt7921_de
napi_consume_skb(skb, 1);
diff --git a/patches/0099-netlink-range/mac80211.patch b/patches/0099-netlink-range/mac80211.patch
index 15b541df..7b4b172c 100644
--- a/patches/0099-netlink-range/mac80211.patch
+++ b/patches/0099-netlink-range/mac80211.patch
@@ -16,7 +16,7 @@
};
static const struct nla_policy
-@@ -655,16 +660,26 @@ static const struct nla_policy nl80211_p
+@@ -656,16 +661,26 @@ static const struct nla_policy nl80211_p
* The value of the Length field of the Supported Operating
* Classes element is between 2 and 253.
*/
@@ -43,7 +43,7 @@
[NL80211_ATTR_MAC_HINT] = NLA_POLICY_EXACT_LEN_WARN(ETH_ALEN),
[NL80211_ATTR_WIPHY_FREQ_HINT] = { .type = NLA_U32 },
[NL80211_ATTR_TDLS_PEER_CAPABILITY] = { .type = NLA_U32 },
-@@ -719,10 +734,15 @@ static const struct nla_policy nl80211_p
+@@ -720,10 +735,15 @@ static const struct nla_policy nl80211_p
[NL80211_ATTR_TXQ_LIMIT] = { .type = NLA_U32 },
[NL80211_ATTR_TXQ_MEMORY_LIMIT] = { .type = NLA_U32 },
[NL80211_ATTR_TXQ_QUANTUM] = { .type = NLA_U32 },
diff --git a/patches/0100-revert-small_ops/mac80211.patch b/patches/0100-revert-small_ops/mac80211.patch
index d69cbff6..9a64171c 100644
--- a/patches/0100-revert-small_ops/mac80211.patch
+++ b/patches/0100-revert-small_ops/mac80211.patch
@@ -1,6 +1,6 @@
--- a/net/wireless/nl80211.c
+++ b/net/wireless/nl80211.c
-@@ -15164,9 +15164,11 @@ static const struct genl_ops nl80211_ops
+@@ -15180,9 +15180,11 @@ static const struct genl_ops nl80211_ops
/* can be retrieved by unprivileged users */
.internal_flags = NL80211_FLAG_NEED_WIPHY,
},
@@ -12,7 +12,7 @@
{
.cmd = NL80211_CMD_SET_WIPHY,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
-@@ -15957,8 +15959,10 @@ static struct genl_family nl80211_fam __
+@@ -15972,8 +15974,10 @@ static struct genl_family nl80211_fam __
.module = THIS_MODULE,
.ops = nl80211_ops,
.n_ops = ARRAY_SIZE(nl80211_ops),
diff --git a/patches/0100-revert-small_ops/mac80211_hwsim.patch b/patches/0100-revert-small_ops/mac80211_hwsim.patch
index bfbb17b9..0884dd7c 100644
--- a/patches/0100-revert-small_ops/mac80211_hwsim.patch
+++ b/patches/0100-revert-small_ops/mac80211_hwsim.patch
@@ -1,6 +1,6 @@
--- a/drivers/net/wireless/mac80211_hwsim.c
+++ b/drivers/net/wireless/mac80211_hwsim.c
-@@ -4079,7 +4079,11 @@ done:
+@@ -4082,7 +4082,11 @@ done:
}
/* Generic Netlink operations array */
@@ -12,7 +12,7 @@
{
.cmd = HWSIM_CMD_REGISTER,
.validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
-@@ -4123,8 +4127,13 @@ static struct genl_family hwsim_genl_fam
+@@ -4126,8 +4130,13 @@ static struct genl_family hwsim_genl_fam
.policy = hwsim_genl_policy,
.netnsok = true,
.module = THIS_MODULE,
diff --git a/patches/0101-net_device-threaded/mt76.patch b/patches/0101-net_device-threaded/mt76.patch
index 615d78f0..e6b93839 100644
--- a/patches/0101-net_device-threaded/mt76.patch
+++ b/patches/0101-net_device-threaded/mt76.patch
@@ -29,7 +29,7 @@
debugfs_create_blob("otp", 0400, dir, &dev->otp);
--- a/drivers/net/wireless/mediatek/mt76/dma.c
+++ b/drivers/net/wireless/mediatek/mt76/dma.c
-@@ -644,7 +644,9 @@ mt76_dma_init(struct mt76_dev *dev,
+@@ -645,7 +645,9 @@ mt76_dma_init(struct mt76_dev *dev,
init_dummy_netdev(&dev->tx_napi_dev);
snprintf(dev->napi_dev.name, sizeof(dev->napi_dev.name), "%s",
wiphy_name(dev->hw->wiphy));