Commit 73c3df3b authored by Johannes Berg's avatar Johannes Berg

cfg80211/nl80211: fix kernel-doc

Add missing entries to nl80211.h and fix
the kernel-doc notation in cfg80211.h.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 4a4ab0d7
...@@ -277,6 +277,12 @@ ...@@ -277,6 +277,12 @@
* @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to * @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
* NL80211_CMD_GET_SURVEY and on the "scan" multicast group) * NL80211_CMD_GET_SURVEY and on the "scan" multicast group)
* *
* @NL80211_CMD_SET_PMKSA: Add a PMKSA cache entry, using %NL80211_ATTR_MAC
* (for the BSSID) and %NL80211_ATTR_PMKID.
* @NL80211_CMD_DEL_PMKSA: Delete a PMKSA cache entry, using %NL80211_ATTR_MAC
* (for the BSSID) and %NL80211_ATTR_PMKID.
* @NL80211_CMD_FLUSH_PMKSA: Flush all PMKSA cache entries.
*
* @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain * @NL80211_CMD_REG_CHANGE: indicates to userspace the regulatory domain
* has been changed and provides details of the request information * has been changed and provides details of the request information
* that caused the change such as who initiated the regulatory request * that caused the change such as who initiated the regulatory request
...@@ -456,6 +462,10 @@ ...@@ -456,6 +462,10 @@
* the frame. * the frame.
* @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for * @NL80211_CMD_ACTION_TX_STATUS: Alias for @NL80211_CMD_FRAME_TX_STATUS for
* backward compatibility. * backward compatibility.
*
* @NL80211_CMD_SET_POWER_SAVE: Set powersave, using %NL80211_ATTR_PS_STATE
* @NL80211_CMD_GET_POWER_SAVE: Get powersave status in %NL80211_ATTR_PS_STATE
*
* @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command * @NL80211_CMD_SET_CQM: Connection quality monitor configuration. This command
* is used to configure connection quality monitoring notification trigger * is used to configure connection quality monitoring notification trigger
* levels. * levels.
...@@ -771,6 +781,13 @@ enum nl80211_commands { ...@@ -771,6 +781,13 @@ enum nl80211_commands {
* section 7.3.2.25.1, e.g. 0x000FAC04) * section 7.3.2.25.1, e.g. 0x000FAC04)
* @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and * @NL80211_ATTR_KEY_SEQ: transmit key sequence number (IV/PN) for TKIP and
* CCMP keys, each six bytes in little endian * CCMP keys, each six bytes in little endian
* @NL80211_ATTR_KEY_DEFAULT: Flag attribute indicating the key is default key
* @NL80211_ATTR_KEY_DEFAULT_MGMT: Flag attribute indicating the key is the
* default management key
* @NL80211_ATTR_CIPHER_SUITES_PAIRWISE: For crypto settings for connect or
* other commands, indicates which pairwise cipher suites are used
* @NL80211_ATTR_CIPHER_SUITE_GROUP: For crypto settings for connect or
* other commands, indicates which group cipher suite is used
* *
* @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU * @NL80211_ATTR_BEACON_INTERVAL: beacon interval in TU
* @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing * @NL80211_ATTR_DTIM_PERIOD: DTIM period for beaconing
...@@ -1006,6 +1023,8 @@ enum nl80211_commands { ...@@ -1006,6 +1023,8 @@ enum nl80211_commands {
* @NL80211_ATTR_ACK: Flag attribute indicating that the frame was * @NL80211_ATTR_ACK: Flag attribute indicating that the frame was
* acknowledged by the recipient. * acknowledged by the recipient.
* *
* @NL80211_ATTR_PS_STATE: powersave state, using &enum nl80211_ps_state values.
*
* @NL80211_ATTR_CQM: connection quality monitor configuration in a * @NL80211_ATTR_CQM: connection quality monitor configuration in a
* nested attribute with %NL80211_ATTR_CQM_* sub-attributes. * nested attribute with %NL80211_ATTR_CQM_* sub-attributes.
* *
...@@ -1063,7 +1082,7 @@ enum nl80211_commands { ...@@ -1063,7 +1082,7 @@ enum nl80211_commands {
* flag isn't set, the frame will be rejected. This is also used as an * flag isn't set, the frame will be rejected. This is also used as an
* nl80211 capability flag. * nl80211 capability flag.
* *
* @NL80211_ATTR_BSS_HTOPMODE: HT operation mode (u16) * @NL80211_ATTR_BSS_HT_OPMODE: HT operation mode (u16)
* *
* @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags * @NL80211_ATTR_KEY_DEFAULT_TYPES: A nested attribute containing flags
* attributes, specifying what a key should be set as default as. * attributes, specifying what a key should be set as default as.
...@@ -1087,10 +1106,10 @@ enum nl80211_commands { ...@@ -1087,10 +1106,10 @@ enum nl80211_commands {
* indicate which WoW triggers should be enabled. This is also * indicate which WoW triggers should be enabled. This is also
* used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN * used by %NL80211_CMD_GET_WOWLAN to get the currently enabled WoWLAN
* triggers. * triggers.
*
* @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan * @NL80211_ATTR_SCHED_SCAN_INTERVAL: Interval between scheduled scan
* cycles, in msecs. * cycles, in msecs.
*
* @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more * @NL80211_ATTR_SCHED_SCAN_MATCH: Nested attribute with one or more
* sets of attributes to match during scheduled scans. Only BSSs * sets of attributes to match during scheduled scans. Only BSSs
* that match any of the sets will be reported. These are * that match any of the sets will be reported. These are
...@@ -1117,7 +1136,7 @@ enum nl80211_commands { ...@@ -1117,7 +1136,7 @@ enum nl80211_commands {
* are managed in software: interfaces of these types aren't subject to * are managed in software: interfaces of these types aren't subject to
* any restrictions in their number or combinations. * any restrictions in their number or combinations.
* *
* @%NL80211_ATTR_REKEY_DATA: nested attribute containing the information * @NL80211_ATTR_REKEY_DATA: nested attribute containing the information
* necessary for GTK rekeying in the device, see &enum nl80211_rekey_data. * necessary for GTK rekeying in the device, see &enum nl80211_rekey_data.
* *
* @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan, * @NL80211_ATTR_SCAN_SUPP_RATES: rates per to be advertised as supported in scan,
...@@ -1184,7 +1203,6 @@ enum nl80211_commands { ...@@ -1184,7 +1203,6 @@ enum nl80211_commands {
* @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from * @NL80211_ATTR_FEATURE_FLAGS: This u32 attribute contains flags from
* &enum nl80211_feature_flags and is advertised in wiphy information. * &enum nl80211_feature_flags and is advertised in wiphy information.
* @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe * @NL80211_ATTR_PROBE_RESP_OFFLOAD: Indicates that the HW responds to probe
*
* requests while operating in AP-mode. * requests while operating in AP-mode.
* This attribute holds a bitmap of the supported protocols for * This attribute holds a bitmap of the supported protocols for
* offloading (see &enum nl80211_probe_resp_offload_support_attr). * offloading (see &enum nl80211_probe_resp_offload_support_attr).
...@@ -2507,6 +2525,11 @@ enum nl80211_band { ...@@ -2507,6 +2525,11 @@ enum nl80211_band {
NL80211_BAND_5GHZ, NL80211_BAND_5GHZ,
}; };
/**
* enum nl80211_ps_state - powersave state
* @NL80211_PS_DISABLED: powersave is disabled
* @NL80211_PS_ENABLED: powersave is enabled
*/
enum nl80211_ps_state { enum nl80211_ps_state {
NL80211_PS_DISABLED, NL80211_PS_DISABLED,
NL80211_PS_ENABLED, NL80211_PS_ENABLED,
......
...@@ -627,10 +627,10 @@ struct sta_bss_parameters { ...@@ -627,10 +627,10 @@ struct sta_bss_parameters {
* @llid: mesh local link id * @llid: mesh local link id
* @plid: mesh peer link id * @plid: mesh peer link id
* @plink_state: mesh peer link state * @plink_state: mesh peer link state
* @signal: the signal strength, type depends on the wiphy's signal_type * @signal: The signal strength, type depends on the wiphy's signal_type.
NOTE: For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_. * For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
* @signal_avg: avg signal strength, type depends on the wiphy's signal_type * @signal_avg: Average signal strength, type depends on the wiphy's signal_type.
NOTE: For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_. * For CFG80211_SIGNAL_TYPE_MBM, value is expressed in _dBm_.
* @txrate: current unicast bitrate from this station * @txrate: current unicast bitrate from this station
* @rxrate: current unicast bitrate to this station * @rxrate: current unicast bitrate to this station
* @rx_packets: packets received from this station * @rx_packets: packets received from this station
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment