aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2012-04-12 14:25:14 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 14:41:59 -0400
commit7eab0f64a9eba5405222fdef0ede2468bf495efd (patch)
treeec99640b8d0b12adbfacb85c27683125debd14f2 /drivers/net/wireless/ipw2x00
parentcade455596504fae8e134a27189713ddf7c6d04d (diff)
parent8065248069097dddf9945acfb2081025e9618c16 (diff)
Merge branch 'master' into for-davem
Conflicts: drivers/net/wireless/iwlwifi/iwl-testmode.c net/wireless/nl80211.c
Diffstat (limited to 'drivers/net/wireless/ipw2x00')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.h9
-rw-r--r--drivers/net/wireless/ipw2x00/libipw.h55
2 files changed, 0 insertions, 64 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.h b/drivers/net/wireless/ipw2x00/ipw2100.h
index e5b1c77ae0eb..973125242490 100644
--- a/drivers/net/wireless/ipw2x00/ipw2100.h
+++ b/drivers/net/wireless/ipw2x00/ipw2100.h
@@ -135,15 +135,6 @@ enum {
135 IPW_HW_STATE_ENABLED = 0 135 IPW_HW_STATE_ENABLED = 0
136}; 136};
137 137
138struct ssid_context {
139 char ssid[IW_ESSID_MAX_SIZE + 1];
140 int ssid_len;
141 unsigned char bssid[ETH_ALEN];
142 int port_type;
143 int channel;
144
145};
146
147extern const char *port_type_str[]; 138extern const char *port_type_str[];
148extern const char *band_str[]; 139extern const char *band_str[];
149 140
diff --git a/drivers/net/wireless/ipw2x00/libipw.h b/drivers/net/wireless/ipw2x00/libipw.h
index 8874588fb929..0b22fb421735 100644
--- a/drivers/net/wireless/ipw2x00/libipw.h
+++ b/drivers/net/wireless/ipw2x00/libipw.h
@@ -584,61 +584,6 @@ struct libipw_tim_parameters {
584 584
585/*******************************************************/ 585/*******************************************************/
586 586
587enum { /* libipw_basic_report.map */
588 LIBIPW_BASIC_MAP_BSS = (1 << 0),
589 LIBIPW_BASIC_MAP_OFDM = (1 << 1),
590 LIBIPW_BASIC_MAP_UNIDENTIFIED = (1 << 2),
591 LIBIPW_BASIC_MAP_RADAR = (1 << 3),
592 LIBIPW_BASIC_MAP_UNMEASURED = (1 << 4),
593 /* Bits 5-7 are reserved */
594
595};
596struct libipw_basic_report {
597 u8 channel;
598 __le64 start_time;
599 __le16 duration;
600 u8 map;
601} __packed;
602
603enum { /* libipw_measurement_request.mode */
604 /* Bit 0 is reserved */
605 LIBIPW_MEASUREMENT_ENABLE = (1 << 1),
606 LIBIPW_MEASUREMENT_REQUEST = (1 << 2),
607 LIBIPW_MEASUREMENT_REPORT = (1 << 3),
608 /* Bits 4-7 are reserved */
609};
610
611enum {
612 LIBIPW_REPORT_BASIC = 0, /* required */
613 LIBIPW_REPORT_CCA = 1, /* optional */
614 LIBIPW_REPORT_RPI = 2, /* optional */
615 /* 3-255 reserved */
616};
617
618struct libipw_measurement_params {
619 u8 channel;
620 __le64 start_time;
621 __le16 duration;
622} __packed;
623
624struct libipw_measurement_request {
625 struct libipw_info_element ie;
626 u8 token;
627 u8 mode;
628 u8 type;
629 struct libipw_measurement_params params[0];
630} __packed;
631
632struct libipw_measurement_report {
633 struct libipw_info_element ie;
634 u8 token;
635 u8 mode;
636 u8 type;
637 union {
638 struct libipw_basic_report basic[0];
639 } u;
640} __packed;
641
642struct libipw_tpc_report { 587struct libipw_tpc_report {
643 u8 transmit_power; 588 u8 transmit_power;
644 u8 link_margin; 589 u8 link_margin;