aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-06-13 05:17:14 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-06-13 05:17:14 -0400
commit73c3df3ba3f2d7fe3ea47f944282f3cda31c5505 (patch)
treecff18654ba968e00ed3d966fca37c4eac56072bc /include/linux
parent4a4ab0d7c9abe4e403bcea6ae2fc5d3f28a64a29 (diff)
cfg80211/nl80211: fix kernel-doc
Add missing entries to nl80211.h and fix the kernel-doc notation in cfg80211.h. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/nl80211.h33
1 files changed, 28 insertions, 5 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index e7b1fc1fe26b..e4f41bdebc07 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -277,6 +277,12 @@
277 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to 277 * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
278 * NL80211_CMD_GET_SURVEY and on the "scan" multicast group) 278 * NL80211_CMD_GET_SURVEY and on the "scan" multicast group)
279 * 279 *
280 * @NL80211_CMD_SET_PMKSA: Add a PMKSA cache entry, using %NL80211_ATTR_MAC
281 * (for the BSSID) and %NL80211_ATTR_PMKID.
282 * @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC
283 * (for the BSSID) and %NL80211_ATTR_PMKID.
284 * @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries.
285 *
280 * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain 286 * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain
281 * has been changed and provides details of the request information 287 * has been changed and provides details of the request information
282 * that caused the change such as who initiated the regulatory request 288 * that caused the change such as who initiated the regulatory request
@@ -456,6 +462,10 @@
456 * the frame. 462 * the frame.
457 * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for 463 * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for
458 * backward compatibility. 464 * backward compatibility.
465 *
466 * @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE
467 * @NL80211_CMD_GET_POWER_SAVE: Get powersave status in %NL80211_ATTR_PS_STATE
468 *
459 * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command 469 * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command
460 * is used to configure connection quality monitoring notification trigger 470 * is used to configure connection quality monitoring notification trigger
461 * levels. 471 * levels.
@@ -771,6 +781,13 @@ enum nl80211_commands {
771 * section 7.3.2.25.1, e.g. 0x000FAC04) 781 * section 7.3.2.25.1, e.g. 0x000FAC04)
772 * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and 782 * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and
773 * CCMP keys, each six bytes in little endian 783 * CCMP keys, each six bytes in little endian
784 * @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
785 * @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
786 * default management key
787 * @NL80211_ATTR_CIPHER_SUITES_PAIRWISE: For crypto settings for connect or
788 * other commands, indicates which pairwise cipher suites are used
789 * @NL80211_ATTR_CIPHER_SUITE_GROUP: For crypto settings for connect or
790 * other commands, indicates which group cipher suite is used
774 * 791 *
775 * @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU 792 * @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU
776 * @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing 793 * @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing
@@ -1006,6 +1023,8 @@ enum nl80211_commands {
1006 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was 1023 * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
1007 * acknowledged by the recipient. 1024 * acknowledged by the recipient.
1008 * 1025 *
1026 * @NL80211_ATTR_PS_STATE: powersave state, using &enum nl80211_ps_state values.
1027 *
1009 * @NL80211_ATTR_CQM: connection quality monitor configuration in a 1028 * @NL80211_ATTR_CQM: connection quality monitor configuration in a
1010 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes. 1029 * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
1011 * 1030 *
@@ -1063,7 +1082,7 @@ enum nl80211_commands {
1063 * flag isn't set, the frame will be rejected. This is also used as an 1082 * flag isn't set, the frame will be rejected. This is also used as an
1064 * nl80211 capability flag. 1083 * nl80211 capability flag.
1065 * 1084 *
1066 * @NL80211_ATTR_BSS_HTOPMODE: HT operation mode (u16) 1085 * @NL80211_ATTR_BSS_HT_OPMODE: HT operation mode (u16)
1067 * 1086 *
1068 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags 1087 * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
1069 * attributes, specifying what a key should be set as default as. 1088 * attributes, specifying what a key should be set as default as.
@@ -1087,10 +1106,10 @@ enum nl80211_commands {
1087 * indicate which WoW triggers should be enabled. This is also 1106 * indicate which WoW triggers should be enabled. This is also
1088 * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN 1107 * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN
1089 * triggers. 1108 * triggers.
1090 1109 *
1091 * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan 1110 * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan
1092 * cycles, in msecs. 1111 * cycles, in msecs.
1093 1112 *
1094 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more 1113 * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
1095 * sets of attributes to match during scheduled scans. Only BSSs 1114 * sets of attributes to match during scheduled scans. Only BSSs
1096 * that match any of the sets will be reported. These are 1115 * that match any of the sets will be reported. These are
@@ -1117,7 +1136,7 @@ enum nl80211_commands {
1117 * are managed in software: interfaces of these types aren't subject to 1136 * are managed in software: interfaces of these types aren't subject to
1118 * any restrictions in their number or combinations. 1137 * any restrictions in their number or combinations.
1119 * 1138 *
1120 * @%NL80211_ATTR_REKEY_DATA: nested attribute containing the information 1139 * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
1121 * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data. 1140 * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data.
1122 * 1141 *
1123 * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan, 1142 * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan,
@@ -1184,7 +1203,6 @@ enum nl80211_commands {
1184 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from 1203 * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
1185 * &enum nl80211_feature_flags and is advertised in wiphy information. 1204 * &enum nl80211_feature_flags and is advertised in wiphy information.
1186 * @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe 1205 * @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe
1187 *
1188 * requests while operating in AP-mode. 1206 * requests while operating in AP-mode.
1189 * This attribute holds a bitmap of the supported protocols for 1207 * This attribute holds a bitmap of the supported protocols for
1190 * offloading (see &enum nl80211_probe_resp_offload_support_attr). 1208 * offloading (see &enum nl80211_probe_resp_offload_support_attr).
@@ -2507,6 +2525,11 @@ enum nl80211_band {
2507 NL80211_BAND_5GHZ, 2525 NL80211_BAND_5GHZ,
2508}; 2526};
2509 2527
2528/**
2529 * enum nl80211_ps_state - powersave state
2530 * @NL80211_PS_DISABLED: powersave is disabled
2531 * @NL80211_PS_ENABLED: powersave is enabled
2532 */
2510enum nl80211_ps_state { 2533enum nl80211_ps_state {
2511 NL80211_PS_DISABLED, 2534 NL80211_PS_DISABLED,
2512 NL80211_PS_ENABLED, 2535 NL80211_PS_ENABLED,