aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/libertas/dev.h')
-rw-r--r--drivers/net/wireless/libertas/dev.h41
1 files changed, 40 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/dev.h b/drivers/net/wireless/libertas/dev.h
index 3f3e7f6e68b3..1e6bae80396b 100644
--- a/drivers/net/wireless/libertas/dev.h
+++ b/drivers/net/wireless/libertas/dev.h
@@ -10,9 +10,10 @@
10#include <linux/wireless.h> 10#include <linux/wireless.h>
11#include <linux/ethtool.h> 11#include <linux/ethtool.h>
12#include <linux/debugfs.h> 12#include <linux/debugfs.h>
13#include <net/ieee80211.h>
13 14
14#include "defs.h" 15#include "defs.h"
15#include "scan.h" 16#include "hostcmd.h"
16 17
17extern struct ethtool_ops lbs_ethtool_ops; 18extern struct ethtool_ops lbs_ethtool_ops;
18 19
@@ -325,6 +326,44 @@ struct lbs_private {
325 326
326extern struct cmd_confirm_sleep confirm_sleep; 327extern struct cmd_confirm_sleep confirm_sleep;
327 328
329/**
330 * @brief Structure used to store information for each beacon/probe response
331 */
332struct bss_descriptor {
333 u8 bssid[ETH_ALEN];
334
335 u8 ssid[IW_ESSID_MAX_SIZE + 1];
336 u8 ssid_len;
337
338 u16 capability;
339 u32 rssi;
340 u32 channel;
341 u16 beaconperiod;
342 u32 atimwindow;
343
344 /* IW_MODE_AUTO, IW_MODE_ADHOC, IW_MODE_INFRA */
345 u8 mode;
346
347 /* zero-terminated array of supported data rates */
348 u8 rates[MAX_RATES + 1];
349
350 unsigned long last_scanned;
351
352 union ieeetypes_phyparamset phyparamset;
353 union IEEEtypes_ssparamset ssparamset;
354
355 struct ieeetypes_countryinfofullset countryinfo;
356
357 u8 wpa_ie[MAX_WPA_IE_LEN];
358 size_t wpa_ie_len;
359 u8 rsn_ie[MAX_WPA_IE_LEN];
360 size_t rsn_ie_len;
361
362 u8 mesh;
363
364 struct list_head list;
365};
366
328/** Association request 367/** Association request
329 * 368 *
330 * Encapsulates all the options that describe a specific assocation request 369 * Encapsulates all the options that describe a specific assocation request