]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - drivers/net/wireless/ipw2x00/ipw2100.h
libipw: switch from ieee80211_* to libipw_* naming policy
[linux-3.10.git] / drivers / net / wireless / ipw2x00 / ipw2100.h
index f183d951cd32754c7812c419303a4ce343ff1e19..af175bdc9f296a8a44effab54e09bb7b217e720c 100644 (file)
@@ -46,7 +46,7 @@
 #include <linux/workqueue.h>
 #include <linux/mutex.h>
 
-#include "ieee80211.h"
+#include "libipw.h"
 
 struct ipw2100_priv;
 struct ipw2100_tx_packet;
@@ -343,7 +343,7 @@ struct ipw2100_tx_packet {
                struct {        /* DATA */
                        struct ipw2100_data_header *data;
                        dma_addr_t data_phys;
-                       struct ieee80211_txb *txb;
+                       struct libipw_txb *txb;
                } d_struct;
        } info;
        int jiffy_start;
@@ -492,7 +492,7 @@ struct ipw2100_priv {
        int stop_hang_check;    /* Set 1 when shutting down to kill hang_check */
        int stop_rf_kill;       /* Set 1 when shutting down to kill rf_kill */
 
-       struct ieee80211_device *ieee;
+       struct libipw_device *ieee;
        unsigned long status;
        unsigned long config;
        unsigned long capability;
@@ -788,7 +788,7 @@ struct ipw2100_priv {
 #define IPW_CARD_DISABLE_PHY_OFF_COMPLETE_WAIT     100 // 100 milli
 #define IPW_PREPARE_POWER_DOWN_COMPLETE_WAIT       100 // 100 milli
 
-#define IPW_HEADER_802_11_SIZE          sizeof(struct ieee80211_hdr_3addr)
+#define IPW_HEADER_802_11_SIZE          sizeof(struct libipw_hdr_3addr)
 #define IPW_MAX_80211_PAYLOAD_SIZE              2304U
 #define IPW_MAX_802_11_PAYLOAD_LENGTH          2312
 #define IPW_MAX_ACCEPTABLE_TX_FRAME_LENGTH     1536
@@ -803,13 +803,13 @@ struct ipw2100_priv {
                IPW_802_11_FCS_LENGTH)
 
 #define IPW_802_11_PAYLOAD_OFFSET \
-        (sizeof(struct ieee80211_hdr_3addr) + \
-         sizeof(struct ieee80211_snap_hdr))
+        (sizeof(struct libipw_hdr_3addr) + \
+         sizeof(struct libipw_snap_hdr))
 
 struct ipw2100_rx {
        union {
                unsigned char payload[IPW_RX_NIC_BUFFER_LENGTH];
-               struct ieee80211_hdr_4addr header;
+               struct libipw_hdr_4addr header;
                u32 status;
                struct ipw2100_notification notification;
                struct ipw2100_cmd_header command;