ath10k: Calculate correct peer PHY mode for VHT
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Sun, 8 Sep 2013 15:19:55 +0000 (18:19 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 12 Sep 2013 16:12:52 +0000 (19:12 +0300)
commit7cc45e98e539ad98d8af57e4126aaac3e6b8f341
tree624a4441ce77f505e854a0a4c83ad3fae18dbef9
parent38a1d47ed5cf4b55f494be44940a1fda3281feab
ath10k: Calculate correct peer PHY mode for VHT

The peer PHY mode for 11ac operation needs to be determined
properly based on the channel bandwidth being used. Fix
this so that the proper mode is given to the firmware.

kvalo: earlier we used 11na-ht20 in STA mode for 11ac AP peer, this
patch changes that to 11ac-vht80. I didn't notice any change in
throughput in my tests, but nevertheless it's the right thing
to do.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c