summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorPing-Ke Shih <pkshih@realtek.com>2025-09-15 14:52:04 +0800
committerPing-Ke Shih <pkshih@realtek.com>2025-09-18 09:11:39 +0800
commit19989c80734cc8c60e1529dba8641d2bfe162662 (patch)
tree4e9b59009c93e94d7f4b63dbd9e5b1df18f98a31 /rust/helpers/workqueue.c
parentdf3d55a63f9a9372f6530fedfc495b2164181c5d (diff)
wifi: rtw89: use ieee80211_tx_info::driver_data to store driver TX info
It makes more sense to use ieee80211_tx_info::driver_data instead of ieee80211_tx_info::status.status_driver_data which is used to share TX status reporting to mac80211, because actually driver calls ieee80211_tx_info_clear_status() to clear the content including status_driver_data in rtw89_pci_tx_status() before filling the status. Review and point out the scope (by comments) driver can safely use ieee80211_tx_info::driver_data between rtw89_hci_tx_write() and calling ieee80211_tx_info_clear_status(). Add BUILD_BUG_ON() to assert that driver struct size is smaller than the size defined by mac80211. Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20250915065213.38659-3-pkshih@realtek.com
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions