OSDN Git Service

ath10k: adjust the RX packet pad offset at QCA99X0 4addr mode
authorYanbo Li <yanbol@qca.qualcomm.com>
Mon, 16 Nov 2015 20:22:02 +0000 (22:22 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 23 Nov 2015 15:12:18 +0000 (17:12 +0200)
commitb8d55fca9e8853d4065a50061ca2aade123e628d
tree66c1bfb6066a6c4721f49e789157859e9b58398a
parent9b1ba7b28e70a1f4066cfa3bebea24953f36feef
ath10k: adjust the RX packet pad offset at QCA99X0 4addr mode

The QCA99X0 4 addresses RX packets pad 2 bytes at the beginning of
MSDU instead the end of ieee80211 header to keep alignment. The currently RX
data path can't parse the header correctly in this case. This patch fixes it
for QCA99X0.

Signed-off-by: Yanbo Li <yanbol@qca.qualcomm.com>
[kvalo@qca.qualcomm.com: checkpatch fixes and naming changes]
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.c
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/htt_rx.c
drivers/net/wireless/ath/ath10k/hw.h