ath10k: add new 4addr related fw_feature
authorMichal Kazior <michal.kazior@tieto.com>
Tue, 19 May 2015 12:09:34 +0000 (14:09 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 22 May 2015 10:45:47 +0000 (13:45 +0300)
commit48f4ca34f36bb947d8a7cd4ff8c8e282f14d51e6
tree9f171bf8dac8fe31600189194653582b3afa04ce
parent77258d409ce45890104e3da11d0261402c49aee1
ath10k: add new 4addr related fw_feature

Some firmware revisions pad 4th hw address in
Native Wifi Rx decap. This is the case with 10.x
and it was assumed that this is true for all
firmware images.

However QCA988X with 999.999.0.636 and QCA61X4
with WLAN.RM.2.0-00088 don't have the padding.
Hence add a feature flag indicating that the
padding isn't present so firmware images can
advertise it appropriately. This way driver will
behave as it was before with old firmware blobs
and doesn't cause any regressions from user
perspective.

Effectively this patch enables QCA988X with
999.999.0.636 and QCA61X4 with WLAN.RM.2.0-00088
to set up client bridging provided user has an
updated firmware blob.

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/htt_rx.c