History

cfg80211: Allow use_mfp to be specified with the connect command

The NL80211_ATTR_USE_MFP attribute was originally added for NL80211_CMD_ASSOCIATE, but it is actually as useful (if not even more useful) with NL80211_CMD_CONNECT, so process that attribute with the connect command, too.

Jouni Malinen committed 13 years ago

Commit cee00a91 parent 1c18f144 files · +16 −4Browse files

Showing the changes to include/uapi (1 of 4 files). Show all

Unified · Split

include/uapi/linux/nl80211.h+3−3
@@ -374,8 +374,8 @@ · 373 unmodified lines
374 * requests to connect to a specified network but without separating374 * requests to connect to a specified network but without separating
375 * auth and assoc steps. For this, you need to specify the SSID in a375 * auth and assoc steps. For this, you need to specify the SSID in a
376 * %NL80211_ATTR_SSID attribute, and can optionally specify the association376 * %NL80211_ATTR_SSID attribute, and can optionally specify the association
377 * IEs in %NL80211_ATTR_IE, %NL80211_ATTR_AUTH_TYPE, %NL80211_ATTR_MAC,377 * IEs in %NL80211_ATTR_IE, %NL80211_ATTR_AUTH_TYPE, %NL80211_ATTR_USE_MFP,
378 * %NL80211_ATTR_WIPHY_FREQ, %NL80211_ATTR_CONTROL_PORT,378 * %NL80211_ATTR_MAC, %NL80211_ATTR_WIPHY_FREQ, %NL80211_ATTR_CONTROL_PORT,
379 * %NL80211_ATTR_CONTROL_PORT_ETHERTYPE and379 * %NL80211_ATTR_CONTROL_PORT_ETHERTYPE and
380 * %NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT.380 * %NL80211_ATTR_CONTROL_PORT_NO_ENCRYPT.
381 * Background scan period can optionally be381 * Background scan period can optionally be
@@ -958,7 +958,7 @@ enum nl80211_commands { · 576 unmodified lines
958 * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is958 * @NL80211_ATTR_USE_MFP: Whether management frame protection (IEEE 802.11w) is
959 * used for the association (&enum nl80211_mfp, represented as a u32);959 * used for the association (&enum nl80211_mfp, represented as a u32);
960 * this attribute can be used960 * this attribute can be used
961 * with %NL80211_CMD_ASSOCIATE request961 * with %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests
962 *962 *
963 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a963 * @NL80211_ATTR_STA_FLAGS2: Attribute containing a
964 * &struct nl80211_sta_flag_update.964 * &struct nl80211_sta_flag_update.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t