Search Linux Wireless

RE: [PATCH v2 2/3] wifi: rtw88: Handle C2H_ADAPTIVITY in rtw_fw_c2h_cmd_handle()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bitterblue Smith <rtl8821cerfe2@xxxxxxxxx> wrote:
> 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@xxxxxxxxx>

Acked-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>






[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux