diff options
author | Christopher Ferris <cferris@google.com> | 2021-02-19 19:47:44 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-19 19:47:44 +0000 |
commit | d29cac66b426d59afd7ce7da9519b6d43f5df0cc (patch) | |
tree | 64fdb7e0316c8d85bb02e4d0dcef0a5f6cd6e6f5 /libc/kernel/uapi/linux/rfkill.h | |
parent | b69a0d496930b1faf2559ce268064bc1a005215e (diff) | |
parent | 05667cd66a3ea0e75611f1bec36a67098ac92179 (diff) |
Merge "Update to v5.11 kernel headers."
Diffstat (limited to 'libc/kernel/uapi/linux/rfkill.h')
-rw-r--r-- | libc/kernel/uapi/linux/rfkill.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libc/kernel/uapi/linux/rfkill.h b/libc/kernel/uapi/linux/rfkill.h index 504f780f5..4e7293839 100644 --- a/libc/kernel/uapi/linux/rfkill.h +++ b/libc/kernel/uapi/linux/rfkill.h @@ -40,11 +40,17 @@ enum rfkill_operation { RFKILL_OP_CHANGE, RFKILL_OP_CHANGE_ALL, }; +enum rfkill_hard_block_reasons { + RFKILL_HARD_BLOCK_SIGNAL = 1 << 0, + RFKILL_HARD_BLOCK_NOT_OWNER = 1 << 1, +}; struct rfkill_event { __u32 idx; __u8 type; __u8 op; - __u8 soft, hard; + __u8 soft; + __u8 hard; + __u8 hard_block_reasons; } __attribute__((packed)); #define RFKILL_EVENT_SIZE_V1 8 #define RFKILL_IOC_MAGIC 'R' |