Hi,
Taking your point, it is true that this definition is used to extract u16 ID's, meaning that the 0xFFFF value you are mentioning should yield the same result. Yet, there is a condition in which this will not be true, this will be line 2279 on Can_Llce.c:
u32TxMbDescIdx = u32TxMbDescIdx & LLCE_CAN_CONFIG_FIFO_FIXED_MASK_U32;
If the mask is changed, this line could result differently. Still, the next line (2282) casts this result into a u16. This seems to be a more of a future-proof in case the "FrameIdx" variable changes to a u32 variable or could be that the "FrameIdx" was a u32 and changed to u16 in the process.
Still, I do not see any problem on leaving that definition as it is, at this point in time.
Regarding the FMR, I cannot find any situation in which it is used, so seems to be that "LLCE_CAN_CONFIG_FIFO_FIXED_MASK_U32" it is not related to the FMR register (at first glance).
Please, let us know if this information was helpful or not.