summaryrefslogtreecommitdiffstats
path: root/sys/net80211/ieee80211_freebsd.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2005-07-06 01:55:17 +0000
committersam <sam@FreeBSD.org>2005-07-06 01:55:17 +0000
commit636341c188456598bd26ba332694534e3d968d94 (patch)
treeecb5d03d58eaae242d1c40ab64840e817645af65 /sys/net80211/ieee80211_freebsd.h
parent42be4e8353aebfc3cf73c7001101f6addf2df279 (diff)
downloadFreeBSD-src-636341c188456598bd26ba332694534e3d968d94.zip
FreeBSD-src-636341c188456598bd26ba332694534e3d968d94.tar.gz
Fix handling of data frames queued for a station in power save mode:
don't mark the MORE_DATA bit when taking it off the ps queue, there's no 802.11 header then; we must wait to do this at encap time so mark the mbuf instead. Reviewed by: avatar Approved by: re (scottl) Obtained from: Atheros
Diffstat (limited to 'sys/net80211/ieee80211_freebsd.h')
-rw-r--r--sys/net80211/ieee80211_freebsd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net80211/ieee80211_freebsd.h b/sys/net80211/ieee80211_freebsd.h
index 94b5296..17483b6 100644
--- a/sys/net80211/ieee80211_freebsd.h
+++ b/sys/net80211/ieee80211_freebsd.h
@@ -148,6 +148,7 @@ int ieee80211_node_dectestref(struct ieee80211_node *ni);
struct mbuf *ieee80211_getmgtframe(u_int8_t **frm, u_int pktlen);
#define M_LINK0 M_PROTO1 /* WEP requested */
#define M_PWR_SAV M_PROTO4 /* bypass PS handling */
+#define M_MORE_DATA M_PROTO5 /* more data frames to follow */
/*
* Encode WME access control bits in the PROTO flags.
* This is safe since it's passed directly in to the
OpenPOWER on IntegriCloud