OSDN Git Service

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)
commit5d0d1e9489a3cf40c8712d8c1fdfd73afc7acc2b
treeaa032ed2a43d42dcf163985ce8d4b6ae8efd50c2
parente58342d9c8e2342688a804404c5636e32f1fa64e
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