diff options
author | Jouni Malinen <jouni@qca.qualcomm.com> | 2016-04-06 10:38:44 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-04-12 09:38:21 -0400 |
commit | 35eb8f7b1a37013d7a38466ae58c39fbd2c57faa (patch) | |
tree | 0ed2448a552d9986f246a8ce2f5652933052d84a /include/uapi | |
parent | bddf59046d804638d998f9015246d4990f1cab09 (diff) |
cfg80211: Improve Connect/Associate command documentation
The roaming cases for the Connect command were not fully covered and
neither Connect nor Associate command uses of the prev_bssid parameter
were very clear. Add details to describe how the prev_bssid argument is
supposed to be used and when the driver should use association or
reassociation.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r-- | include/uapi/linux/nl80211.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h index 6da52d7b48c4..b4606288ef7a 100644 --- a/include/uapi/linux/nl80211.h +++ b/include/uapi/linux/nl80211.h | |||
@@ -429,7 +429,11 @@ | |||
429 | * @NL80211_CMD_ASSOCIATE: association request and notification; like | 429 | * @NL80211_CMD_ASSOCIATE: association request and notification; like |
430 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation | 430 | * NL80211_CMD_AUTHENTICATE but for Association and Reassociation |
431 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, | 431 | * (similar to MLME-ASSOCIATE.request, MLME-REASSOCIATE.request, |
432 | * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). | 432 | * MLME-ASSOCIATE.confirm or MLME-REASSOCIATE.confirm primitives). The |
433 | * %NL80211_ATTR_PREV_BSSID attribute is used to specify whether the | ||
434 | * request is for the initial association to an ESS (that attribute not | ||
435 | * included) or for reassociation within the ESS (that attribute is | ||
436 | * included). | ||
433 | * @NL80211_CMD_DEAUTHENTICATE: deauthentication request and notification; like | 437 | * @NL80211_CMD_DEAUTHENTICATE: deauthentication request and notification; like |
434 | * NL80211_CMD_AUTHENTICATE but for Deauthentication frames (similar to | 438 | * NL80211_CMD_AUTHENTICATE but for Deauthentication frames (similar to |
435 | * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication | 439 | * MLME-DEAUTHENTICATION.request and MLME-DEAUTHENTICATE.indication |
@@ -479,6 +483,9 @@ | |||
479 | * set of BSSID,frequency parameters is used (i.e., either the enforcing | 483 | * set of BSSID,frequency parameters is used (i.e., either the enforcing |
480 | * %NL80211_ATTR_MAC,%NL80211_ATTR_WIPHY_FREQ or the less strict | 484 | * %NL80211_ATTR_MAC,%NL80211_ATTR_WIPHY_FREQ or the less strict |
481 | * %NL80211_ATTR_MAC_HINT and %NL80211_ATTR_WIPHY_FREQ_HINT). | 485 | * %NL80211_ATTR_MAC_HINT and %NL80211_ATTR_WIPHY_FREQ_HINT). |
486 | * %NL80211_ATTR_PREV_BSSID can be used to request a reassociation within | ||
487 | * the ESS in case the device is already associated and an association with | ||
488 | * a different BSS is desired. | ||
482 | * Background scan period can optionally be | 489 | * Background scan period can optionally be |
483 | * specified in %NL80211_ATTR_BG_SCAN_PERIOD, | 490 | * specified in %NL80211_ATTR_BG_SCAN_PERIOD, |
484 | * if not specified default background scan configuration | 491 | * if not specified default background scan configuration |
@@ -1287,8 +1294,11 @@ enum nl80211_commands { | |||
1287 | * @NL80211_ATTR_RESP_IE: (Re)association response information elements as | 1294 | * @NL80211_ATTR_RESP_IE: (Re)association response information elements as |
1288 | * sent by peer, for ROAM and successful CONNECT events. | 1295 | * sent by peer, for ROAM and successful CONNECT events. |
1289 | * | 1296 | * |
1290 | * @NL80211_ATTR_PREV_BSSID: previous BSSID, to be used by in ASSOCIATE | 1297 | * @NL80211_ATTR_PREV_BSSID: previous BSSID, to be used in ASSOCIATE and CONNECT |
1291 | * commands to specify using a reassociate frame | 1298 | * commands to specify a request to reassociate within an ESS, i.e., to use |
1299 | * Reassociate Request frame (with the value of this attribute in the | ||
1300 | * Current AP address field) instead of Association Request frame which is | ||
1301 | * used for the initial association to an ESS. | ||
1292 | * | 1302 | * |
1293 | * @NL80211_ATTR_KEY: key information in a nested attribute with | 1303 | * @NL80211_ATTR_KEY: key information in a nested attribute with |
1294 | * %NL80211_KEY_* sub-attributes | 1304 | * %NL80211_KEY_* sub-attributes |