staging: brcm80211: merged dngl_stats.h into dhd.h
authorRoland Vossen <rvossen@broadcom.com>
Tue, 5 Jul 2011 22:02:48 +0000 (00:02 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:47:50 +0000 (19:47 -0700)
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/brcm80211/brcmfmac/bcmsdh.c
drivers/staging/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/staging/brcm80211/brcmfmac/dhd.h
drivers/staging/brcm80211/brcmfmac/dhd_cdc.c
drivers/staging/brcm80211/brcmfmac/dhd_common.c
drivers/staging/brcm80211/brcmfmac/dhd_linux.c
drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
drivers/staging/brcm80211/brcmfmac/dngl_stats.h [deleted file]
drivers/staging/brcm80211/brcmfmac/wl_cfg80211.c

index 5fdeeaf8abaeda4b64a3db4182d60072a498a5fa..23c23002035dca15cf9581663aa91556944ba485 100644 (file)
@@ -29,7 +29,6 @@
 #include <soc.h>
 #include "bcmsdbus.h"          /* common SDIO/controller interface */
 #include "sbsdio.h"            /* BRCM sdio device core */
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_bus.h"
 #include "sdio_host.h"
index d4a380c879382aada9abd3d085c61507a7891352..40c93c4f3e1a1baba51a19f5d0db24e9273b9397 100644 (file)
@@ -31,7 +31,6 @@
 #include <brcmu_wifi.h>
 #include "sdio_host.h"
 #include "bcmsdbus.h"
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_dbg.h"
 #include "wl_cfg80211.h"
index 0a3c6e5c5068204f54ca2c859cbcae17048aa90d..82bf04df16d093616838c7afdf496135ef15ad00 100644 (file)
@@ -161,6 +161,18 @@ struct brcmf_event {
        struct brcmf_event_msg msg;
 } __packed;
 
+struct dngl_stats {
+       unsigned long rx_packets;       /* total packets received */
+       unsigned long tx_packets;       /* total packets transmitted */
+       unsigned long rx_bytes; /* total bytes received */
+       unsigned long tx_bytes; /* total bytes transmitted */
+       unsigned long rx_errors;        /* bad packets received */
+       unsigned long tx_errors;        /* packet transmit problems */
+       unsigned long rx_dropped;       /* packets dropped by dongle */
+       unsigned long tx_dropped;       /* packets dropped by dongle */
+       unsigned long multicast;        /* multicast packets received */
+};
+
 #define BRCMF_E_SET_SSID                       0
 #define BRCMF_E_JOIN                           1
 #define BRCMF_E_START                          2
index d464606bdd5ac74718f9438da85f52168c04c5f2..345acabe935e893c6d3e03a3e82673ebefc7a9a7 100644 (file)
@@ -22,7 +22,6 @@
 #include <brcmu_utils.h>
 #include <brcmu_wifi.h>
 
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_proto.h"
 #include "dhd_bus.h"
index 59c27268d6298885fdfd5c6e36bc2f280bb95b3a..c37128d1d9700588ed5f17d3462b0baa54716bd6 100644 (file)
@@ -21,7 +21,6 @@
 #include <defs.h>
 #include <brcmu_wifi.h>
 #include <brcmu_utils.h>
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_bus.h"
 #include "dhd_proto.h"
index 1a7752d5938e109048ac0f6e060ce90bdd4c2855..43a5b14b0a125ee9889d769b18725f222719a8b0 100644 (file)
@@ -33,7 +33,6 @@
 #include <brcmu_utils.h>
 #include <brcmu_wifi.h>
 
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_bus.h"
 #include "dhd_proto.h"
index 077cb49db698ff0d1c338859d4d198bdca5a04f9..6cb922fe5d90309d094455b2e5bd6b2ee40b33a9 100644 (file)
@@ -152,7 +152,6 @@ struct rte_console {
 
 #include "sbsdio.h"
 
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "dhd_bus.h"
 #include "dhd_proto.h"
diff --git a/drivers/staging/brcm80211/brcmfmac/dngl_stats.h b/drivers/staging/brcm80211/brcmfmac/dngl_stats.h
deleted file mode 100644 (file)
index 53a50f6..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Copyright (c) 2010 Broadcom Corporation
- *
- * Permission to use, copy, modify, and/or distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
- * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
- * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
- * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#ifndef _dngl_stats_h_
-#define _dngl_stats_h_
-
-struct dngl_stats {
-       unsigned long rx_packets;       /* total packets received */
-       unsigned long tx_packets;       /* total packets transmitted */
-       unsigned long rx_bytes; /* total bytes received */
-       unsigned long tx_bytes; /* total bytes transmitted */
-       unsigned long rx_errors;        /* bad packets received */
-       unsigned long tx_errors;        /* packet transmit problems */
-       unsigned long rx_dropped;       /* packets dropped by dongle */
-       unsigned long tx_dropped;       /* packets dropped by dongle */
-       unsigned long multicast;        /* multicast packets received */
-};
-
-#endif                         /* _dngl_stats_h_ */
index f6118d1f3f1249b3ca47f66f01701001245b0aec..821206d3e5360ebf0072249e9b433f1ca6c97263 100644 (file)
@@ -31,7 +31,6 @@
 #include <brcmu_utils.h>
 #include <defs.h>
 #include <brcmu_wifi.h>
-#include "dngl_stats.h"
 #include "dhd.h"
 #include "wl_cfg80211.h"