linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* rtlwifi/rtl8188ee: _rtl_pci_rx_interrupt equivalent dropping frames
@ 2018-08-19  2:22 Farhan Khan
  0 siblings, 0 replies; only message in thread
From: Farhan Khan @ 2018-08-19  2:22 UTC (permalink / raw)
  To: linux-wireless

Hi all,

I am working on porting the rtlwifi/rtl8188ee to expand FreeBSD's 
equivalent rtwn driver. In the equivalent code, the function 
_rtl_pci_rx_interrupt from drivers/net/wireless/realtek/rtlwifi/pci.c 
runs into the if-condition:

if (own) /* wait data to be filled by hardware */
	return;

The equivalent of this on FreeBSD is returning true, thus resulting in 
excessively dropped frames. Based on the surrounding code on the Linux 
side, this suggests that data has not been filled by Realtek device, 
despite the device triggering an interrupt.

What would cause the device to issue an interrupt, but continuously 
return true on this if-statement? Is this indicative of anything?
Are there any register values during initialization that may suggest 
this happening?

Its quite difficult to work on this without documentation, so your help 
is *greatly* appreciated.

Thank you,

--
Farhan Khan
PGP Fingerprint: B28D 2726 E2BC A97E 3854 5ABE 9A9F 00BC D525 16EE

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-19  5:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-19  2:22 rtlwifi/rtl8188ee: _rtl_pci_rx_interrupt equivalent dropping frames Farhan Khan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).