nl80211: Sync with wireless-testing.git linux/nl80211.h
This commit is contained in:
parent
2a29f0d45c
commit
09eac1ac56
1 changed files with 56 additions and 4 deletions
|
@ -160,6 +160,11 @@
|
||||||
* @NL80211_CMD_SCAN_ABORTED: scan was aborted, for unspecified reasons,
|
* @NL80211_CMD_SCAN_ABORTED: scan was aborted, for unspecified reasons,
|
||||||
* partial scan results may be available
|
* partial scan results may be available
|
||||||
*
|
*
|
||||||
|
* @NL80211_CMD_GET_SURVEY: get survey resuls, e.g. channel occupation
|
||||||
|
* or noise level
|
||||||
|
* @NL80211_CMD_NEW_SURVEY_RESULTS: survey data notification (as a reply to
|
||||||
|
* NL80211_CMD_GET_SURVEY and on the "scan" multicast group)
|
||||||
|
*
|
||||||
* @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
|
||||||
|
@ -341,6 +346,13 @@ enum nl80211_commands {
|
||||||
|
|
||||||
NL80211_CMD_SET_WIPHY_NETNS,
|
NL80211_CMD_SET_WIPHY_NETNS,
|
||||||
|
|
||||||
|
NL80211_CMD_GET_SURVEY,
|
||||||
|
NL80211_CMD_NEW_SURVEY_RESULTS,
|
||||||
|
|
||||||
|
NL80211_CMD_SET_PMKSA,
|
||||||
|
NL80211_CMD_DEL_PMKSA,
|
||||||
|
NL80211_CMD_FLUSH_PMKSA,
|
||||||
|
|
||||||
/* add new commands above here */
|
/* add new commands above here */
|
||||||
|
|
||||||
/* used to define NL80211_CMD_MAX below */
|
/* used to define NL80211_CMD_MAX below */
|
||||||
|
@ -584,6 +596,16 @@ enum nl80211_commands {
|
||||||
* changed then the list changed and the dump should be repeated
|
* changed then the list changed and the dump should be repeated
|
||||||
* completely from scratch.
|
* completely from scratch.
|
||||||
*
|
*
|
||||||
|
* @NL80211_ATTR_4ADDR: Use 4-address frames on a virtual interface
|
||||||
|
*
|
||||||
|
* @NL80211_ATTR_SURVEY_INFO: survey information about a channel, part of
|
||||||
|
* the survey response for %NL80211_CMD_GET_SURVEY, nested attribute
|
||||||
|
* containing info as possible, see &enum survey_info.
|
||||||
|
*
|
||||||
|
* @NL80211_ATTR_PMKID: PMK material for PMKSA caching.
|
||||||
|
* @NL80211_ATTR_MAX_NUM_PMKIDS: maximum number of PMKIDs a firmware can
|
||||||
|
* cache, a wiphy attribute.
|
||||||
|
*
|
||||||
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
||||||
* @__NL80211_ATTR_AFTER_LAST: internal use
|
* @__NL80211_ATTR_AFTER_LAST: internal use
|
||||||
*/
|
*/
|
||||||
|
@ -714,6 +736,13 @@ enum nl80211_attrs {
|
||||||
|
|
||||||
NL80211_ATTR_PID,
|
NL80211_ATTR_PID,
|
||||||
|
|
||||||
|
NL80211_ATTR_4ADDR,
|
||||||
|
|
||||||
|
NL80211_ATTR_SURVEY_INFO,
|
||||||
|
|
||||||
|
NL80211_ATTR_PMKID,
|
||||||
|
NL80211_ATTR_MAX_NUM_PMKIDS,
|
||||||
|
|
||||||
/* add attributes here, update the policy in nl80211.c */
|
/* add attributes here, update the policy in nl80211.c */
|
||||||
|
|
||||||
__NL80211_ATTR_AFTER_LAST,
|
__NL80211_ATTR_AFTER_LAST,
|
||||||
|
@ -895,14 +924,14 @@ enum nl80211_sta_info {
|
||||||
*
|
*
|
||||||
* @NL80211_MPATH_FLAG_ACTIVE: the mesh path is active
|
* @NL80211_MPATH_FLAG_ACTIVE: the mesh path is active
|
||||||
* @NL80211_MPATH_FLAG_RESOLVING: the mesh path discovery process is running
|
* @NL80211_MPATH_FLAG_RESOLVING: the mesh path discovery process is running
|
||||||
* @NL80211_MPATH_FLAG_DSN_VALID: the mesh path contains a valid DSN
|
* @NL80211_MPATH_FLAG_SN_VALID: the mesh path contains a valid SN
|
||||||
* @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
|
* @NL80211_MPATH_FLAG_FIXED: the mesh path has been manually set
|
||||||
* @NL80211_MPATH_FLAG_RESOLVED: the mesh path discovery process succeeded
|
* @NL80211_MPATH_FLAG_RESOLVED: the mesh path discovery process succeeded
|
||||||
*/
|
*/
|
||||||
enum nl80211_mpath_flags {
|
enum nl80211_mpath_flags {
|
||||||
NL80211_MPATH_FLAG_ACTIVE = 1<<0,
|
NL80211_MPATH_FLAG_ACTIVE = 1<<0,
|
||||||
NL80211_MPATH_FLAG_RESOLVING = 1<<1,
|
NL80211_MPATH_FLAG_RESOLVING = 1<<1,
|
||||||
NL80211_MPATH_FLAG_DSN_VALID = 1<<2,
|
NL80211_MPATH_FLAG_SN_VALID = 1<<2,
|
||||||
NL80211_MPATH_FLAG_FIXED = 1<<3,
|
NL80211_MPATH_FLAG_FIXED = 1<<3,
|
||||||
NL80211_MPATH_FLAG_RESOLVED = 1<<4,
|
NL80211_MPATH_FLAG_RESOLVED = 1<<4,
|
||||||
};
|
};
|
||||||
|
@ -915,7 +944,7 @@ enum nl80211_mpath_flags {
|
||||||
*
|
*
|
||||||
* @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
|
* @__NL80211_MPATH_INFO_INVALID: attribute number 0 is reserved
|
||||||
* @NL80211_ATTR_MPATH_FRAME_QLEN: number of queued frames for this destination
|
* @NL80211_ATTR_MPATH_FRAME_QLEN: number of queued frames for this destination
|
||||||
* @NL80211_ATTR_MPATH_DSN: destination sequence number
|
* @NL80211_ATTR_MPATH_SN: destination sequence number
|
||||||
* @NL80211_ATTR_MPATH_METRIC: metric (cost) of this mesh path
|
* @NL80211_ATTR_MPATH_METRIC: metric (cost) of this mesh path
|
||||||
* @NL80211_ATTR_MPATH_EXPTIME: expiration time for the path, in msec from now
|
* @NL80211_ATTR_MPATH_EXPTIME: expiration time for the path, in msec from now
|
||||||
* @NL80211_ATTR_MPATH_FLAGS: mesh path flags, enumerated in
|
* @NL80211_ATTR_MPATH_FLAGS: mesh path flags, enumerated in
|
||||||
|
@ -926,7 +955,7 @@ enum nl80211_mpath_flags {
|
||||||
enum nl80211_mpath_info {
|
enum nl80211_mpath_info {
|
||||||
__NL80211_MPATH_INFO_INVALID,
|
__NL80211_MPATH_INFO_INVALID,
|
||||||
NL80211_MPATH_INFO_FRAME_QLEN,
|
NL80211_MPATH_INFO_FRAME_QLEN,
|
||||||
NL80211_MPATH_INFO_DSN,
|
NL80211_MPATH_INFO_SN,
|
||||||
NL80211_MPATH_INFO_METRIC,
|
NL80211_MPATH_INFO_METRIC,
|
||||||
NL80211_MPATH_INFO_EXPTIME,
|
NL80211_MPATH_INFO_EXPTIME,
|
||||||
NL80211_MPATH_INFO_FLAGS,
|
NL80211_MPATH_INFO_FLAGS,
|
||||||
|
@ -1116,6 +1145,26 @@ enum nl80211_reg_rule_flags {
|
||||||
NL80211_RRF_NO_IBSS = 1<<8,
|
NL80211_RRF_NO_IBSS = 1<<8,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum nl80211_survey_info - survey information
|
||||||
|
*
|
||||||
|
* These attribute types are used with %NL80211_ATTR_SURVEY_INFO
|
||||||
|
* when getting information about a survey.
|
||||||
|
*
|
||||||
|
* @__NL80211_SURVEY_INFO_INVALID: attribute number 0 is reserved
|
||||||
|
* @NL80211_SURVEY_INFO_FREQUENCY: center frequency of channel
|
||||||
|
* @NL80211_SURVEY_INFO_NOISE: noise level of channel (u8, dBm)
|
||||||
|
*/
|
||||||
|
enum nl80211_survey_info {
|
||||||
|
__NL80211_SURVEY_INFO_INVALID,
|
||||||
|
NL80211_SURVEY_INFO_FREQUENCY,
|
||||||
|
NL80211_SURVEY_INFO_NOISE,
|
||||||
|
|
||||||
|
/* keep last */
|
||||||
|
__NL80211_SURVEY_INFO_AFTER_LAST,
|
||||||
|
NL80211_SURVEY_INFO_MAX = __NL80211_SURVEY_INFO_AFTER_LAST - 1
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* enum nl80211_mntr_flags - monitor configuration flags
|
* enum nl80211_mntr_flags - monitor configuration flags
|
||||||
*
|
*
|
||||||
|
@ -1196,6 +1245,8 @@ enum nl80211_mntr_flags {
|
||||||
* @NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME: The interval of time (in TUs)
|
* @NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME: The interval of time (in TUs)
|
||||||
* that it takes for an HWMP information element to propagate across the mesh
|
* that it takes for an HWMP information element to propagate across the mesh
|
||||||
*
|
*
|
||||||
|
* @NL80211_MESHCONF_ROOTMODE: whether root mode is enabled or not
|
||||||
|
*
|
||||||
* @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
|
* @NL80211_MESHCONF_ATTR_MAX: highest possible mesh configuration attribute
|
||||||
*
|
*
|
||||||
* @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use
|
* @__NL80211_MESHCONF_ATTR_AFTER_LAST: internal use
|
||||||
|
@ -1215,6 +1266,7 @@ enum nl80211_meshconf_params {
|
||||||
NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT,
|
NL80211_MESHCONF_HWMP_ACTIVE_PATH_TIMEOUT,
|
||||||
NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL,
|
NL80211_MESHCONF_HWMP_PREQ_MIN_INTERVAL,
|
||||||
NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME,
|
NL80211_MESHCONF_HWMP_NET_DIAM_TRVS_TIME,
|
||||||
|
NL80211_MESHCONF_HWMP_ROOTMODE,
|
||||||
|
|
||||||
/* keep last */
|
/* keep last */
|
||||||
__NL80211_MESHCONF_ATTR_AFTER_LAST,
|
__NL80211_MESHCONF_ATTR_AFTER_LAST,
|
||||||
|
|
Loading…
Reference in a new issue