aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nl80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-04 06:18:21 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-11-09 16:13:54 -0500
commite247bd9068e3e86c3571147c128883596ace9d05 (patch)
tree5639065f2b0bfe4cb7389a75e274bc8a53efd75f /include/linux/nl80211.h
parente7f4a940bb5eecd07cf0039e7d9201badc332ae0 (diff)
cfg80211/mac80211: allow management TX to not wait for ACK
For probe responses it can be useful to not wait for ACK to avoid retransmissions if the station that sent the probe is already on the next channel, so allow userspace to request not caring about the ACK with a new nl80211 flag. Since mac80211 needs to be updated for the new function prototype anyway implement it right away -- it's just a few lines of code. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r--include/linux/nl80211.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 09474ab7de8c..165e16fc7af1 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -1151,6 +1151,11 @@ enum nl80211_commands {
1151 * with support for the features listed in this attribute, see 1151 * with support for the features listed in this attribute, see
1152 * &enum nl80211_ap_sme_features. 1152 * &enum nl80211_ap_sme_features.
1153 * 1153 *
1154 * @NL80211_ATTR_DONT_WAIT_FOR_ACK: Used with %NL80211_CMD_FRAME, this tells
1155 * the driver to not wait for an acknowledgement. Note that due to this,
1156 * it will also not give a status callback nor return a cookie. This is
1157 * mostly useful for probe responses to save airtime.
1158 *
1154 * @NL80211_ATTR_MAX: highest attribute number currently defined 1159 * @NL80211_ATTR_MAX: highest attribute number currently defined
1155 * @__NL80211_ATTR_AFTER_LAST: internal use 1160 * @__NL80211_ATTR_AFTER_LAST: internal use
1156 */ 1161 */
@@ -1381,6 +1386,8 @@ enum nl80211_attrs {
1381 1386
1382 NL80211_ATTR_DEVICE_AP_SME, 1387 NL80211_ATTR_DEVICE_AP_SME,
1383 1388
1389 NL80211_ATTR_DONT_WAIT_FOR_ACK,
1390
1384 /* add attributes here, update the policy in nl80211.c */ 1391 /* add attributes here, update the policy in nl80211.c */
1385 1392
1386 __NL80211_ATTR_AFTER_LAST, 1393 __NL80211_ATTR_AFTER_LAST,