]> git.karo-electronics.de Git - linux-beck.git/commit
ath10k: add abstraction layer for vdev subtype
authorPeter Oh <poh@qca.qualcomm.com>
Thu, 28 Jan 2016 21:54:10 +0000 (13:54 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 2 Feb 2016 12:07:47 +0000 (14:07 +0200)
commit6e4de1a49aa3254f46f66db5aac530707c193cde
tree9f4027e3c9147cb909e30bad7e2a7341bec529af
parent08c27be1db84dcdad14e86ec76d9c9915deb14eb
ath10k: add abstraction layer for vdev subtype

Abstraction layer for vdev subtype is added to solve
subtype mismatch and to give flexible compatibility
among different firmware revisions.

For instance, 10.2 and 10.4 firmware has different
definition of their vdev subtypes for Mesh.
10.4 defined subtype 6 for 802.11s Mesh while 10.2 uses 5.
Hence use the abstraction API to get right subtype to use.

Signed-off-by: Peter Oh <poh@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi-ops.h
drivers/net/wireless/ath/ath10k/wmi-tlv.c
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h