summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wcn36xx/hal.h
diff options
context:
space:
mode:
authorPontus Fuchs <pontus.fuchs@gmail.com>2014-02-12 19:04:41 +0000
committerJohn W. Linville <linville@tuxdriver.com>2014-02-13 15:20:17 -0500
commitc951da4615ced074c15f57884db8d96821249ae2 (patch)
treed5a0d7be925465041e3120d0cc5b2459f0f7a459 /drivers/net/wireless/ath/wcn36xx/hal.h
parent08762322c3de33d933906c36e7b47bb6624dd35c (diff)
wcn36xx: Improve feature caps exchange
* Response format is not in the canonical format. wcn36xx_smd_rsp_status_check cannot be used. * Save the FW caps in wcn36xx struct for later use. Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/wcn36xx/hal.h')
-rw-r--r--drivers/net/wireless/ath/wcn36xx/hal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h
index 3c2ef0c32f72..a1f1127d7808 100644
--- a/drivers/net/wireless/ath/wcn36xx/hal.h
+++ b/drivers/net/wireless/ath/wcn36xx/hal.h
@@ -4384,11 +4384,13 @@ enum place_holder_in_cap_bitmap {
MAX_FEATURE_SUPPORTED = 128,
};
+#define WCN36XX_HAL_CAPS_SIZE 4
+
struct wcn36xx_hal_feat_caps_msg {
struct wcn36xx_hal_msg_header header;
- u32 feat_caps[4];
+ u32 feat_caps[WCN36XX_HAL_CAPS_SIZE];
} __packed;
/* status codes to help debug rekey failures */