summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/wifi.h
diff options
context:
space:
mode:
authorTroy Tan <troy_tan@realsil.com.cn>2015-02-03 11:15:17 -0600
committerKalle Valo <kvalo@codeaurora.org>2015-02-06 08:36:00 +0200
commitd0311314d00298f83aa5450a1d4a92889e7cc2ea (patch)
treed35d17b893589fc42b2ff8f54af8465155bb32e2 /drivers/net/wireless/rtlwifi/wifi.h
parent7201472ed376882927ecc0d917acec6cc1610c80 (diff)
downloadlinux-stable-d0311314d00298f83aa5450a1d4a92889e7cc2ea.tar.gz
linux-stable-d0311314d00298f83aa5450a1d4a92889e7cc2ea.tar.bz2
linux-stable-d0311314d00298f83aa5450a1d4a92889e7cc2ea.zip
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>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/wifi.h')
-rw-r--r--drivers/net/wireless/rtlwifi/wifi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtlwifi/wifi.h b/drivers/net/wireless/rtlwifi/wifi.h
index b53d9dd7a595..51572912c53d 100644
--- a/drivers/net/wireless/rtlwifi/wifi.h
+++ b/drivers/net/wireless/rtlwifi/wifi.h
@@ -2182,6 +2182,7 @@ struct rtl_hal_ops {
void (*add_wowlan_pattern)(struct ieee80211_hw *hw,
struct rtl_wow_pattern *rtl_pattern,
u8 index);
+ u16 (*get_available_desc)(struct ieee80211_hw *hw, u8 q_idx);
};
struct rtl_intf_ops {