Question on CE_DESC_FLAGS_META_DATA field.

Ben Greear greearb at candelatech.com
Fri Jan 9 10:06:10 PST 2015


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

and this from core.h:

#define MS(_v, _f) (((_v) & _f##_MASK) >> _f##_LSB)

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the ath10k mailing list