Bitfields is sometime used for cases where behaviors may be concurrently activated for a given feature.
This is a relative standard C model, in the same way HW registers behave.
In Rust, this requires external depedency (bitfield crate), that is not allowed for TCB components, including uapi.
If possible (to be checked), the usage of bitfield in userspace-kernelspace exchanged should be replaced by full enumeration.
This requires an analysis to ensure that such a modification do not make semantics complex and do not increase the memory usage.