]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: advertise p2p dev support
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 12 Dec 2014 11:41:39 +0000 (12:41 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 16 Dec 2014 07:26:04 +0000 (09:26 +0200)
commit7b3c318d3ed82cd42288d672240a8397db5e1da6
tree0c6387cd8e66cfcc97a5db449155123868b38474
parent8df2a4415ac652bf089dfe417fb3dea761e315d5
ath10k: advertise p2p dev support

Firmware doesn't allow precise tx rate control so
P2P wasn't entirely spec compliant (it was using
CCK rates in some cases).

The only way to make sure firmware doesn't use CCK
rates is to have a vdev with P2P subtype used for
scanning and tx. This can be done via a special
dedicated P2P device interface support.

This also removes the ancient hack from ath10k in
favor of p2pdev.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/mac.c