diff options
author | sam <sam@FreeBSD.org> | 2009-07-05 17:59:19 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-07-05 17:59:19 +0000 |
commit | edf89f716262ec28b66e3ba8f49c4a1c11ff0f4c (patch) | |
tree | 2b0355c63191e76e8d9a8248e3dcb6081298f0c7 /sys/net80211/ieee80211_hostap.c | |
parent | c67dff7aca2dbc37c9abe5f0d576016dd2b9905c (diff) | |
download | FreeBSD-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/net80211/ieee80211_hostap.c')
-rw-r--r-- | sys/net80211/ieee80211_hostap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net80211/ieee80211_hostap.c b/sys/net80211/ieee80211_hostap.c index 3c5bb78..240ea7c 100644 --- a/sys/net80211/ieee80211_hostap.c +++ b/sys/net80211/ieee80211_hostap.c @@ -2189,7 +2189,7 @@ hostap_recv_mgmt(struct ieee80211_node *ni, struct mbuf *m0, case IEEE80211_FC0_SUBTYPE_ACTION: if (vap->iv_state == IEEE80211_S_RUN) { if (ieee80211_parse_action(ni, m0) == 0) - ic->ic_recv_action(ni, frm, efrm); + ic->ic_recv_action(ni, wh, frm, efrm); } else vap->iv_stats.is_rx_mgtdiscard++; break; |