Question on CE_DESC_FLAGS_META_DATA field.

Michal Kazior michal.kazior at tieto.com
Sun Jan 11 23:42:58 PST 2015


On 9 January 2015 at 19:06, Ben Greear <greearb at candelatech.com> wrote:
> While poking in the CE code, I notice this below.
>
> Shouldn't the CE_DESC_FLAGS_META_DATA_LSB be 2, and if not,
> can someone explain why?
>
> [greearb at ben-dt2 ath10k]$ grep CE_DESC_FLAGS_META_DATA *h
> ce.h:#define CE_DESC_FLAGS_META_DATA_MASK 0xFFFC
> ce.h:#define CE_DESC_FLAGS_META_DATA_LSB  3

Nice catch!

This shouldn't have been harmful though. Meta data part is used to
store htc endpoint ids which shouldn't overflow the mask even with
lsb=3 and as far as I know neither CE nor firmware cares what is
stored there.


Michał



More information about the ath10k mailing list