Date: Mon, 30 Oct 2017 00:28:15 -0400 From: Farhan Khan <khanzf@gmail.com> To: Andriy Voskoboinyk <s3erios@gmail.com> Cc: freebsd-wireless@freebsd.org Subject: Re: C2H on rtwn not handled Message-ID: <9485c341-52db-5cab-b9da-25f3ecc16c13@gmail.com> In-Reply-To: <op.y8v9n7tbiew4ia@localhost> References: <96dc159c-1d56-5bea-7100-75dd117d828d@gmail.com> <op.y8v9n7tbiew4ia@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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? 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). 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 > <khanzf@gmail.com>: > > Hi, > > 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 >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to >> "freebsd-wireless-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9485c341-52db-5cab-b9da-25f3ecc16c13>