openwrt/package/kernel/mac80211/patches/subsys
Robert Marko bc4ba54a09 mac80211: backport merged version of A-MSDU mesh patch
Kernel 6.1 now has fortify_memcpy_chk() and it is causing the following
warning while trying to compile backports:
  CC [M]  /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.o
In file included from ./include/linux/string.h:253,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/string.h:3,
                 from ./include/linux/bitmap.h:11,
                 from ./include/linux/cpumask.h:12,
                 from ./include/linux/smp.h:13,
                 from ./arch/arm64/include/asm/arch_timer.h:18,
                 from ./arch/arm64/include/asm/timex.h:8,
                 from ./include/linux/timex.h:67,
                 from ./include/linux/time32.h:13,
                 from ./include/linux/time.h:60,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/time.h:3,
                 from ./include/linux/skbuff.h:15,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/skbuff.h:3,
                 from ./include/linux/if_ether.h:19,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/if_ether.h:3,
                 from ./include/linux/etherdevice.h:20,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/backport-include/linux/etherdevice.h:3,
                 from /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.c:12:
In function 'fortify_memcpy_chk',
    inlined from 'ieee80211_strip_8023_mesh_hdr' at /home/robimarko/Building/AX3600/ipq807x-5.15/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/backports-6.1.24/net/wireless/util.c:590:3:
./include/linux/fortify-string.h:404:25: error: call to '__write_overflow_field' declared with attribute warning: detected write beyond size of field (1st parameter); maybe use struct_group()? [-Werror=attribute-warning]
  404 |                         __write_overflow_field(p_size_field, size);
      |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

This issue was fixed in the final version of
("wifi: mac80211: fix receiving A-MSDU frames on mesh interfaces") that was
merged upstream but we have a older version that is using:
memcpy(&payload.eth.h_dest, mesh_addr, 2 * ETH_ALEN);
instead of:
memcpy(&payload.eth, mesh_addr, 2 * ETH_ALEN);

So, lets just backport the merged version of patch to fix the issue.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-05-23 13:37:28 +02:00
..
110-mac80211_keep_keys_on_stop_ap.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
120-cfg80211_allow_perm_addr_change.patch mac80211: subsys: complete patch files for use with git am 2022-11-27 13:18:29 +01:00
210-ap_scan.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
301-mac80211-sta-randomize-BA-session-dialog-token-alloc.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
302-mac80211-minstrel_ht-fix-MINSTREL_FRAC-macro.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
303-mac80211-minstrel_ht-reduce-fluctuations-in-rate-pro.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
304-mac80211-minstrel_ht-rework-rate-downgrade-code-and-.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
305-mac80211-increase-quantum-for-airtime-scheduler.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
306-01-v6.2-wifi-mac80211-add-internal-handler-for-wake_tx_queue.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
306-02-v6.2-wifi-mac80211-add-wake_tx_queue-callback-to-drivers.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
306-03-v6.2-wifi-mac80211-Drop-support-for-TX-push-path.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
306-04-v6.2-wifi-realtek-remove-duplicated-wake_tx_queue.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
310-v6.2-mac80211-add-support-for-restricting-netdev-features.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
311-v6.2-wifi-mac80211-fix-and-simplify-unencrypted-drop-chec.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
312-v6.3-wifi-cfg80211-move-A-MSDU-check-in-ieee80211_data_to.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
313-v6.3-wifi-cfg80211-factor-out-bridge-tunnel-RFC1042-heade.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
314-v6.3-wifi-mac80211-remove-mesh-forwarding-congestion-chec.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
315-v6.3-wifi-mac80211-fix-receiving-A-MSDU-frames-on-mesh-in.patch mac80211: backport merged version of A-MSDU mesh patch 2023-05-23 13:37:28 +02:00
316-v6.3-wifi-mac80211-add-a-workaround-for-receiving-non-sta.patch mac80211: mark patches accepted upstream 2023-03-19 18:10:36 +01:00
318-wifi-mac80211-fix-race-in-mesh-sequence-number-assig.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
319-wifi-mac80211-mesh-fast-xmit-support.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
320-wifi-mac80211-use-mesh-header-cache-to-speed-up-mesh.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
321-mac80211-fix-mesh-forwarding.patch mac80211: rework mesh fast xmit implementation 2023-02-26 23:45:07 +01:00
322-wifi-mac80211-fix-mesh-path-discovery-based-on-unica.patch mac80211: fix mesh path discovery based on unicast packets 2023-02-26 23:45:07 +01:00
323-v6.3-wifi-mac80211-Add-VHT-MU-MIMO-related-flags-in-ieee8.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
324-v6.3-wifi-mac80211-Add-HE-MU-MIMO-related-flags-in-ieee80.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
325-wifi-mac80211-introduce-ieee80211_refresh_tx_agg_ses.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
326-wifi-mac80211-add-mesh-fast-rx-support.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
327-wifi-mac80211-add-support-for-letting-drivers-regist.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
329-wifi-mac80211-fix-receiving-mesh-packets-in-forwardi.patch mac80211: fix receiving mesh packets in forwarding=0 networks 2023-03-26 17:19:39 +02:00
330-wifi-ieee80211-correctly-mark-FTM-frames-non-buffera.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
331-wifi-mac80211-flush-queues-on-STA-removal.patch mac80211, mt76: add fixes for recently discovered security issues 2023-03-30 11:40:11 +02:00
332-wifi-iwlwifi-mvm-support-flush-on-AP-interfaces.patch mac80211, mt76: add fixes for recently discovered security issues 2023-03-30 11:40:11 +02:00
333-wifi-mac80211-add-flush_sta-method.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
334-wifi-iwlwifi-mvm-support-new-flush_sta-method.patch mac80211, mt76: add fixes for recently discovered security issues 2023-03-30 11:40:11 +02:00
335-wifi-mac80211-add-LDPC-related-flags-in-ieee80211_bs.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
400-allow-ibss-mixed.patch mac80211: update to linux 6.1-rc8 2022-12-10 15:15:19 +01:00
500-mac80211_configure_antenna_gain.patch mac80211: update to v6.1.24 2023-04-18 10:43:06 +02:00
782-net-next-1-of-net-pass-the-dst-buffer-to-of_get_mac_address.patch mac80211: Update to version 5.13.19-1 2021-10-24 00:08:03 +02:00