]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0474087f080054fdd79fb9d0471a1bbe1cc7c394
tree259f5f593e154ebef816d4b02dbb2ac0663b5d0a
parenta2328558d037761ab6dc31a5f0afa7ba05b04b17
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