History

Merge tag 'master-2014-09-16' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next

John W. Linville says: ==================== pull request: wireless-next 2014-09-22 Please pull this batch of updates intended for the 3.18 stream... For the mac80211 bits, Johannes says: "This time, I have some rate minstrel improvements, support for a very small feature from CCX that Steinar reverse-engineered, dynamic ACK timeout support, a number of changes for TDLS, early support for radio resource measurement and many fixes. Also, I'm changing a number of places to clear key memory when it's freed and Intel claims copyright for code they developed." For the bluetooth bits, Johan says: "Here are some more patches intended for 3.18. Most of them are cleanups or fixes for SMP. The only exception is a fix for BR/EDR L2CAP fixed channels which should now work better together with the L2CAP information request procedure." For the iwlwifi bits, Emmanuel says: "I fix here dvm which was broken by my last pull request. Arik continues to work on TDLS and Luca solved a few issues in CT-Kill. Eyal keeps digging into rate scaling code, more to come soon. Besides this, nothing really special here." Beyond that, there are the usual big batches of updates to ath9k, b43, mwifiex, and wil6210 as well as a handful of other bits here and there. Also, rtlwifi gets some btcoexist attention from Larry. Please let me know if there are problems! ==================== Had to adjust the wil6210 code to comply with Joe Perches's recent change in net-next to make the netdev_*() routines return void instead of 'int'.

David S. Miller committed 12 years ago

Commit 57219dc2 parents 6ea754e 7a0a260208 files · +20669 −2381Browse files

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

Unified · Split

