linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rfkill: parameters documentation
@ 2015-01-02 19:01 Andrew Clausen
  2015-01-05  9:24 ` Johannes Berg
  2015-01-09 22:21 ` Johannes Berg
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Clausen @ 2015-01-02 19:01 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless, Johannes Berg

Hi all,

This patch documents two rfkill module parameters, namely
rfkill.default_state and rfkill.master_switch_mode.

I constructed the patch from Ubuntu packaged source, but I'm happy to
adapt it to any git tree.

Kind regards,
Andrew

Signed-off-by: Andrew Clausen <andrew.p.clausen@gmail.com>
---

diff --git a/Documentation/kernel-parameters.txt
b/Documentation/kernel-parameters.txt
index 011855b..824ee3b 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2999,6 +2999,20 @@ bytes respectively. Such letter suffixes can
also be entirely omitted.

     retain_initrd    [RAM] Keep initrd memory after extraction

+    rfkill.default_state=
+        0        "airplane mode".  All wifi, bluetooth, wimax,
+                gps, fm, etc. communication is blocked by
+                default.
+        1        Unblocked.
+
+    rfkill.master_switch_mode=
+        0        The "airplane mode" button does nothing.
+        1        The "airplane mode" button toggles between
+                everything blocked and the previous
+                configuration.
+        2        The "airplane mode" button toggles between
+                everything blocked and everything unblocked.
+
     rhash_entries=    [KNL,NET]
             Set number of hash buckets for route cache

diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt
index 427e897..2ee6ef9 100644
--- a/Documentation/rfkill.txt
+++ b/Documentation/rfkill.txt
@@ -25,6 +25,9 @@ whether they can be changed or not:
  - soft block: writable radio block (need not be readable) that is set by
                the system software.

+The rfkill subsystem has two parameters, rfkill.default_state and
+rfkill.master_switch_mode, which are documented in kernel-parameters.txt.
+

 2. Implementation details

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-01-09 22:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-02 19:01 [PATCH] rfkill: parameters documentation Andrew Clausen
2015-01-05  9:24 ` Johannes Berg
2015-01-05 10:03   ` Andrew Clausen
2015-01-06 10:10     ` Johannes Berg
2015-01-09 22:21 ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).