HomeFreeBSD

rtw88: deal with debug messages

Description

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

(cherry picked from commit e140d551b78670fbf99c83a59438cb13de50420f)

Details

Provenance
bzAuthored on Apr 27 2022, 3:20 PM
Parents
rGb7d358ded239: rtw88: add man pages and hook up to build
Branches
Unknown
Tags
Unknown