ath6kl: convert ar6004 hardware flags to firmware feature flags
authorKalle Valo <kvalo@qca.qualcomm.com>
Tue, 17 Jun 2014 09:40:52 +0000 (12:40 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 14 Jul 2014 13:02:52 +0000 (16:02 +0300)
commiteba95bceb4c9f537c6c8a5aeba4277e76599e269
tree6790beb8a7b52b6ea54b28abc10a55e33b259911
parent1c3d95edf026c6fb446f53913c61ff1036c469cd
ath6kl: convert ar6004 hardware flags to firmware feature flags

The functionality defined through these flags were actually firmware features
which can change between firmware versions. To make it possible to support
different firmware versions with the same driver, convert the flags to firmware
feature flags.

For backwards compatibility support for old ar6004 firmware FW
API 3 or smaller images we forcefully set the feature bits in the driver.
Starting from FW API 5 the firmware image needs to set them.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.c
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/init.c
drivers/net/wireless/ath/ath6kl/usb.c
drivers/net/wireless/ath/ath6kl/wmi.c