diff options
author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2016-11-18 22:44:26 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-11-25 10:51:01 +0100 |
commit | a748a11038f86b1247e92fb131c663064397b706 (patch) | |
tree | 2f87f82396e395434a02c77f786f41cadccf6f42 /drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | |
parent | rtl8xxxu: Fix rtl8192eu driver reload issue (diff) | |
download | linux-a748a11038f86b1247e92fb131c663064397b706.tar.xz linux-a748a11038f86b1247e92fb131c663064397b706.zip |
rtl8xxxu: Obtain RTS rates from mac80211
Use the mac80211 provided rate for RTS rather than the hard coded
24Mbps as suggested by the vendor drivers.
Reported-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h')
-rw-r--r-- | drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h index 08d587a342d3..bc3c9900abc7 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h @@ -1340,7 +1340,7 @@ struct rtl8xxxu_fileops { void (*fill_txdesc) (struct ieee80211_hdr *hdr, struct rtl8xxxu_txdesc32 *tx_desc, u32 rate, u16 rate_flag, bool sgi, bool short_preamble, - bool ampdu_enable); + bool ampdu_enable, u32 rts_rate); int writeN_block_size; int rx_agg_buf_size; char tx_desc_size; @@ -1437,11 +1437,11 @@ bool rtl8xxxu_gen2_simularity_compare(struct rtl8xxxu_priv *priv, void rtl8xxxu_fill_txdesc_v1(struct ieee80211_hdr *hdr, struct rtl8xxxu_txdesc32 *tx_desc, u32 rate, u16 rate_flag, bool sgi, bool short_preamble, - bool ampdu_enable); + bool ampdu_enable, u32 rts_rate); void rtl8xxxu_fill_txdesc_v2(struct ieee80211_hdr *hdr, struct rtl8xxxu_txdesc32 *tx_desc32, u32 rate, u16 rate_flag, bool sgi, bool short_preamble, - bool ampdu_enable); + bool ampdu_enable, u32 rts_rate); extern struct rtl8xxxu_fileops rtl8192cu_fops; extern struct rtl8xxxu_fileops rtl8192eu_fops; |