aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorBitterblue Smith <rtl8821cerfe2@gmail.com>2024-12-19 00:34:42 +0200
committerPing-Ke Shih <pkshih@realtek.com>2024-12-23 16:05:49 +0800
commit13221be72034d1c34630ab124c43438aefe7e656 (patch)
tree0dfdd00ba21d1669f3cde1b4635ae394dabf2b2c /tools/perf/scripts/python/bin
parentwifi: rtw88: usb: Copy instead of cloning the RX skb (diff)
downloadlinux-13221be72034d1c34630ab124c43438aefe7e656.tar.gz
linux-13221be72034d1c34630ab124c43438aefe7e656.zip
wifi: rtw88: Handle C2H_ADAPTIVITY in rtw_fw_c2h_cmd_handle()
The firmware message C2H_ADAPTIVITY is currently handled in rtw_fw_c2h_cmd_rx_irqsafe(), which runs in the RX workqueue, but it's not "irqsafe" with USB because it sleeps (reads hardware registers). This becomes a problem after the next patch, which will create the RX workqueue with the flag WQ_BH. To avoid sleeping when it's not allowed, handle C2H_ADAPTIVITY in rtw_fw_c2h_cmd_handle(), which runs in the c2h workqueue. Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/96e52b03-be8d-4050-ae71-bfdb478ff42f@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions