diff options
author | Andrew Clausen <andrew.p.clausen@gmail.com> | 2015-01-09 15:24:55 -0500 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-01-09 17:22:12 -0500 |
commit | 0efbb786f1a3e13d28861ff41aae8dc4be314608 (patch) | |
tree | 944ba154e53160e80cec8ff7c7a0264c18830128 /Documentation | |
parent | 9b7a86f3514dd5cb4a6787292781daae65a29a10 (diff) |
rfkill: document rfkill module parameters
Document the rfkill module parameters default_state and
master_switch_mode.
Signed-off-by: Andrew Clausen <andrew.p.clausen@gmail.com>
[rewrite commit message]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 12 | ||||
-rw-r--r-- | Documentation/rfkill.txt | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index eacb2e0397ae..f55d4658b079 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -3180,6 +3180,18 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
3180 | 3180 | ||
3181 | retain_initrd [RAM] Keep initrd memory after extraction | 3181 | retain_initrd [RAM] Keep initrd memory after extraction |
3182 | 3182 | ||
3183 | rfkill.default_state= | ||
3184 | 0 "airplane mode". All wifi, bluetooth, wimax, gps, fm, | ||
3185 | etc. communication is blocked by default. | ||
3186 | 1 Unblocked. | ||
3187 | |||
3188 | rfkill.master_switch_mode= | ||
3189 | 0 The "airplane mode" button does nothing. | ||
3190 | 1 The "airplane mode" button toggles between everything | ||
3191 | blocked and the previous configuration. | ||
3192 | 2 The "airplane mode" button toggles between everything | ||
3193 | blocked and everything unblocked. | ||
3194 | |||
3183 | rhash_entries= [KNL,NET] | 3195 | rhash_entries= [KNL,NET] |
3184 | Set number of hash buckets for route cache | 3196 | Set number of hash buckets for route cache |
3185 | 3197 | ||
diff --git a/Documentation/rfkill.txt b/Documentation/rfkill.txt index 427e89712f4a..2ee6ef9a6554 100644 --- a/Documentation/rfkill.txt +++ b/Documentation/rfkill.txt | |||
@@ -25,6 +25,9 @@ whether they can be changed or not: | |||
25 | - soft block: writable radio block (need not be readable) that is set by | 25 | - soft block: writable radio block (need not be readable) that is set by |
26 | the system software. | 26 | the system software. |
27 | 27 | ||
28 | The rfkill subsystem has two parameters, rfkill.default_state and | ||
29 | rfkill.master_switch_mode, which are documented in kernel-parameters.txt. | ||
30 | |||
28 | 31 | ||
29 | 2. Implementation details | 32 | 2. Implementation details |
30 | 33 | ||