include/uapi/linux/nl80211.h+100−0
@@ -722,6 +722,22 @@ · 721 unmodified lines
722722 * QoS mapping is relevant for IP packets, it is only valid during an
723723 * association. This is cleared on disassociation and AP restart.
724724 *
725+ * @NL80211_CMD_ADD_TX_TS: Ask the kernel to add a traffic stream for the given
726+ * %NL80211_ATTR_TSID and %NL80211_ATTR_MAC with %NL80211_ATTR_USER_PRIO
727+ * and %NL80211_ATTR_ADMITTED_TIME parameters.
728+ * Note that the action frame handshake with the AP shall be handled by
729+ * userspace via the normal management RX/TX framework, this only sets
730+ * up the TX TS in the driver/device.
731+ * If the admitted time attribute is not added then the request just checks
732+ * if a subsequent setup could be successful, the intent is to use this to
733+ * avoid setting up a session with the AP when local restrictions would
734+ * make that impossible. However, the subsequent "real" setup may still
735+ * fail even if the check was successful.
736+ * @NL80211_CMD_DEL_TX_TS: Remove an existing TS with the %NL80211_ATTR_TSID
737+ * and %NL80211_ATTR_MAC parameters. It isn't necessary to call this
738+ * before removing a station entry entirely, or before disassociating
739+ * or similar, cleanup will happen in the driver/device in this case.
740+ *
725741 * @NL80211_CMD_MAX: highest used command number
726742 * @__NL80211_CMD_AFTER_LAST: internal use
727743 */
@@ -893,6 +909,9 @@ enum nl80211_commands { · 165 unmodified lines
893909
894910 NL80211_CMD_SET_QOS_MAP,
895911
912+ NL80211_CMD_ADD_TX_TS,
913+ NL80211_CMD_DEL_TX_TS,
914+
896915 /* add new commands above here */
897916
898917 /* used to define NL80211_CMD_MAX below */
@@ -1594,6 +1613,31 @@ enum nl80211_commands { · 695 unmodified lines
15941613 * @NL80211_ATTR_TDLS_INITIATOR: flag attribute indicating the current end is
15951614 * the TDLS link initiator.
15961615 *
1616+ * @NL80211_ATTR_USE_RRM: flag for indicating whether the current connection
1617+ * shall support Radio Resource Measurements (11k). This attribute can be
1618+ * used with %NL80211_CMD_ASSOCIATE and %NL80211_CMD_CONNECT requests.
1619+ * User space applications are expected to use this flag only if the
1620+ * underlying device supports these minimal RRM features:
1621+ * %NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES,
1622+ * %NL80211_FEATURE_QUIET,
1623+ * If this flag is used, driver must add the Power Capabilities IE to the
1624+ * association request. In addition, it must also set the RRM capability
1625+ * flag in the association request's Capability Info field.
1626+ *
1627+ * @NL80211_ATTR_WIPHY_DYN_ACK: flag attribute used to enable ACK timeout
1628+ * estimation algorithm (dynack). In order to activate dynack
1629+ * %NL80211_FEATURE_ACKTO_ESTIMATION feature flag must be set by lower
1630+ * drivers to indicate dynack capability. Dynack is automatically disabled
1631+ * setting valid value for coverage class.
1632+ *
1633+ * @NL80211_ATTR_TSID: a TSID value (u8 attribute)
1634+ * @NL80211_ATTR_USER_PRIO: user priority value (u8 attribute)
1635+ * @NL80211_ATTR_ADMITTED_TIME: admitted time in units of 32 microseconds
1636+ * (per second) (u16 attribute)
1637+ *
1638+ * @NL80211_ATTR_SMPS_MODE: SMPS mode to use (ap mode). see
1639+ * &enum nl80211_smps_mode.
1640+ *
15971641 * @NL80211_ATTR_MAX: highest attribute number currently defined
15981642 * @__NL80211_ATTR_AFTER_LAST: internal use
15991643 */
@@ -1936,6 +1980,16 @@ enum nl80211_attrs { · 336 unmodified lines
19361980
19371981 NL80211_ATTR_TDLS_INITIATOR,
19381982
1983+ NL80211_ATTR_USE_RRM,
1984+
1985+ NL80211_ATTR_WIPHY_DYN_ACK,
1986+
1987+ NL80211_ATTR_TSID,
1988+ NL80211_ATTR_USER_PRIO,
1989+ NL80211_ATTR_ADMITTED_TIME,
1990+
1991+ NL80211_ATTR_SMPS_MODE,
1992+
19391993 /* add attributes here, update the policy in nl80211.c */
19401994
19411995 __NL80211_ATTR_AFTER_LAST,
@@ -3968,6 +4022,26 @@ enum nl80211_ap_sme_features { · 2026 unmodified lines
39684022 * @NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE: This driver supports dynamic
39694023 * channel bandwidth change (e.g., HT 20 <-> 40 MHz channel) during the
39704024 * lifetime of a BSS.
4025+ * @NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES: This device adds a DS Parameter
4026+ * Set IE to probe requests.
4027+ * @NL80211_FEATURE_WFA_TPC_IE_IN_PROBES: This device adds a WFA TPC Report IE
4028+ * to probe requests.
4029+ * @NL80211_FEATURE_QUIET: This device, in client mode, supports Quiet Period
4030+ * requests sent to it by an AP.
4031+ * @NL80211_FEATURE_TX_POWER_INSERTION: This device is capable of inserting the
4032+ * current tx power value into the TPC Report IE in the spectrum
4033+ * management TPC Report action frame, and in the Radio Measurement Link
4034+ * Measurement Report action frame.
4035+ * @NL80211_FEATURE_ACKTO_ESTIMATION: This driver supports dynamic ACK timeout
4036+ * estimation (dynack). %NL80211_ATTR_WIPHY_DYN_ACK flag attribute is used
4037+ * to enable dynack.
4038+ * @NL80211_FEATURE_STATIC_SMPS: Device supports static spatial
4039+ * multiplexing powersave, ie. can turn off all but one chain
4040+ * even on HT connections that should be using more chains.
4041+ * @NL80211_FEATURE_DYNAMIC_SMPS: Device supports dynamic spatial
4042+ * multiplexing powersave, ie. can turn off all but one chain
4043+ * and then wake the rest up as required after, for example,
4044+ * rts/cts handshake.
39714045 */
39724046 enum nl80211_feature_flags {
39734047 NL80211_FEATURE_SK_TX_STATUS = 1 << 0,
@@ -3989,6 +4063,13 @@ enum nl80211_feature_flags { · 15 unmodified lines
39894063 NL80211_FEATURE_USERSPACE_MPM = 1 << 16,
39904064 NL80211_FEATURE_ACTIVE_MONITOR = 1 << 17,
39914065 NL80211_FEATURE_AP_MODE_CHAN_WIDTH_CHANGE = 1 << 18,
4066+ NL80211_FEATURE_DS_PARAM_SET_IE_IN_PROBES = 1 << 19,
4067+ NL80211_FEATURE_WFA_TPC_IE_IN_PROBES = 1 << 20,
4068+ NL80211_FEATURE_QUIET = 1 << 21,
4069+ NL80211_FEATURE_TX_POWER_INSERTION = 1 << 22,
4070+ NL80211_FEATURE_ACKTO_ESTIMATION = 1 << 23,
4071+ NL80211_FEATURE_STATIC_SMPS = 1 << 24,
4072+ NL80211_FEATURE_DYNAMIC_SMPS = 1 << 25,
39924073 };
39934074
39944075 /**
@@ -4062,6 +4143,25 @@ enum nl80211_acl_policy { · 67 unmodified lines
40624143 NL80211_ACL_POLICY_DENY_UNLESS_LISTED,
40634144 };
40644145
4146+/**
4147+ * enum nl80211_smps_mode - SMPS mode
4148+ *
4149+ * Requested SMPS mode (for AP mode)
4150+ *
4151+ * @NL80211_SMPS_OFF: SMPS off (use all antennas).
4152+ * @NL80211_SMPS_STATIC: static SMPS (use a single antenna)
4153+ * @NL80211_SMPS_DYNAMIC: dynamic smps (start with a single antenna and
4154+ * turn on other antennas after CTS/RTS).
4155+ */
4156+enum nl80211_smps_mode {
4157+ NL80211_SMPS_OFF,
4158+ NL80211_SMPS_STATIC,
4159+ NL80211_SMPS_DYNAMIC,
4160+
4161+ __NL80211_SMPS_AFTER_LAST,
4162+ NL80211_SMPS_MAX = __NL80211_SMPS_AFTER_LAST - 1
4163+};
4164+
40654165 /**
40664166 * enum nl80211_radar_event - type of radar event for DFS operation
40674167 *