aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/rfkill.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/rfkill.txt')
-rw-r--r--Documentation/rfkill.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt
index de941e309d47..1b74b5f30af4 100644
--- a/Documentation/rfkill.txt
+++ b/Documentation/rfkill.txt
@@ -113,7 +113,7 @@ The following sysfs entries exist for every rfkill device:
113 0: RFKILL_STATE_SOFT_BLOCKED 113 0: RFKILL_STATE_SOFT_BLOCKED
114 transmitter is turned off by software 114 transmitter is turned off by software
115 1: RFKILL_STATE_UNBLOCKED 115 1: RFKILL_STATE_UNBLOCKED
116 transmiter is (potentially) active 116 transmitter is (potentially) active
117 2: RFKILL_STATE_HARD_BLOCKED 117 2: RFKILL_STATE_HARD_BLOCKED
118 transmitter is forced off by something outside of 118 transmitter is forced off by something outside of
119 the driver's control. 119 the driver's control.
@@ -128,3 +128,9 @@ RFKILL_TYPE
128 128
129The contents of these variables corresponds to the "name", "state" and 129The contents of these variables corresponds to the "name", "state" and
130"type" sysfs files explained above. 130"type" sysfs files explained above.
131
132An alternative userspace interface exists as a misc device /dev/rfkill,
133which allows userspace to obtain and set the state of rfkill devices and
134sets of devices. It also notifies userspace about device addition and
135removal. The API is a simple read/write API that is defined in
136linux/rfkill.h.