Kernel data types u8, u16, u32, u64 not resolved [closed]

Solution 1:

Strange – if it were user space, you'd need to use it with prefix __ (e.g. __u32), but mac80211 is kernel related project.

Note: It does not matter whether you include <linux/types.h> or <asm/types.h> as the first includes the second. IMHO you should not include <asm-generic/types.h> (which is included by <asm/types.h>) due to portability.

See more info in LDD.