rtlwifi: rtl8192ee: Fix handling of new style descriptors
authorTroy Tan <troy_tan@realsil.com.cn>
Tue, 3 Feb 2015 17:15:17 +0000 (11:15 -0600)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 6 Feb 2015 06:36:00 +0000 (08:36 +0200)
commitd0311314d00298f83aa5450a1d4a92889e7cc2ea
treed35d17b893589fc42b2ff8f54af8465155bb32e2
parent7201472ed376882927ecc0d917acec6cc1610c80
rtlwifi: rtl8192ee: Fix handling of new style descriptors

The hardware and firmware for the RTL8192EE utilize a FIFO list of
descriptors. There were some problems with the initial implementation.
The worst of these failed to detect that the FIFO was becoming full,
which led to the device needing to be power cycled. As this condition
is not relevant to most of the devices supported by rtlwifi, a callback
routine was added to detect this situation. This patch implements the
necessary changes in the pci handler, and the linkage into the appropriate
rtl8192ee routine.

Signed-off-by: Troy Tan <troy_tan@realsil.com.cn>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> [V3.18]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rtlwifi/pci.c
drivers/net/wireless/rtlwifi/rtl8192ee/sw.c
drivers/net/wireless/rtlwifi/rtl8192ee/trx.c
drivers/net/wireless/rtlwifi/rtl8192ee/trx.h
drivers/net/wireless/rtlwifi/wifi.h