Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Sep 2017 12:56:37 -0400
From:      Farhan Khan <khanzf@gmail.com>
To:        freebsd-wireless@freebsd.org
Subject:   rtwn0: timeout waiting for firmware readiness
Message-ID:  <CAFd4kYBCbs=04Q9ayJ10KSWPS31F55V9sTjMDN9YwcnxcYjQBA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I am trying to add support for RTL8188EE for rtwn(4). I am trying to load
the firmware, but getting this error:

rtwn0: timeout waiting for firmware readiness

This error occurs at
https://github.com/khanzf/freebsd/blob/firmware/sys/dev/rtwn/if_rtwn_fw.c#L285.
Up to that point there do not appear to be any errors. I am trying to
mirror the code from Linux's code here:
https://github.com/lwfinger/rtlwifi_new/blob/master/rtl8188ee/fw.c#L170. I
do not know what is causing this issue.

Any ideas?

Note: The #if 0 condition in 176 to 216 is the driver's default, the
else-condition is what I ported over from Linux. I have been switching back
and forth, but it does not change the issue.

(Pardon my dev-code, its quite messy)

--
Farhan Khan
PGP Fingerprint: 782F 342B 5B08 0D2F F4E8 82C3 FFA1 CAE1 6536 51CA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFd4kYBCbs=04Q9ayJ10KSWPS31F55V9sTjMDN9YwcnxcYjQBA>