Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_proto.h
Show First 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | |||||
int ieee80211_send_proberesp(struct ieee80211vap *, | int ieee80211_send_proberesp(struct ieee80211vap *, | ||||
const uint8_t da[IEEE80211_ADDR_LEN], int); | const uint8_t da[IEEE80211_ADDR_LEN], int); | ||||
struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic, | struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic, | ||||
const uint8_t [IEEE80211_ADDR_LEN], | const uint8_t [IEEE80211_ADDR_LEN], | ||||
const uint8_t [IEEE80211_ADDR_LEN], uint16_t); | const uint8_t [IEEE80211_ADDR_LEN], uint16_t); | ||||
struct mbuf *ieee80211_alloc_cts(struct ieee80211com *, | struct mbuf *ieee80211_alloc_cts(struct ieee80211com *, | ||||
const uint8_t [IEEE80211_ADDR_LEN], uint16_t); | const uint8_t [IEEE80211_ADDR_LEN], uint16_t); | ||||
struct mbuf *ieee80211_alloc_prot(struct ieee80211_node *, | struct mbuf *ieee80211_alloc_prot(struct ieee80211_node *, | ||||
const struct mbuf *, uint8_t, int); | const struct mbuf *, uint16_t, int); | ||||
uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *); | uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *); | ||||
uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *); | uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *); | ||||
uint8_t *ieee80211_add_ssid(uint8_t *, const uint8_t *, u_int); | uint8_t *ieee80211_add_ssid(uint8_t *, const uint8_t *, u_int); | ||||
uint8_t *ieee80211_add_wpa(uint8_t *, const struct ieee80211vap *); | uint8_t *ieee80211_add_wpa(uint8_t *, const struct ieee80211vap *); | ||||
uint8_t *ieee80211_add_rsn(uint8_t *, const struct ieee80211vap *); | uint8_t *ieee80211_add_rsn(uint8_t *, const struct ieee80211vap *); | ||||
uint8_t *ieee80211_add_qos(uint8_t *, const struct ieee80211_node *); | uint8_t *ieee80211_add_qos(uint8_t *, const struct ieee80211_node *); | ||||
uint16_t ieee80211_getcapinfo(struct ieee80211vap *, | uint16_t ieee80211_getcapinfo(struct ieee80211vap *, | ||||
▲ Show 20 Lines • Show All 91 Lines • ▼ Show 20 Lines | struct ieee80211_aclator { | ||||
int (*iac_getioctl)(struct ieee80211vap *, struct ieee80211req *); | int (*iac_getioctl)(struct ieee80211vap *, struct ieee80211req *); | ||||
}; | }; | ||||
void ieee80211_aclator_register(const struct ieee80211_aclator *); | void ieee80211_aclator_register(const struct ieee80211_aclator *); | ||||
void ieee80211_aclator_unregister(const struct ieee80211_aclator *); | void ieee80211_aclator_unregister(const struct ieee80211_aclator *); | ||||
const struct ieee80211_aclator *ieee80211_aclator_get(const char *name); | const struct ieee80211_aclator *ieee80211_aclator_get(const char *name); | ||||
/* flags for ieee80211_fix_rate() */ | /* flags for ieee80211_fix_rate() */ | ||||
#define IEEE80211_F_DOSORT 0x00000001 /* sort rate list */ | #define IEEE80211_F_DOSORT 0x00000001 /* sort rate list */ | ||||
#define IEEE80211_F_DOFRATE 0x00000002 /* use fixed legacy rate */ | #define IEEE80211_F_DOFIXED 0x00000002 /* use fixed rate */ | ||||
#define IEEE80211_F_DONEGO 0x00000004 /* calc negotiated rate */ | #define IEEE80211_F_DONEGO 0x00000004 /* calc negotiated rate */ | ||||
#define IEEE80211_F_DODEL 0x00000008 /* delete ignore rate */ | #define IEEE80211_F_DODEL 0x00000008 /* delete ignore rate */ | ||||
#define IEEE80211_F_DOBRS 0x00000010 /* check basic rate set */ | #define IEEE80211_F_JOIN 0x00000010 /* sta joining our bss */ | ||||
#define IEEE80211_F_JOIN 0x00000020 /* sta joining our bss */ | #define IEEE80211_F_RATE_MASK 0x00000060 /* rateset type */ | ||||
#define IEEE80211_F_DOFMCS 0x00000040 /* use fixed HT rate */ | #define IEEE80211_F_RATE_LEGACY 0x00000000 /* use legacy rate */ | ||||
#define IEEE80211_F_RATE_MCS 0x00000020 /* use HT rate */ | |||||
#define IEEE80211_F_RATE_VHT 0x00000040 /* use VHT rate */ | |||||
/* return value flag */ | |||||
#define IEEE80211_F_RATESET_ERROR 0x80000000 | |||||
int ieee80211_fix_rate(struct ieee80211_node *, | int ieee80211_fix_rate(struct ieee80211_node *, | ||||
struct ieee80211_rateset *, int); | struct ieee80211_rateset *, int); | ||||
/* | /* | ||||
* WME/WMM support. | * WME/WMM support. | ||||
*/ | */ | ||||
struct wmeParams { | struct wmeParams { | ||||
uint8_t wmep_acm; | uint8_t wmep_acm; | ||||
▲ Show 20 Lines • Show All 177 Lines • Show Last 20 Lines |