Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 236177
b: refs/heads/master
c: 70dfb58
h: refs/heads/master
i:
  236175: 9d79fdd
v: v3
  • Loading branch information
Arend van Spriel authored and Greg Kroah-Hartman committed Mar 1, 2011
1 parent a676b26 commit fc33d52
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 51 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 44bb83af01dcbfd3982af0f4ef4dec916ab04168
refs/heads/master: 70dfb584a70adae99ae597a3deb418a8311a0998
9 changes: 8 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmfmac/dhd_sdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
#include <sbsdpcmdev.h>
#include <bcmsdpcm.h>

#include <proto/802.1d.h>
#include <proto/802.11.h>

#include <dngl_stats.h>
Expand Down Expand Up @@ -143,6 +142,14 @@
*/
#define PKTFREE2() if ((bus->bus != SPI_BUS) || bus->usebufpool) \
pkt_buf_free_skb(bus->dhd->osh, pkt, false);

/*
* Conversion of 802.1D priority to precedence level
*/
#define PRIO2PREC(prio) \
(((prio) == PRIO_8021D_NONE || (prio) == PRIO_8021D_BE) ? \
((prio^2)) : (prio))

DHD_SPINWAIT_SLEEP_INIT(sdioh_spinwait_sleep);
extern int dhdcdc_set_ioctl(dhd_pub_t *dhd, int ifidx, uint cmd, void *buf,
uint len);
Expand Down
5 changes: 3 additions & 2 deletions trunk/drivers/staging/brcm80211/brcmsmac/wl_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
#include <linux/firmware.h>
#include <net/mac80211.h>

#include <proto/802.1d.h>
#include <bcmdefs.h>
#include <proto/802.11.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmwifi.h>
#include <bcmutils.h>
#include <pcicfg.h>
#include <wlioctl.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_alloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/kernel.h>
#include <linux/types.h>

#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_ampdu.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
#include <linux/kernel.h>
#include <net/mac80211.h>

#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_antsel.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <linux/module.h>
#include <linux/pci.h>

#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_bmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
#include <linux/etherdevice.h>

#include <proto/802.11.h>
#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_channel.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#include <linux/module.h>
#include <linux/pci.h>

#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
Expand Down
7 changes: 6 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/etherdevice.h>
#include <net/mac80211.h>

#include <proto/802.1d.h>
#include <bcmdefs.h>
#include <bcmdevs.h>
#include <osl.h>
Expand Down Expand Up @@ -71,6 +70,12 @@
#define WPA_CAP_4_REPLAY_CNTRS RSN_CAP_4_REPLAY_CNTRS
#define WPA_CAP_16_REPLAY_CNTRS RSN_CAP_16_REPLAY_CNTRS

/*
* Indication for txflowcontrol that all priority bits in
* TXQ_STOP_FOR_PRIOFC_MASK are to be considered.
*/
#define ALLPRIO -1

/*
* buffer length needed for wlc_format_ssid
* 32 SSID chars, max of 4 chars for each SSID char "\xFF", plus NULL.
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_phy_shim.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <linux/pci.h>

#include <proto/802.11.h>
#include <proto/802.1d.h>
#include <osl.h>
#include <bcmdefs.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <linux/module.h>

#include <proto/802.11.h>
#include <proto/802.1d.h>
#include <bcmdefs.h>
#include <osl.h>
#include <bcmutils.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/brcmsmac/wlc_stf.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#include <linux/module.h>

#include <proto/802.11.h>
#include <proto/802.1d.h>

#include <bcmdefs.h>
#include <osl.h>
Expand Down
14 changes: 14 additions & 0 deletions trunk/drivers/staging/brcm80211/include/bcmdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,20 @@ typedef struct {
(((val) & (~(field ## _M << field ## _S))) | \
((unsigned)(bits) << field ## _S))

/*
* Priority definitions according 802.1D
*/
#define PRIO_8021D_NONE 2
#define PRIO_8021D_BK 1
#define PRIO_8021D_BE 0
#define PRIO_8021D_EE 3
#define PRIO_8021D_CL 4
#define PRIO_8021D_VI 5
#define PRIO_8021D_VO 6
#define PRIO_8021D_NC 7
#define MAXPRIO 7
#define NUMPRIO (MAXPRIO + 1)

/* Max. nvram variable table size */
#define MAXSZ_NVRAM_VARS 4096

Expand Down
37 changes: 0 additions & 37 deletions trunk/drivers/staging/brcm80211/include/proto/802.1d.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/staging/brcm80211/util/bcmutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <siutils.h>
#include <bcmnvram.h>
#include <bcmdevs.h>
#include <proto/802.1d.h>
#include <proto/802.11.h>

struct sk_buff *BCMFASTPATH pkt_buf_get_skb(struct osl_info *osh, uint len)
Expand Down

0 comments on commit fc33d52

Please sign in to comment.