Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2017 01:46:45 +0200
From:      "Andriy Voskoboinyk" <s3erios@gmail.com>
To:        "Farhan Khan" <khanzf@gmail.com>
Cc:        freebsd-wireless@freebsd.org
Subject:   Re: C2H on rtwn not handled
Message-ID:  <op.y8v9n7tbiew4ia@localhost>
In-Reply-To: <96dc159c-1d56-5bea-7100-75dd117d828d@gmail.com>
References:  <96dc159c-1d56-5bea-7100-75dd117d828d@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sun, 29 Oct 2017 08:34:21 +0200 =D0=B1=D1=83=D0=BB=D0=BE =D0=BD=D0=B0=D0=
=BF=D0=B8=D1=81=D0=B0=D0=BD=D0=BE 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 s=
o,  =

> what exactly? This appears to be a firmware-specific routine and I hav=
e  =

> 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?op.y8v9n7tbiew4ia>