rtl8180: support for BSS_CHANGED_BASIC_RATES
authorAndrea Merello <andrea.merello@gmail.com>
Sat, 15 Mar 2014 17:29:36 +0000 (18:29 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 17 Mar 2014 17:44:15 +0000 (13:44 -0400)
commit516a0930195e996512495fbdedf6cc298eb96c66
tree64c81013bb56d8d45a5e5150f762f9345a448a7c
parentbf888184f8857b03f53bba84acb12f29f1068ea9
rtl8180: support for BSS_CHANGED_BASIC_RATES

Basic rates setting is done with hardcoded register write with
fixed settings.

This patch introduces a new function that makes it possible to
configure basic rates and it add a check for mac80211
BSS_CHANGED_BASIC_RATES flag in order to eventually invoke that
function when needed.

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