diff options
author | Pontus Fuchs <pontus.fuchs@gmail.com> | 2014-02-12 23:04:41 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-02-14 00:20:17 +0400 |
commit | c951da4615ced074c15f57884db8d96821249ae2 (patch) | |
tree | d5a0d7be925465041e3120d0cc5b2459f0f7a459 /drivers/net/wireless/ath/wcn36xx/hal.h | |
parent | 08762322c3de33d933906c36e7b47bb6624dd35c (diff) | |
download | linux-c951da4615ced074c15f57884db8d96821249ae2.tar.xz |
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.h | 4 |
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 */ |