armbian/patch/misc
lukaszsobala 9566b1e0cb sophgo-sg200x-aic8800: keep the 7.3 RoC cookie in the RoC element
From 7.3 on cfg80211 assigns the remain_on_channel cookie, and the
driver has to report it back in cfg80211_ready_on_channel() and
cfg80211_remain_on_channel_expired(). The 7.3 patch stored it in
rwnx_hw only after rwnx_cfg80211_remain_on_channel_() returned, but
that helper publishes rwnx_hw->roc_elem before rwnx_send_roc(), so the
channel switch event can arrive first and report a stale cookie.

Keep the cookie in the RoC element instead, filled in before the
element is published, and read it through RWNX_ROC_COOKIE() in both
events. That also drops rwnx_hw->roc_cookie and the scratch cookie in
the 7.3 remain_on_channel op.

The mgmt_tx cookie needs no change here: rwnx_start_mgmt_xmit() is the
only path that marks frames TXU_CNTRL_MGMT, and it always sets
mgmt_cookie before rwnx_txdatacfm() can see the frame.

Built against 7.3-rc3 and 7.2.6 as an external module; the warning set
is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 08:34:01 +02:00
..
aic8800 sophgo-sg200x-aic8800: keep the 7.3 RoC cookie in the RoC element 2026-09-29 08:34:01 +02:00
bluetooth-rtl8723cs rtl8723cs: stop including proprietary driver for kernel 6.19 onwards 2026-01-07 09:50:08 +01:00
rtw88 patch/misc: rtw88: rename and fix patch from 6.12.y 2026-04-14 22:31:38 +02:00
wireless-rtl8723cs rtl8723cs: stop including proprietary driver for kernel 6.19 onwards 2026-01-07 09:50:08 +01:00
add-armbian-neofetch.patch Merge neofetch to armbian-config (#2499) 2021-04-18 22:49:30 +02:00
Bluetooth-hci_h5-Add-power-reset-via-gpio-in-h5_btrt.patch Add gpio power reset for hci_h5 controllers in h5_btrtl_open (#3208) 2021-10-19 21:02:24 +02:00
bluetooth-rtl8822cs-hci_ver-0x8.patch Add support for rtl8822cs (hci_ver 0x8) bluetooth (#3201) 2021-10-18 20:36:28 +02:00
wireless-bring-back-headers.patch Move header revert patch under misc patches (#4128) 2022-08-29 08:44:21 +02:00
wireless-injection-6.12.patch Add Wi-Fi injection patch for Linux 6.12 kernels. 2025-10-11 14:04:48 +02:00
wireless-mt7921u-add-pids.patch Add two popular MT7921U devices to the driver pid so they work OOB 2023-08-20 19:19:44 +02:00
wireless-realtek-8188eu-5.12.patch Upgrade EDGE to 5.12.y (#2825) 2021-05-22 17:08:44 +02:00
wireless-rtl88x2bu-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
wireless-rtl88x2bu-Fix-6.16.patch uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
wireless-rtl88x2bu-set-monitor-channel-6.12.101.patch drivers: fix cfg80211 set_monitor_channel build on 6.12.101 2026-08-04 18:55:58 +02:00
wireless-rtl88x2cs-Fix-VFS-import.patch wireless patches: fix build for kernel 6.13 2024-12-30 08:24:45 +08:00
wireless-rtl8188eu-Fix-misleading-indentation.patch Fix wireless modules indentation warnings 2023-02-03 21:37:07 +00:00
wireless-rtl8188eu-Fix-p2p-go-advertising.patch rtlwifi: Fix p2p-go advertising (#4717) 2023-01-20 18:43:53 +01:00
wireless-rtl8188eu-Fix-uninitialized-cfg80211-chan-def.patch Fix uninitialized cfg80211_chan_def for rtlwifi (#4714) 2023-01-22 08:40:27 +01:00
wireless-rtl8188eu-Fix-VFS-import.patch Split wireless VFS patches (#4775) 2023-02-03 10:03:11 +01:00
wireless-rtl8188eu.patch Fixing out of the tree wireless driver compilation (#2635) 2021-02-15 13:19:40 +01:00
wireless-rtl8189es-set-monitor-channel-6.12.101.patch drivers: fix cfg80211 set_monitor_channel build on 6.12.101 2026-08-04 18:55:58 +02:00
wireless-rtl8189fs-set-monitor-channel-6.12.101.patch drivers: fix cfg80211 set_monitor_channel build on 6.12.101 2026-08-04 18:55:58 +02:00
wireless-rtl8192eu-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
wireless-rtl8723du-5.19.2.patch Remove deprecated patch (#4114) 2022-08-26 17:27:29 +02:00
wireless-rtl8723du-6.3.patch kernel: drivers: wireless-rtl8723du-6.3.patch: don't patch the same thing twice 2023-05-24 19:21:42 +02:00
wireless-rtl8723du-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
wireless-rtl8723du-Fix-p2p-go-advertising.patch rtlwifi: Fix p2p-go advertising (#4717) 2023-01-20 18:43:53 +01:00
wireless-rtl8723du-Fix-uninitialized-cfg80211-chan-def.patch Fix uninitialized cfg80211_chan_def for rtlwifi (#4714) 2023-01-22 08:40:27 +01:00
wireless-rtl8723du-Fix-VFS-import.patch Split wireless VFS patches (#4775) 2023-02-03 10:03:11 +01:00
wireless-rtl8811cu-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
wireless-rtl8811cu-Fix-6.16.patch uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
wireless-rtl8811cu-set-monitor-channel-6.12.101.patch drivers: fix cfg80211 set_monitor_channel build on 6.12.101 2026-08-04 18:55:58 +02:00
wireless-rtl8812au-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
wireless-rtl8812au-Fix-6.16.patch uefi-arm64: bump to 6.16 2025-08-03 09:37:30 +08:00
wireless-rtl8812au-set-monitor-channel-6.12.101.patch drivers: fix cfg80211 set_monitor_channel build on 6.12.101 2026-08-04 18:55:58 +02:00
wireless-rtl8822bs-Fix-misleading-indentation.patch Fix wireless modules indentation warnings 2023-02-03 21:37:07 +00:00
wireless-rtl8822bs-Fix-p2p-go-advertising.patch rtlwifi: Fix p2p-go advertising (#4717) 2023-01-20 18:43:53 +01:00
wireless-rtl8822bs-Fix-uninitialized-cfg80211-chan-def.patch Fix uninitialized cfg80211_chan_def for rtlwifi (#4714) 2023-01-22 08:40:27 +01:00
wireless-rtl8822bs-Fix-VFS-import.patch Split wireless VFS patches (#4775) 2023-02-03 10:03:11 +01:00
wireless-rtl8822eu-Fix-6.6.157.patch wireless: fix Realtek USB drivers against 6.6.157 2026-09-14 21:19:57 +02:00
xradio-Switching-from-del_timer_sync-to-timer_delete_sync.patch sunxi: xradio: Switching from del_timer_sync to timer_delete_sync 2025-06-08 18:04:25 +02:00