Changeset View
Changeset View
Standalone View
Standalone View
head/sys/net80211/ieee80211_freebsd.h
Show All 37 Lines | |||||
#include <sys/rwlock.h> | #include <sys/rwlock.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <sys/taskqueue.h> | #include <sys/taskqueue.h> | ||||
#include <sys/time.h> | #include <sys/time.h> | ||||
#include <net/debugnet.h> | #include <net/debugnet.h> | ||||
/* | /* | ||||
* priv(9) NET80211 checks. | |||||
*/ | |||||
struct ieee80211vap; | |||||
int ieee80211_priv_check_vap_getkey(u_long, struct ieee80211vap *, | |||||
struct ifnet *); | |||||
int ieee80211_priv_check_vap_manage(u_long, struct ieee80211vap *, | |||||
struct ifnet *); | |||||
int ieee80211_priv_check_vap_setmac(u_long, struct ieee80211vap *, | |||||
struct ifnet *); | |||||
int ieee80211_priv_check_create_vap(u_long, struct ieee80211vap *, | |||||
struct ifnet *); | |||||
/* | |||||
* Common state locking definitions. | * Common state locking definitions. | ||||
*/ | */ | ||||
typedef struct { | typedef struct { | ||||
char name[16]; /* e.g. "ath0_com_lock" */ | char name[16]; /* e.g. "ath0_com_lock" */ | ||||
struct mtx mtx; | struct mtx mtx; | ||||
} ieee80211_com_lock_t; | } ieee80211_com_lock_t; | ||||
#define IEEE80211_LOCK_INIT(_ic, _name) do { \ | #define IEEE80211_LOCK_INIT(_ic, _name) do { \ | ||||
ieee80211_com_lock_t *cl = &(_ic)->ic_comlock; \ | ieee80211_com_lock_t *cl = &(_ic)->ic_comlock; \ | ||||
▲ Show 20 Lines • Show All 656 Lines • Show Last 20 Lines |