0001 rfkill - radio frequency (RF) connector kill switch support
0002
0003 For details to this subsystem look at Documentation/driver-api/rfkill.rst.
0004
0005 For the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in
0006 Documentation/ABI/removed/sysfs-class-rfkill.
0007
0008 What: /sys/class/rfkill
0009 Date: 09-Jul-2007
0010 KernelVersion: v2.6.22
0011 Contact: linux-wireless@vger.kernel.org,
0012 Description: The rfkill class subsystem folder.
0013 Each registered rfkill driver is represented by an rfkillX
0014 subfolder (X being an integer >= 0).
0015
0016
0017 What: /sys/class/rfkill/rfkill[0-9]+/name
0018 Date: 09-Jul-2007
0019 KernelVersion v2.6.22
0020 Contact: linux-wireless@vger.kernel.org
0021 Description: Name assigned by driver to this key (interface or driver name).
0022 Values: arbitrary string.
0023
0024
0025 What: /sys/class/rfkill/rfkill[0-9]+/type
0026 Date: 09-Jul-2007
0027 KernelVersion v2.6.22
0028 Contact: linux-wireless@vger.kernel.org
0029 Description: Driver type string ("wlan", "bluetooth", etc).
0030 Values: See include/linux/rfkill.h.
0031
0032
0033 What: /sys/class/rfkill/rfkill[0-9]+/persistent
0034 Date: 09-Jul-2007
0035 KernelVersion v2.6.22
0036 Contact: linux-wireless@vger.kernel.org
0037 Description: Whether the soft blocked state is initialised from non-volatile
0038 storage at startup.
0039 Values: A numeric value:
0040
0041 - 0: false
0042 - 1: true
0043
0044
0045 What: /sys/class/rfkill/rfkill[0-9]+/state
0046 Date: 09-Jul-2007
0047 KernelVersion v2.6.22
0048 Contact: linux-wireless@vger.kernel.org
0049 Description: Current state of the transmitter.
0050 This file was scheduled to be removed in 2014, but due to its
0051 large number of users it will be sticking around for a bit
0052 longer. Despite it being marked as stable, the newer "hard" and
0053 "soft" interfaces should be preferred, since it is not possible
0054 to express the 'soft and hard block' state of the rfkill driver
0055 through this interface. There will likely be another attempt to
0056 remove it in the future.
0057 Values: A numeric value.
0058
0059 0: RFKILL_STATE_SOFT_BLOCKED
0060 transmitter is turned off by software
0061 1: RFKILL_STATE_UNBLOCKED
0062 transmitter is (potentially) active
0063 2: RFKILL_STATE_HARD_BLOCKED
0064 transmitter is forced off by something outside of
0065 the driver's control.
0066
0067
0068 What: /sys/class/rfkill/rfkill[0-9]+/hard
0069 Date: 12-March-2010
0070 KernelVersion v2.6.34
0071 Contact: linux-wireless@vger.kernel.org
0072 Description: Current hardblock state. This file is read only.
0073 Values: A numeric value.
0074
0075 0: inactive
0076 The transmitter is (potentially) active.
0077 1: active
0078 The transmitter is forced off by something outside of
0079 the driver's control.
0080
0081
0082 What: /sys/class/rfkill/rfkill[0-9]+/soft
0083 Date: 12-March-2010
0084 KernelVersion v2.6.34
0085 Contact: linux-wireless@vger.kernel.org
0086 Description: Current softblock state. This file is read and write.
0087 Values: A numeric value.
0088
0089 0: inactive
0090 The transmitter is (potentially) active.
0091
0092 1: active
0093 The transmitter is turned off by software.