[PATCH v2 1/4] ath10k: WMI: modify svc bitmap parsing for wcn3990

Kalle Valo kvalo at qca.qualcomm.com
Thu Dec 7 07:04:55 PST 2017


Rakesh Pillai <pillair at qti.qualcomm.com> writes:

> Due to the limitation of wmi tlv parsing logic, if there are
> two parameters in a wmi event with same tlv tag, we can get only
> the last value, as it overwrites the prev value of the same tlv tag.
>
> The service ready event in wcn3990 contains two parameters of the
> same tag UINT32, due to which the svc bitmap is overwritten with the
> DBS support parameter.
>
> Refactor the service ready event parsing to allow parsing two tlv
> of the same tag UINT32 for wcn3990.
>
> Signed-off-by: Rakesh Pillai <pillair at qti.qualcomm.com>
> Signed-off-by: Govind Singh <govinds at qti.qualcomm.com>

ath10k-check found a warning in this patch:

drivers/net/wireless/ath/ath10k/wmi-tlv.c:981: braces {} are not necessary for single statement blocks

-- 
Kalle Valo


More information about the ath10k mailing list