rt2800: use RTS/CTS protection instead of CTS-to-self
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 18 Nov 2016 09:43:59 +0000 (10:43 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 23 Nov 2016 15:38:51 +0000 (17:38 +0200)
commit6c40063d5a61cd245e0828088024fc1eb02a2083
tree3c92acae5564513ecd103a1ff9df27a109d337ea
parent231aeca1e19e507af37d800de8d39fa6a72fbd92
rt2800: use RTS/CTS protection instead of CTS-to-self

Change default to RTS/CTS protection. This has a cost of transmitting
one more control frame (RTS) however protect us from traffic from
hidden node.

On station mode will use CTS-to-self if AP will configure that
for the network.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2800lib.c