VSF Documented
mac80211.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_MAC80211_H__
2#define __VSF_LINUX_MAC80211_H__
3
4#include <linux/if_ether.h>
5#include <linux/skbuff.h>
6#include <linux/workqueue.h>
7#include <linux/ieee80211.h>
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
15};
16
18 bool p2p;
19};
20
23};
24
27};
28
29struct ieee80211_ops;
32 void *priv;
33};
34
37 const struct ieee80211_ops *ops;
38
40};
41
49 FIF_PSPOLL = 1<<7,
52};
53
56};
57
59 void (*tx)(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, struct sk_buff *skb);
60 int (*start)(struct ieee80211_hw *hw);
61 void (*stop)(struct ieee80211_hw *hw);
62 int (*config)(struct ieee80211_hw *hw, u32 changed);
63 void (*configure_filter)(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *total_flags, u64 multicast);
64 void (*channel_switch)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch);
65
66 int (*add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
67 void (*remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif);
68};
69
70extern struct ieee80211_hw * ieee80211_alloc_hw(size_t priv_data_len, const struct ieee80211_ops *ops);
71extern int ieee80211_register_hw(struct ieee80211_hw *hw);
72extern void ieee80211_unregister_hw(struct ieee80211_hw *hw);
73extern void ieee80211_free_hw(struct ieee80211_hw *hw);
74
75extern void ieee80211_restart_hw(struct ieee80211_hw *hw);
76
77#ifdef __cplusplus
78}
79#endif
80
81#endif
#define ETH_ALEN
Definition if_ether.h:12
__u8 u8
Definition types.h:69
__u64 u64
Definition types.h:75
__u32 u32
Definition types.h:73
void ieee80211_unregister_hw(struct ieee80211_hw *hw)
int ieee80211_register_hw(struct ieee80211_hw *hw)
void ieee80211_restart_hw(struct ieee80211_hw *hw)
void ieee80211_free_hw(struct ieee80211_hw *hw)
struct ieee80211_hw * ieee80211_alloc_hw(size_t priv_data_len, const struct ieee80211_ops *ops)
Definition vsf_linux_core_80211.c:103
ieee80211_filter_flags
Definition mac80211.h:42
@ FIF_PLCPFAIL
Definition mac80211.h:45
@ FIF_PSPOLL
Definition mac80211.h:49
@ FIF_CONTROL
Definition mac80211.h:47
@ FIF_ALLMULTI
Definition mac80211.h:43
@ FIF_MCAST_ACTION
Definition mac80211.h:51
@ FIF_OTHER_BSS
Definition mac80211.h:48
@ FIF_BCN_PRBRESP_PROMISC
Definition mac80211.h:46
@ FIF_PROBE_REQ
Definition mac80211.h:50
@ FIF_FCSFAIL
Definition mac80211.h:44
Definition mac80211.h:54
int channel
Definition mac80211.h:55
Definition mac80211.h:25
u32 flags
Definition mac80211.h:26
Definition mac80211.h:30
void * priv
Definition mac80211.h:32
struct ieee80211_conf conf
Definition mac80211.h:31
Definition mac80211.h:35
struct ieee80211_hw hw
Definition mac80211.h:36
const struct ieee80211_ops * ops
Definition mac80211.h:37
struct work_struct restart_work
Definition mac80211.h:39
Definition mac80211.h:58
int(* start)(struct ieee80211_hw *hw)
Definition mac80211.h:60
void(* stop)(struct ieee80211_hw *hw)
Definition mac80211.h:61
void(* remove_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
Definition mac80211.h:67
void(* configure_filter)(struct ieee80211_hw *hw, unsigned int changed_flags, unsigned int *total_flags, u64 multicast)
Definition mac80211.h:63
void(* channel_switch)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, struct ieee80211_channel_switch *ch_switch)
Definition mac80211.h:64
int(* add_interface)(struct ieee80211_hw *hw, struct ieee80211_vif *vif)
Definition mac80211.h:66
int(* config)(struct ieee80211_hw *hw, u32 changed)
Definition mac80211.h:62
void(* tx)(struct ieee80211_hw *hw, struct ieee80211_tx_control *control, struct sk_buff *skb)
Definition mac80211.h:59
Definition mac80211.h:13
u8 addr[ETH_ALEN]
Definition mac80211.h:14
Definition mac80211.h:21
struct ieee80211_sta * sta
Definition mac80211.h:22
Definition mac80211.h:17
bool p2p
Definition mac80211.h:18
Definition skbuff.h:22
Definition workqueue.h:15