]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath10k: use Rx decap mode configured when driver registered
authorPeter Oh <poh@qca.qualcomm.com>
Mon, 5 Oct 2015 14:56:39 +0000 (17:56 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Tue, 6 Oct 2015 11:44:19 +0000 (14:44 +0300)
commitbc27e8cddda69daa324318ffe3d2e1badad07775
treed03d2b90ba812aa96357d807f9f401bce62e0202
parent295426669cd68efc84657e6ee426499cfb54346e
ath10k: use Rx decap mode configured when driver registered

ath10k is using Native WiFi mode as default mode for both of
Tx and Rx path, but it could be changed when driver registers
with a module parameter for specific purpose such as mesh.

The Rx decap mode sent to firmware during WMI initialization should
use the same mode that driver configured at its registration stage
in case of using raw mode, so that host driver receives MAC frame
header containing necessary fields such as QoS and Mesh Control
and uses them in right way to make data traffic work.

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