18c2ecf20Sopenharmony_cirfkill - radio frequency (RF) connector kill switch support 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciFor details to this subsystem look at Documentation/driver-api/rfkill.rst. 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciFor the deprecated ``/sys/class/rfkill/*/claim`` knobs of this interface look in 68c2ecf20Sopenharmony_ciDocumentation/ABI/removed/sysfs-class-rfkill. 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill 98c2ecf20Sopenharmony_ciDate: 09-Jul-2007 108c2ecf20Sopenharmony_ciKernelVersion: v2.6.22 118c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org, 128c2ecf20Sopenharmony_ciDescription: The rfkill class subsystem folder. 138c2ecf20Sopenharmony_ci Each registered rfkill driver is represented by an rfkillX 148c2ecf20Sopenharmony_ci subfolder (X being an integer >= 0). 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci 178c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/name 188c2ecf20Sopenharmony_ciDate: 09-Jul-2007 198c2ecf20Sopenharmony_ciKernelVersion v2.6.22 208c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 218c2ecf20Sopenharmony_ciDescription: Name assigned by driver to this key (interface or driver name). 228c2ecf20Sopenharmony_ciValues: arbitrary string. 238c2ecf20Sopenharmony_ci 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/type 268c2ecf20Sopenharmony_ciDate: 09-Jul-2007 278c2ecf20Sopenharmony_ciKernelVersion v2.6.22 288c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 298c2ecf20Sopenharmony_ciDescription: Driver type string ("wlan", "bluetooth", etc). 308c2ecf20Sopenharmony_ciValues: See include/linux/rfkill.h. 318c2ecf20Sopenharmony_ci 328c2ecf20Sopenharmony_ci 338c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/persistent 348c2ecf20Sopenharmony_ciDate: 09-Jul-2007 358c2ecf20Sopenharmony_ciKernelVersion v2.6.22 368c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 378c2ecf20Sopenharmony_ciDescription: Whether the soft blocked state is initialised from non-volatile 388c2ecf20Sopenharmony_ci storage at startup. 398c2ecf20Sopenharmony_ciValues: A numeric value: 408c2ecf20Sopenharmony_ci 418c2ecf20Sopenharmony_ci - 0: false 428c2ecf20Sopenharmony_ci - 1: true 438c2ecf20Sopenharmony_ci 448c2ecf20Sopenharmony_ci 458c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/state 468c2ecf20Sopenharmony_ciDate: 09-Jul-2007 478c2ecf20Sopenharmony_ciKernelVersion v2.6.22 488c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 498c2ecf20Sopenharmony_ciDescription: Current state of the transmitter. 508c2ecf20Sopenharmony_ci This file was scheduled to be removed in 2014, but due to its 518c2ecf20Sopenharmony_ci large number of users it will be sticking around for a bit 528c2ecf20Sopenharmony_ci longer. Despite it being marked as stable, the newer "hard" and 538c2ecf20Sopenharmony_ci "soft" interfaces should be preferred, since it is not possible 548c2ecf20Sopenharmony_ci to express the 'soft and hard block' state of the rfkill driver 558c2ecf20Sopenharmony_ci through this interface. There will likely be another attempt to 568c2ecf20Sopenharmony_ci remove it in the future. 578c2ecf20Sopenharmony_ciValues: A numeric value. 588c2ecf20Sopenharmony_ci 598c2ecf20Sopenharmony_ci 0: RFKILL_STATE_SOFT_BLOCKED 608c2ecf20Sopenharmony_ci transmitter is turned off by software 618c2ecf20Sopenharmony_ci 1: RFKILL_STATE_UNBLOCKED 628c2ecf20Sopenharmony_ci transmitter is (potentially) active 638c2ecf20Sopenharmony_ci 2: RFKILL_STATE_HARD_BLOCKED 648c2ecf20Sopenharmony_ci transmitter is forced off by something outside of 658c2ecf20Sopenharmony_ci the driver's control. 668c2ecf20Sopenharmony_ci 678c2ecf20Sopenharmony_ci 688c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/hard 698c2ecf20Sopenharmony_ciDate: 12-March-2010 708c2ecf20Sopenharmony_ciKernelVersion v2.6.34 718c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 728c2ecf20Sopenharmony_ciDescription: Current hardblock state. This file is read only. 738c2ecf20Sopenharmony_ciValues: A numeric value. 748c2ecf20Sopenharmony_ci 758c2ecf20Sopenharmony_ci 0: inactive 768c2ecf20Sopenharmony_ci The transmitter is (potentially) active. 778c2ecf20Sopenharmony_ci 1: active 788c2ecf20Sopenharmony_ci The transmitter is forced off by something outside of 798c2ecf20Sopenharmony_ci the driver's control. 808c2ecf20Sopenharmony_ci 818c2ecf20Sopenharmony_ci 828c2ecf20Sopenharmony_ciWhat: /sys/class/rfkill/rfkill[0-9]+/soft 838c2ecf20Sopenharmony_ciDate: 12-March-2010 848c2ecf20Sopenharmony_ciKernelVersion v2.6.34 858c2ecf20Sopenharmony_ciContact: linux-wireless@vger.kernel.org 868c2ecf20Sopenharmony_ciDescription: Current softblock state. This file is read and write. 878c2ecf20Sopenharmony_ciValues: A numeric value. 888c2ecf20Sopenharmony_ci 898c2ecf20Sopenharmony_ci 0: inactive 908c2ecf20Sopenharmony_ci The transmitter is (potentially) active. 918c2ecf20Sopenharmony_ci 928c2ecf20Sopenharmony_ci 1: active 938c2ecf20Sopenharmony_ci The transmitter is turned off by software. 94