Mon, 30 Oct 2017 06:28:15 +0200 було написано Farhan Khan <>:

Hi Andriy,

Just to be clear, this would mean that in my sc_post_init, I should not utilize callout_reset, which utilizes r92c_handle_c2h_report, correct?

Yeah, rs_c2h_* fields are not used on RTL8188E*

This appears to be how rtl

If so, how do I know when a C2H event arrives? (I am not too familiar with C2H or how it works yet).

Just check if IMR_TXCCK_88E / IMR_C2HCMD_88E bits are set in
interrupt status (R88E_HIMR register, see r92ce_classify_intr()
as an example).

As always, thank you very much.

On 10/29/2017 07:46 PM, Andriy Voskoboinyk wrote:
Sun, 29 Oct 2017 08:34:21 +0200 було написано Farhan Khan <>:
 You should not use polling for RTL8188EE - it was mainly used for
RTL8192C* (since there is no documented way to get events from it)
and can be enabled on RTL881(1,2)A (but just is not needed here).
 Look into rtwn/rtl8188e/r88e_rx.c - I think you can call
r88e_ratectl_tx_complete() and/or r88e_handle_c2h_report() indirectly
from rtwn_pci_intr() when C2H event arrives.

Hi all,

I am trying to extend the rtwn driver to add RTL8188EE support. I am still getting this error whenever I enable the WiFi card:

rtwn0: r92c_handle_c2h_task: C2H report 0 (len 0) was not handled

From my reading of the code, it appears that the driver is trying to read a status-value from the card, but it fails to return a valid result. Is there something that I need to do to initialize this? If so, what exactly? This appears to be a firmware-specific routine and I have enabled the firmware.

I have been on this for an extended period of time and am stuck :(

Thank you!

-- Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
_______________________________________________ mailing list
To unsubscribe, send any mail to ""
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to