summaryrefslogtreecommitdiffstats
path: root/sys/dev/mwl/if_mwlvar.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2009-07-05 17:59:19 +0000
committersam <sam@FreeBSD.org>2009-07-05 17:59:19 +0000
commitedf89f716262ec28b66e3ba8f49c4a1c11ff0f4c (patch)
tree2b0355c63191e76e8d9a8248e3dcb6081298f0c7 /sys/dev/mwl/if_mwlvar.h
parentc67dff7aca2dbc37c9abe5f0d576016dd2b9905c (diff)
downloadFreeBSD-src-edf89f716262ec28b66e3ba8f49c4a1c11ff0f4c.zip
FreeBSD-src-edf89f716262ec28b66e3ba8f49c4a1c11ff0f4c.tar.gz
Revamp 802.11 action frame handling:
o add a new facility for components to register send+recv handlers o ieee80211_send_action and ieee80211_recv_action now use the registered handlers to dispatch operations o rev ieee80211_send_action api to enable passing arbitrary data o rev ieee80211_recv_action api to pass the 802.11 frame header as it may be difficult to locate o update existing IEEE80211_ACTION_CAT_BA and IEEE80211_ACTION_CAT_HT handling o update mwl for api rev Reviewed by: rpaulo Approved by: re (kensmith)
Diffstat (limited to 'sys/dev/mwl/if_mwlvar.h')
-rw-r--r--sys/dev/mwl/if_mwlvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/mwl/if_mwlvar.h b/sys/dev/mwl/if_mwlvar.h
index 182321a..d69285d 100644
--- a/sys/dev/mwl/if_mwlvar.h
+++ b/sys/dev/mwl/if_mwlvar.h
@@ -289,7 +289,8 @@ struct mwl_softc {
enum ieee80211_state, int);
void (*sc_node_cleanup)(struct ieee80211_node *);
void (*sc_node_drain)(struct ieee80211_node *);
- void (*sc_recv_action)(struct ieee80211_node *,
+ int (*sc_recv_action)(struct ieee80211_node *,
+ const struct ieee80211_frame *,
const uint8_t *, const uint8_t *);
int (*sc_addba_request)(struct ieee80211_node *,
struct ieee80211_tx_ampdu *,
OpenPOWER on IntegriCloud