2011-10-08 14:48:29 +00:00
|
|
|
--- a/nl80211.h
|
|
|
|
+++ b/nl80211.h
|
2014-02-05 20:52:34 +00:00
|
|
|
@@ -1555,6 +1555,9 @@ enum nl80211_commands {
|
|
|
|
* data is in the format defined for the payload of the QoS Map Set element
|
|
|
|
* in IEEE Std 802.11-2012, 8.4.2.97.
|
2013-06-30 10:44:19 +00:00
|
|
|
*
|
2014-02-05 20:52:34 +00:00
|
|
|
+ * @NL80211_ATTR_WIPHY_ANTENNA_GAIN: Configured antenna gain. Used to reduce
|
|
|
|
+ * transmit power to stay within regulatory limits. u32, dBi.
|
2013-06-30 10:44:19 +00:00
|
|
|
+ *
|
|
|
|
* @NL80211_ATTR_MAX: highest attribute number currently defined
|
|
|
|
* @__NL80211_ATTR_AFTER_LAST: internal use
|
|
|
|
*/
|
2014-02-05 20:52:34 +00:00
|
|
|
@@ -1883,6 +1886,8 @@ enum nl80211_attrs {
|
|
|
|
|
|
|
|
NL80211_ATTR_QOS_MAP,
|
2011-10-08 14:48:29 +00:00
|
|
|
|
2013-06-30 10:44:19 +00:00
|
|
|
+ NL80211_ATTR_WIPHY_ANTENNA_GAIN,
|
|
|
|
+
|
2013-05-06 22:35:50 +00:00
|
|
|
/* add attributes here, update the policy in nl80211.c */
|
2012-12-10 13:51:06 +00:00
|
|
|
|
2013-06-30 10:44:19 +00:00
|
|
|
__NL80211_ATTR_AFTER_LAST,
|
2014-02-05 20:52:34 +00:00
|
|
|
@@ -2442,9 +2447,15 @@ enum nl80211_reg_rule_attr {
|
|
|
|
* enum nl80211_sched_scan_match_attr - scheduled scan match attributes
|
|
|
|
* @__NL80211_SCHED_SCAN_MATCH_ATTR_INVALID: attribute number 0 is reserved
|
|
|
|
* @NL80211_SCHED_SCAN_MATCH_ATTR_SSID: SSID to be used for matching,
|
|
|
|
- * only report BSS with matching SSID.
|
|
|
|
+ * only report BSS with matching SSID.
|
|
|
|
* @NL80211_SCHED_SCAN_MATCH_ATTR_RSSI: RSSI threshold (in dBm) for reporting a
|
|
|
|
- * BSS in scan results. Filtering is turned off if not specified.
|
|
|
|
+ * BSS in scan results. Filtering is turned off if not specified. Note that
|
|
|
|
+ * if this attribute is in a match set of its own, then it is treated as
|
|
|
|
+ * the default value for all matchsets with an SSID, rather than being a
|
|
|
|
+ * matchset of its own without an RSSI filter. This is due to problems with
|
|
|
|
+ * how this API was implemented in the past. Also, due to the same problem,
|
|
|
|
+ * the only way to create a matchset with only an RSSI filter (with this
|
|
|
|
+ * attribute) is if there's only a single matchset with the RSSI attribute.
|
|
|
|
* @NL80211_SCHED_SCAN_MATCH_ATTR_MAX: highest scheduled scan filter
|
|
|
|
* attribute number currently defined
|
|
|
|
* @__NL80211_SCHED_SCAN_MATCH_ATTR_AFTER_LAST: internal use
|