Synchronize with wireless-testing.git include/uapi/linux/nl80211.h
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f11b72c3e9
commit
03565bc2d6
1 changed files with 39 additions and 0 deletions
|
@ -639,6 +639,13 @@
|
||||||
* with the relevant Information Elements. This event is used to report
|
* with the relevant Information Elements. This event is used to report
|
||||||
* received FT IEs (MDIE, FTIE, RSN IE, TIE, RICIE).
|
* received FT IEs (MDIE, FTIE, RSN IE, TIE, RICIE).
|
||||||
*
|
*
|
||||||
|
* @NL80211_CMD_CRIT_PROTOCOL_START: Indicates user-space will start running
|
||||||
|
* a critical protocol that needs more reliability in the connection to
|
||||||
|
* complete.
|
||||||
|
*
|
||||||
|
* @NL80211_CMD_CRIT_PROTOCOL_STOP: Indicates the connection reliability can
|
||||||
|
* return back to normal.
|
||||||
|
*
|
||||||
* @NL80211_CMD_MAX: highest used command number
|
* @NL80211_CMD_MAX: highest used command number
|
||||||
* @__NL80211_CMD_AFTER_LAST: internal use
|
* @__NL80211_CMD_AFTER_LAST: internal use
|
||||||
*/
|
*/
|
||||||
|
@ -798,6 +805,9 @@ enum nl80211_commands {
|
||||||
NL80211_CMD_UPDATE_FT_IES,
|
NL80211_CMD_UPDATE_FT_IES,
|
||||||
NL80211_CMD_FT_EVENT,
|
NL80211_CMD_FT_EVENT,
|
||||||
|
|
||||||
|
NL80211_CMD_CRIT_PROTOCOL_START,
|
||||||
|
NL80211_CMD_CRIT_PROTOCOL_STOP,
|
||||||
|
|
||||||
/* add new commands above here */
|
/* add new commands above here */
|
||||||
|
|
||||||
/* used to define NL80211_CMD_MAX below */
|
/* used to define NL80211_CMD_MAX below */
|
||||||
|
@ -1414,6 +1424,11 @@ enum nl80211_commands {
|
||||||
* @NL80211_ATTR_IE_RIC: Resource Information Container Information
|
* @NL80211_ATTR_IE_RIC: Resource Information Container Information
|
||||||
* Element
|
* Element
|
||||||
*
|
*
|
||||||
|
* @NL80211_ATTR_CRIT_PROT_ID: critical protocol identifier requiring increased
|
||||||
|
* reliability, see &enum nl80211_crit_proto_id (u16).
|
||||||
|
* @NL80211_ATTR_MAX_CRIT_PROT_DURATION: duration in milliseconds in which
|
||||||
|
* the connection should have increased reliability (u16).
|
||||||
|
*
|
||||||
* @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
|
||||||
*/
|
*/
|
||||||
|
@ -1709,6 +1724,9 @@ enum nl80211_attrs {
|
||||||
NL80211_ATTR_MDID,
|
NL80211_ATTR_MDID,
|
||||||
NL80211_ATTR_IE_RIC,
|
NL80211_ATTR_IE_RIC,
|
||||||
|
|
||||||
|
NL80211_ATTR_CRIT_PROT_ID,
|
||||||
|
NL80211_ATTR_MAX_CRIT_PROT_DURATION,
|
||||||
|
|
||||||
/* 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,
|
||||||
|
@ -3682,4 +3700,25 @@ enum nl80211_protocol_features {
|
||||||
NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1 << 0,
|
NL80211_PROTOCOL_FEATURE_SPLIT_WIPHY_DUMP = 1 << 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum nl80211_crit_proto_id - nl80211 critical protocol identifiers
|
||||||
|
*
|
||||||
|
* @NL80211_CRIT_PROTO_UNSPEC: protocol unspecified.
|
||||||
|
* @NL80211_CRIT_PROTO_DHCP: BOOTP or DHCPv6 protocol.
|
||||||
|
* @NL80211_CRIT_PROTO_EAPOL: EAPOL protocol.
|
||||||
|
* @NL80211_CRIT_PROTO_APIPA: APIPA protocol.
|
||||||
|
* @NUM_NL80211_CRIT_PROTO: must be kept last.
|
||||||
|
*/
|
||||||
|
enum nl80211_crit_proto_id {
|
||||||
|
NL80211_CRIT_PROTO_UNSPEC,
|
||||||
|
NL80211_CRIT_PROTO_DHCP,
|
||||||
|
NL80211_CRIT_PROTO_EAPOL,
|
||||||
|
NL80211_CRIT_PROTO_APIPA,
|
||||||
|
/* add other protocols before this one */
|
||||||
|
NUM_NL80211_CRIT_PROTO
|
||||||
|
};
|
||||||
|
|
||||||
|
/* maximum duration for critical protocol measures */
|
||||||
|
#define NL80211_CRIT_PROTO_MAX_DURATION 5000 /* msec */
|
||||||
|
|
||||||
#endif /* __LINUX_NL80211_H */
|
#endif /* __LINUX_NL80211_H */
|
||||||
|
|
Loading…
Reference in a new issue