diff options
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 25ce3e42bd10..dc9d9ec5d1ae 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -46,8 +46,10 @@ | |||
46 | * to get a list of all present wiphys. | 46 | * to get a list of all present wiphys. |
47 | * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or | 47 | * @NL80211_CMD_SET_WIPHY: set wiphy parameters, needs %NL80211_ATTR_WIPHY or |
48 | * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME, | 48 | * %NL80211_ATTR_IFINDEX; can be used to set %NL80211_ATTR_WIPHY_NAME, |
49 | * %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ, and/or | 49 | * %NL80211_ATTR_WIPHY_TXQ_PARAMS, %NL80211_ATTR_WIPHY_FREQ, |
50 | * %NL80211_ATTR_WIPHY_CHANNEL_TYPE. | 50 | * %NL80211_ATTR_WIPHY_CHANNEL_TYPE, %NL80211_ATTR_WIPHY_RETRY_SHORT, |
51 | * %NL80211_ATTR_WIPHY_RETRY_LONG, %NL80211_ATTR_WIPHY_FRAG_THRESHOLD, | ||
52 | * and/or %NL80211_ATTR_WIPHY_RTS_THRESHOLD. | ||
51 | * @NL80211_CMD_NEW_WIPHY: Newly created wiphy, response to get request | 53 | * @NL80211_CMD_NEW_WIPHY: Newly created wiphy, response to get request |
52 | * or rename notification. Has attributes %NL80211_ATTR_WIPHY and | 54 | * or rename notification. Has attributes %NL80211_ATTR_WIPHY and |
53 | * %NL80211_ATTR_WIPHY_NAME. | 55 | * %NL80211_ATTR_WIPHY_NAME. |
@@ -337,6 +339,18 @@ enum nl80211_commands { | |||
337 | * NL80211_CHAN_HT20 = HT20 only | 339 | * NL80211_CHAN_HT20 = HT20 only |
338 | * NL80211_CHAN_HT40MINUS = secondary channel is below the primary channel | 340 | * NL80211_CHAN_HT40MINUS = secondary channel is below the primary channel |
339 | * NL80211_CHAN_HT40PLUS = secondary channel is above the primary channel | 341 | * NL80211_CHAN_HT40PLUS = secondary channel is above the primary channel |
342 | * @NL80211_ATTR_WIPHY_RETRY_SHORT: TX retry limit for frames whose length is | ||
343 | * less than or equal to the RTS threshold; allowed range: 1..255; | ||
344 | * dot11ShortRetryLimit; u8 | ||
345 | * @NL80211_ATTR_WIPHY_RETRY_LONG: TX retry limit for frames whose length is | ||
346 | * greater than the RTS threshold; allowed range: 1..255; | ||
347 | * dot11ShortLongLimit; u8 | ||
348 | * @NL80211_ATTR_WIPHY_FRAG_THRESHOLD: fragmentation threshold, i.e., maximum | ||
349 | * length in octets for frames; allowed range: 256..8000, disable | ||
350 | * fragmentation with (u32)-1; dot11FragmentationThreshold; u32 | ||
351 | * @NL80211_ATTR_WIPHY_RTS_THRESHOLD: RTS threshold (TX frames with length | ||
352 | * larger than or equal to this use RTS/CTS handshake); allowed range: | ||
353 | * 0..65536, disable with (u32)-1; dot11RTSThreshold; u32 | ||
340 | * | 354 | * |
341 | * @NL80211_ATTR_IFINDEX: network interface index of the device to operate on | 355 | * @NL80211_ATTR_IFINDEX: network interface index of the device to operate on |
342 | * @NL80211_ATTR_IFNAME: network interface name | 356 | * @NL80211_ATTR_IFNAME: network interface name |
@@ -565,6 +579,12 @@ enum nl80211_attrs { | |||
565 | 579 | ||
566 | NL80211_ATTR_FREQ_FIXED, | 580 | NL80211_ATTR_FREQ_FIXED, |
567 | 581 | ||
582 | |||
583 | NL80211_ATTR_WIPHY_RETRY_SHORT, | ||
584 | NL80211_ATTR_WIPHY_RETRY_LONG, | ||
585 | NL80211_ATTR_WIPHY_FRAG_THRESHOLD, | ||
586 | NL80211_ATTR_WIPHY_RTS_THRESHOLD, | ||
587 | |||
568 | /* add attributes here, update the policy in nl80211.c */ | 588 | /* add attributes here, update the policy in nl80211.c */ |
569 | 589 | ||
570 | __NL80211_ATTR_AFTER_LAST, | 590 | __NL80211_ATTR_AFTER_LAST, |