aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-02-16 12:39:13 -0500
committerJohn W. Linville <linville@tuxdriver.com>2009-02-27 14:52:38 -0500
commit70692ad2923a379e0a10f9ec2ad93fbbe084cc46 (patch)
treef67488c396ea6e61f71e0199eea189ea939a698b /include/net
parent83befbde839b1deb0cd752a834ffd9fde8571ae2 (diff)
nl80211: Optional IEs into scan request
This extends the NL80211_CMD_TRIGGER_SCAN command to allow applications to specify a set of information element(s) to be added into Probe Request frames with NL80211_ATTR_IE. This provides support for the MLME-SCAN.request primitive parameter VendorSpecificInfo and can be used, e.g., to implement WPS scanning. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index c0d1f5b708c5..33f43b0d08fb 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -525,6 +525,8 @@ struct cfg80211_ssid {
525 * @n_ssids: number of SSIDs 525 * @n_ssids: number of SSIDs
526 * @channels: channels to scan on. 526 * @channels: channels to scan on.
527 * @n_channels: number of channels for each band 527 * @n_channels: number of channels for each band
528 * @ie: optional information element(s) to add into Probe Request or %NULL
529 * @ie_len: length of ie in octets
528 * @wiphy: the wiphy this was for 530 * @wiphy: the wiphy this was for
529 * @ifidx: the interface index 531 * @ifidx: the interface index
530 */ 532 */
@@ -533,6 +535,8 @@ struct cfg80211_scan_request {
533 int n_ssids; 535 int n_ssids;
534 struct ieee80211_channel **channels; 536 struct ieee80211_channel **channels;
535 u32 n_channels; 537 u32 n_channels;
538 u8 *ie;
539 size_t ie_len;
536 540
537 /* internal */ 541 /* internal */
538 struct wiphy *wiphy; 542 struct wiphy *wiphy;