OpenCloudOS-Kernel/drivers/net/wireless/rtl818x/rtl8180
Andrea Merello 79ee65659e rtl818x_pci: fix response rate may be incorrect.
Currently the allowed "respose rate" set (rates for HW generated frames
like ACKs) is the same as the basic rate set.

The HW will use the higher allowed response rate that is lower than the
rate of the received frame.

This is more or less what IEEE80211 mandates, but I missed the fact
that IEEE80211 also says that whenever it happens that for a modulation
class there is no any rate in the basic rates set, then the response rate
set shall include also all the mandatory rates for that modulation class.

This patch adds mandatory OFDM rates to the allowed response rate set if
no OFDM rate is included in the basic rate set.

Depending by the AP, I faced cases in which this patch seems to cause a
noticeable perfomance improvement.

- With my usual test AP there is no particular perfomance difference.
- With a prism54/hostapd AP this patch causes RX thoughput increase from
  about 5Mbps to about 20Mbps.

Hopefully this patch may help people that faced performance regression wrt
the old staging driver.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2014-10-07 14:48:37 -04:00
..
Makefile rtl8180: change module name in rtl818x_pci 2014-04-22 15:06:27 -04:00
dev.c rtl818x_pci: fix response rate may be incorrect. 2014-10-07 14:48:37 -04:00
grf5101.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
grf5101.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
max2820.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
max2820.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00
rtl8180.h rtl818x_pci: handle broken PIO mapping 2014-07-01 14:26:27 -04:00
rtl8225.c rtl8180: introduce functions for setting ANAPARAM 2 and 3 params 2014-03-27 14:20:08 -04:00
rtl8225.h
rtl8225se.c rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
rtl8225se.h rtl8180: add RF code for rtl8225 zebra v4 2014-03-27 14:20:08 -04:00
sa2400.c wireless: delete non-required instances of include <linux/init.h> 2014-01-03 15:37:01 -05:00
sa2400.h Update e-mail address for Andrea Merello (resubmit) 2013-08-26 14:10:40 -04:00