diff options
| author | 2025-09-15 14:52:04 +0800 | |
|---|---|---|
| committer | 2025-09-18 09:11:39 +0800 | |
| commit | 19989c80734cc8c60e1529dba8641d2bfe162662 (patch) | |
| tree | 4e9b59009c93e94d7f4b63dbd9e5b1df18f98a31 /include/uapi/linux/android/ssh:/git@git.zx2c4.com | |
| parent | wifi: rtw89: chan: allow callers to check if a link has no managed chanctx (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 'include/uapi/linux/android/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
