Ignoring R92C_C2H_EVT_DEBUG patch
Farhan Khan
khanzf at gmail.com
Thu Jun 7 04:41:01 UTC 2018
Quick patch to rtwn's signal handling.
Ignoring R92C_C2H_EVT_DEBUG interrupts rtl8188ee sends debugging
interrupts a few times a second, which contain no information.
Linux's rtl8723ae also ignores this signal.
Currently, rtl8188ee prints endless C2H unhandled reports to the
kernel messages, such as this:
rtwn0: r92c_handle_c2h_task: C2H report 0 (len 0) was not handled
rtwn0: r92c_handle_c2h_task: C2H report 0 (len 0) was not handled
rtwn0: r92c_handle_c2h_task: C2H report 0 (len 0) was not handled
.....
My associated git commit is located here:
https://gitlab.com/farhankhan/freebsd/commit/9f9ff4bd883a88788376876fb09bac017dbb13e2
==============================================================================
diff --git a/sys/dev/rtwn/rtl8192c/r92c_fw.c b/sys/dev/rtwn/rtl8192c/r92c_fw.c
index 0791990a0c00..14e517636c14 100644
--- a/sys/dev/rtwn/rtl8192c/r92c_fw.c
+++ b/sys/dev/rtwn/rtl8192c/r92c_fw.c
@@ -477,6 +477,8 @@ r92c_handle_c2h_task(struct rtwn_softc *sc, union
sec_param *data)
__func__, i, sizeof(buf)));
switch (id) {
+ case R92C_C2H_EVT_DEBUG:
+ break;
case R92C_C2H_EVT_TX_REPORT:
r92c_ratectl_tx_complete(sc, (uint8_t *)buf, len);
break;
==============================================================================
Thanks
--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE
More information about the freebsd-wireless
mailing list