[PATCH 3/5] wcn36xx: handle new hal response format
Bob Copeland
me at bobcopeland.com
Mon Nov 9 07:43:52 PST 2015
On Mon, Nov 09, 2015 at 05:02:40AM -0500, Yin, Fengwei wrote:
>
> From: Andy Green <andy.green at linaro.org>
>
> wcn3620 has a new message structure for the reply to some hal
> commands. This patch adds the struct and helper routine that
> uses it if the chip is wcn3620, or falls back to the old
> helper routine.
> + if (wcn->chip_version != WCN36XX_CHIP_3620 ||
> + len < sizeof(struct wcn36xx_hal_msg_header) + sizeof(*rsp))
> + return wcn36xx_smd_rsp_status_check(buf, len);
> +
Ok, disregard my question on the other patch, for some reason I
read them out of order. It looks like this should work ok with
non-3620 chips.
--
Bob Copeland %% http://bobcopeland.com/
More information about the wcn36xx
mailing list