diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-04-02 14:14:06 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-04-22 16:54:40 -0400 |
commit | 25e47c18ac4d8ad09c2ed4b99c1dbbcb7e3d2c51 (patch) | |
tree | e224f603ceb19d7c416cd37fc4479a042ccc6890 /include/linux | |
parent | 6bad8766620a3c8b64afa981502fdb543e3cfd6c (diff) |
cfg80211: add cipher capabilities
This adds the necessary code and fields to let drivers specify
their cipher capabilities and exports them to userspace. Also
update mac80211 to export the ciphers it has.
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/nl80211.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h index 05ba3539b77e..c01423888db9 100644 --- a/include/linux/nl80211.h +++ b/include/linux/nl80211.h | |||
@@ -453,6 +453,9 @@ enum nl80211_commands { | |||
453 | * attributes consists of a nested attribute containing | 453 | * attributes consists of a nested attribute containing |
454 | * NL80211_FREQUENCY_ATTR_* | 454 | * NL80211_FREQUENCY_ATTR_* |
455 | * | 455 | * |
456 | * @NL80211_ATTR_CIPHER_SUITES: a set of u32 values indicating the supported | ||
457 | * cipher suites | ||
458 | * | ||
456 | * @NL80211_ATTR_MAX: highest attribute number currently defined | 459 | * @NL80211_ATTR_MAX: highest attribute number currently defined |
457 | * @__NL80211_ATTR_AFTER_LAST: internal use | 460 | * @__NL80211_ATTR_AFTER_LAST: internal use |
458 | */ | 461 | */ |
@@ -540,6 +543,7 @@ enum nl80211_attrs { | |||
540 | NL80211_ATTR_KEY_TYPE, | 543 | NL80211_ATTR_KEY_TYPE, |
541 | 544 | ||
542 | NL80211_ATTR_MAX_SCAN_IE_LEN, | 545 | NL80211_ATTR_MAX_SCAN_IE_LEN, |
546 | NL80211_ATTR_CIPHER_SUITES, | ||
543 | 547 | ||
544 | NL80211_ATTR_FREQ_BEFORE, | 548 | NL80211_ATTR_FREQ_BEFORE, |
545 | NL80211_ATTR_FREQ_AFTER, | 549 | NL80211_ATTR_FREQ_AFTER, |