]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
rtw88: deal with debug messages
authorBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 27 Apr 2022 15:20:34 +0000 (15:20 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Wed, 27 Apr 2022 15:20:34 +0000 (15:20 +0000)
commite140d551b78670fbf99c83a59438cb13de50420f
treeeed9acde52a2756547b2656e1d268482e4fe692f
parent490a0f77de77321859eeeecc807f9cc7bb41dbcc
rtw88: deal with debug messages

The 'failed to write TX skb to HCI' error message is twice in the code.
Print the function name and along with the message and also the reported
error so it can possibly be helpful.

The 'failed to get tx report from firmware' was purposefully changed
away from debugging in the upstream Linux driver in
584dce175f0461d5d9d63952a1e7955678c91086 . Revert that decision and
extend the logging by the actual queue length so we get an idea how
sever the problem is (see PR for a report).

PR:  248235
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
X-MFC: only to get the reminder for later
sys/contrib/dev/rtw88/tx.c