]> git.baikalelectronics.ru Git - kernel.git/commit
rtl8180: make CTS-to-self protection work
authorAndrea Merello <andrea.merello@gmail.com>
Wed, 7 May 2014 15:53:17 +0000 (17:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 7 May 2014 20:08:09 +0000 (16:08 -0400)
commit86de87e3a94d877fbbae4f069dbc9465c13162ee
treeaa032ed2a43d42dcf163985ce8d4b6ae8efd50c2
parent03b6f55f8ed04af9647d0126260c51b3c58ebfcb
rtl8180: make CTS-to-self protection work

CTS protection was not working properly because the HW still need
RTS flag to be asserted, and it need also RTS rate field to be
set with CTS-to-self rate and RTS duration field to be filled with
CTS-to-self duration.

This patch makes the driver to do this.

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl8180/dev.c