ath10k: push peer type to target for TDLS peers
authorManikanta Pubbisetty <mpubbise@qti.qualcomm.com>
Fri, 28 Jul 2017 12:15:43 +0000 (15:15 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 3 Aug 2017 11:36:40 +0000 (14:36 +0300)
commitbe5b4f4002a6c1c37279c69e093567109be982f4
tree259f5f593e154ebef816d4b02dbb2ac0663b5d0a
parentadd6cd8d5ab7aea383f13ea5a7dd573257ef9c24
ath10k: push peer type to target for TDLS peers

WMI interface for all the firmwares(except QCA6174) does not include the
type of peer(default/bss/tdls) requested during peer creation, therefore
target creates a default peer.

TDLS implementation on 10.4 firmware requires host to configure the
peer type(tdls) for TDLS peers. This patch adds peer type parameter to the
existing WMI interface for peer creation to accommodate this requirement.

Tested this change on QCA9888(10.4-3.5.1-00018) and QCA988x(10.2.4.70.9-2)
with ping tests for AP/STA modes.

Signed-off-by: Manikanta Pubbisetty <mpubbise@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h