diff options
Diffstat (limited to 'include/linux/nl80211.h')
-rw-r--r-- | include/linux/nl80211.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index dbea93b694e5..651b18839088 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -242,6 +242,10 @@ | |||
242 | * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is | 242 | * @NL80211_CMD_LEAVE_IBSS: Leave the IBSS -- no special arguments, the IBSS is |
243 | * determined by the network interface. | 243 | * determined by the network interface. |
244 | * | 244 | * |
245 | * @NL80211_CMD_TESTMODE: testmode command, takes a wiphy (or ifindex) attribute | ||
246 | * to identify the device, and the TESTDATA blob attribute to pass through | ||
247 | * to the driver. | ||
248 | * | ||
245 | * @NL80211_CMD_MAX: highest used command number | 249 | * @NL80211_CMD_MAX: highest used command number |
246 | * @__NL80211_CMD_AFTER_LAST: internal use | 250 | * @__NL80211_CMD_AFTER_LAST: internal use |
247 | */ | 251 | */ |
@@ -310,6 +314,8 @@ enum nl80211_commands { | |||
310 | NL80211_CMD_JOIN_IBSS, | 314 | NL80211_CMD_JOIN_IBSS, |
311 | NL80211_CMD_LEAVE_IBSS, | 315 | NL80211_CMD_LEAVE_IBSS, |
312 | 316 | ||
317 | NL80211_CMD_TESTMODE, | ||
318 | |||
313 | /* add new commands above here */ | 319 | /* add new commands above here */ |
314 | 320 | ||
315 | /* used to define NL80211_CMD_MAX below */ | 321 | /* used to define NL80211_CMD_MAX below */ |
@@ -511,6 +517,9 @@ enum nl80211_commands { | |||
511 | * authorized by user space. Otherwise, port is marked authorized by | 517 | * authorized by user space. Otherwise, port is marked authorized by |
512 | * default in station mode. | 518 | * default in station mode. |
513 | * | 519 | * |
520 | * @NL80211_ATTR_TESTDATA: Testmode data blob, passed through to the driver. | ||
521 | * We recommend using nested, driver-specific attributes within this. | ||
522 | * | ||
514 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 523 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
515 | * @__NL80211_ATTR_AFTER_LAST: internal use | 524 | * @__NL80211_ATTR_AFTER_LAST: internal use |
516 | */ | 525 | */ |
@@ -619,6 +628,8 @@ enum nl80211_attrs { | |||
619 | 628 | ||
620 | NL80211_ATTR_CONTROL_PORT, | 629 | NL80211_ATTR_CONTROL_PORT, |
621 | 630 | ||
631 | NL80211_ATTR_TESTDATA, | ||
632 | |||
622 | /* add attributes here, update the policy in nl80211.c */ | 633 | /* add attributes here, update the policy in nl80211.c */ |
623 | 634 | ||
624 | __NL80211_ATTR_AFTER_LAST, | 635 | __NL80211_ATTR_AFTER_LAST, |