[bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate.

Tested:

* BCM4322, STA mode (11a)

Sponsored by:	Palm Springs
This commit is contained in:
adrian 2016-05-16 22:56:45 +00:00
parent c856e546a8
commit a9943f3dca
7 changed files with 18 additions and 2 deletions

View File

@ -30,6 +30,9 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_bwn.h"
#include "opt_wlan.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/module.h> #include <sys/module.h>

View File

@ -32,8 +32,6 @@
#ifndef __IF_BWN_DEBUG_H__ #ifndef __IF_BWN_DEBUG_H__
#define __IF_BWN_DEBUG_H__ #define __IF_BWN_DEBUG_H__
#define BWN_DEBUG
enum { enum {
BWN_DEBUG_XMIT = 0x00000001, /* basic xmit operation */ BWN_DEBUG_XMIT = 0x00000001, /* basic xmit operation */
BWN_DEBUG_RECV = 0x00000002, /* basic recv operation */ BWN_DEBUG_RECV = 0x00000002, /* basic recv operation */

View File

@ -30,6 +30,9 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_bwn.h"
#include "opt_wlan.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/kernel.h> #include <sys/kernel.h>
#include <sys/bus.h> #include <sys/bus.h>

View File

@ -31,6 +31,9 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_bwn.h"
#include "opt_wlan.h"
/* /*
* The Broadcom Wireless LAN controller driver. * The Broadcom Wireless LAN controller driver.
*/ */

View File

@ -30,6 +30,9 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_bwn.h"
#include "opt_wlan.h"
/* /*
* The Broadcom Wireless LAN controller driver. * The Broadcom Wireless LAN controller driver.
*/ */

View File

@ -30,6 +30,9 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__FBSDID("$FreeBSD$"); __FBSDID("$FreeBSD$");
#include "opt_bwn.h"
#include "opt_wlan.h"
/* /*
* The Broadcom Wireless LAN controller driver. * The Broadcom Wireless LAN controller driver.
*/ */

View File

@ -34,6 +34,9 @@ __FBSDID("$FreeBSD$");
* The Broadcom Wireless LAN controller driver. * The Broadcom Wireless LAN controller driver.
*/ */
#include "opt_bwn.h"
#include "opt_wlan.h"
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>
#include <sys/kernel.h> #include <sys/kernel.h>