ath10k: add support for firmware newer than 636
authorMichal Kazior <michal.kazior@tieto.com>
Fri, 9 Aug 2013 08:13:33 +0000 (10:13 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 15 Aug 2013 13:04:41 +0000 (16:04 +0300)
commit0d9b0438b616479e4decadf2cb7d39a5f4e5360f
treef5be3bb28986d5ad255440b686dfeac8d96b5635
parent68c8a9b22eeec0b57ba261eec5b642ec1cc5fa16
ath10k: add support for firmware newer than 636

The mgmt_rx event structure has been expanded.
Since the structure header is expanded the payload
(i.e. mgmt frame) is shifted by a few bytes. This
needs to be taken into account in order to support
both old and new firmware.

This introduces a fw_features to keep track of any
FW-related ABI/behaviour changes.

Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath10k/wmi.h