1 rfkill - radio frequency (RF) connector kill switch support
3 For details to this subsystem look at Documentation/driver-api/rfkill.rst.
5 For the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in
6 Documentation/ABI/removed/sysfs-class-rfkill.
8 What: /sys/class/rfkill
10 KernelVersion: v2.6.22
11 Contact: linux-wireless@vger.kernel.org,
12 Description: The rfkill class subsystem folder.
13 Each registered rfkill driver is represented by an rfkillX
14 subfolder (X being an integer >= 0).
17 What: /sys/class/rfkill/rfkill[0-9]+/name
20 Contact: linux-wireless@vger.kernel.org
21 Description: Name assigned by driver to this key (interface or driver name).
22 Values: arbitrary string.
25 What: /sys/class/rfkill/rfkill[0-9]+/type
28 Contact: linux-wireless@vger.kernel.org
29 Description: Driver type string ("wlan", "bluetooth", etc).
30 Values: See include/linux/rfkill.h.
33 What: /sys/class/rfkill/rfkill[0-9]+/persistent
36 Contact: linux-wireless@vger.kernel.org
37 Description: Whether the soft blocked state is initialised from non-volatile
39 Values: A numeric value:
45 What: /sys/class/rfkill/rfkill[0-9]+/state
48 Contact: linux-wireless@vger.kernel.org
49 Description: Current state of the transmitter.
50 This file was scheduled to be removed in 2014, but due to its
51 large number of users it will be sticking around for a bit
52 longer. Despite it being marked as stable, the newer "hard" and
53 "soft" interfaces should be preferred, since it is not possible
54 to express the 'soft and hard block' state of the rfkill driver
55 through this interface. There will likely be another attempt to
56 remove it in the future.
57 Values: A numeric value.
59 0: RFKILL_STATE_SOFT_BLOCKED
60 transmitter is turned off by software
61 1: RFKILL_STATE_UNBLOCKED
62 transmitter is (potentially) active
63 2: RFKILL_STATE_HARD_BLOCKED
64 transmitter is forced off by something outside of
68 What: /sys/class/rfkill/rfkill[0-9]+/hard
71 Contact: linux-wireless@vger.kernel.org
72 Description: Current hardblock state. This file is read only.
73 Values: A numeric value.
76 The transmitter is (potentially) active.
78 The transmitter is forced off by something outside of
82 What: /sys/class/rfkill/rfkill[0-9]+/soft
85 Contact: linux-wireless@vger.kernel.org
86 Description: Current softblock state. This file is read and write.
87 Values: A numeric value.
90 The transmitter is (potentially) active.
93 The transmitter is turned off by software.