]> git.baikalelectronics.ru Git - kernel.git/commit
rtw88: configure firmware after HCI started
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 23 Sep 2019 02:47:03 +0000 (10:47 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Sep 2019 07:55:40 +0000 (10:55 +0300)
commit935bab7f08bd3385a3ed7a0397528435b6e67f63
tree036090a824f81c66338681539ab716e9a53161ac
parent701282aabdf36032e9709f5c52bc4a1dd75c7705
rtw88: configure firmware after HCI started

After firmware has been downloaded, driver should send
some information to it through H2C commands. Those H2C
commands are transmitted through TX path.

But before HCI has been started, the TX path is not
working completely. Such as PCI interfaces, the interrupts
are not enabled, hence TX interrupts will not be issued
after H2C skb has been DMAed to the device. And the H2C
skbs will not be released until the device is powered off.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/mac.c
drivers/net/wireless/realtek/rtw88/main.c