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)
commit75d2bd488301dbe81c2eb402bfcde5f988f72044
tree0c6387cd8e66cfcc97a5db449155123868b38474
parentbf14e65cb750be9837c8b0f61471145a03ba4a36
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