aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ipw2x00/ipw2100.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-08-20 14:48:03 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-28 14:40:28 -0400
commitb0a4e7d8a291de63f35b04464de9ab4a83d38a7c (patch)
treec95a79b15483070bf1ca92ddf7b7e9ba4d4af026 /drivers/net/wireless/ipw2x00/ipw2100.h
parent01a0ac417ce9b4f1216a266f2fd454cffefc5aee (diff)
libipw: switch from ieee80211_* to libipw_* naming policy
This eliminates the dual definition of ieee80211_channel (and possibly others), further clarifying who defines what and paving the way for inclusion of cfg80211.h. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ipw2x00/ipw2100.h')
-rw-r--r--drivers/net/wireless/ipw2x00/ipw2100.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.h b/drivers/net/wireless/ipw2x00/ipw2100.h
index f183d951cd32..af175bdc9f29 100644
--- a/drivers/net/wireless/ipw2x00/ipw2100.h
+++ b/drivers/net/wireless/ipw2x00/ipw2100.h
@@ -46,7 +46,7 @@
46#include <linux/workqueue.h> 46#include <linux/workqueue.h>
47#include <linux/mutex.h> 47#include <linux/mutex.h>
48 48
49#include "ieee80211.h" 49#include "libipw.h"
50 50
51struct ipw2100_priv; 51struct ipw2100_priv;
52struct ipw2100_tx_packet; 52struct ipw2100_tx_packet;
@@ -343,7 +343,7 @@ struct ipw2100_tx_packet {
343 struct { /* DATA */ 343 struct { /* DATA */
344 struct ipw2100_data_header *data; 344 struct ipw2100_data_header *data;
345 dma_addr_t data_phys; 345 dma_addr_t data_phys;
346 struct ieee80211_txb *txb; 346 struct libipw_txb *txb;
347 } d_struct; 347 } d_struct;
348 } info; 348 } info;
349 int jiffy_start; 349 int jiffy_start;
@@ -492,7 +492,7 @@ struct ipw2100_priv {
492 int stop_hang_check; /* Set 1 when shutting down to kill hang_check */ 492 int stop_hang_check; /* Set 1 when shutting down to kill hang_check */
493 int stop_rf_kill; /* Set 1 when shutting down to kill rf_kill */ 493 int stop_rf_kill; /* Set 1 when shutting down to kill rf_kill */
494 494
495 struct ieee80211_device *ieee; 495 struct libipw_device *ieee;
496 unsigned long status; 496 unsigned long status;
497 unsigned long config; 497 unsigned long config;
498 unsigned long capability; 498 unsigned long capability;
@@ -788,7 +788,7 @@ struct ipw2100_priv {
788#define IPW_CARD_DISABLE_PHY_OFF_COMPLETE_WAIT 100 // 100 milli 788#define IPW_CARD_DISABLE_PHY_OFF_COMPLETE_WAIT 100 // 100 milli
789#define IPW_PREPARE_POWER_DOWN_COMPLETE_WAIT 100 // 100 milli 789#define IPW_PREPARE_POWER_DOWN_COMPLETE_WAIT 100 // 100 milli
790 790
791#define IPW_HEADER_802_11_SIZE sizeof(struct ieee80211_hdr_3addr) 791#define IPW_HEADER_802_11_SIZE sizeof(struct libipw_hdr_3addr)
792#define IPW_MAX_80211_PAYLOAD_SIZE 2304U 792#define IPW_MAX_80211_PAYLOAD_SIZE 2304U
793#define IPW_MAX_802_11_PAYLOAD_LENGTH 2312 793#define IPW_MAX_802_11_PAYLOAD_LENGTH 2312
794#define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536 794#define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH 1536
@@ -803,13 +803,13 @@ struct ipw2100_priv {
803 IPW_802_11_FCS_LENGTH) 803 IPW_802_11_FCS_LENGTH)
804 804
805#define IPW_802_11_PAYLOAD_OFFSET \ 805#define IPW_802_11_PAYLOAD_OFFSET \
806 (sizeof(struct ieee80211_hdr_3addr) + \ 806 (sizeof(struct libipw_hdr_3addr) + \
807 sizeof(struct ieee80211_snap_hdr)) 807 sizeof(struct libipw_snap_hdr))
808 808
809struct ipw2100_rx { 809struct ipw2100_rx {
810 union { 810 union {
811 unsigned char payload[IPW_RX_NIC_BUFFER_LENGTH]; 811 unsigned char payload[IPW_RX_NIC_BUFFER_LENGTH];
812 struct ieee80211_hdr_4addr header; 812 struct libipw_hdr_4addr header;
813 u32 status; 813 u32 status;
814 struct ipw2100_notification notification; 814 struct ipw2100_notification notification;
815 struct ipw2100_cmd_header command; 815 struct ipw2100_cmd_header command;