OSDN Git Service

ath10k: apply Mesh subtype when Mesh interface created.
authorPeter Oh <poh@qca.qualcomm.com>
Tue, 24 Nov 2015 17:37:35 +0000 (09:37 -0800)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 30 Nov 2015 14:54:51 +0000 (16:54 +0200)
commitbb58b89c5ea1006c93270fd2e667ab72312bf7ab
tree61c36499a13ba88cb0eef343842a14b6873bb360
parent42e08fea970576f4c0c6524fff150736801d8f2e
ath10k: apply Mesh subtype when Mesh interface created.

QCA988X firmware starting from 10.2.4.70.12-2 has capability to support
Mesh Control Field Present bit in QoS field in native Wi-Fi mode.
Hence apply Mesh subtype according to the WMI service map.

Firmware will allows unicast, broadcast, multicast, and WDS frame
(FromDS = 1 and ToDS = 1) to be received via the interface, once Mesh
subtype is used.

The firmware and this patch together make native Wi-Fi mode comply to
IEEE802.11s Mesh frame in open mode, but the firmware doesn't yet
support secured Mesh mode.

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