Deleted Added
full compact
ieee80211_output.c (184286) ieee80211_output.c (184288)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 11 unchanged lines hidden (view full) ---

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_output.c 184286 2008-10-26 00:55:38Z sam $");
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_output.c 184288 2008-10-26 01:04:46Z sam $");
29
30#include "opt_inet.h"
31#include "opt_wlan.h"
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/mbuf.h>
36#include <sys/kernel.h>

--- 183 unchanged lines hidden (view full) ---

220 if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) &&
221 (m->m_flags & M_PWR_SAV) == 0) {
222 /*
223 * Station in power save mode; pass the frame
224 * to the 802.11 layer and continue. We'll get
225 * the frame back when the time is right.
226 * XXX lose WDS vap linkage?
227 */
29
30#include "opt_inet.h"
31#include "opt_wlan.h"
32
33#include <sys/param.h>
34#include <sys/systm.h>
35#include <sys/mbuf.h>
36#include <sys/kernel.h>

--- 183 unchanged lines hidden (view full) ---

220 if ((ni->ni_flags & IEEE80211_NODE_PWR_MGT) &&
221 (m->m_flags & M_PWR_SAV) == 0) {
222 /*
223 * Station in power save mode; pass the frame
224 * to the 802.11 layer and continue. We'll get
225 * the frame back when the time is right.
226 * XXX lose WDS vap linkage?
227 */
228 ieee80211_pwrsave(ni, m);
228 (void) ieee80211_pwrsave(ni, m);
229 ieee80211_free_node(ni);
230 continue;
231 }
232 /* calculate priority so drivers can find the tx queue */
233 if (ieee80211_classify(ni, m)) {
234 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_OUTPUT,
235 eh->ether_dhost, NULL,
236 "%s", "classification failure");

--- 2687 unchanged lines hidden ---
229 ieee80211_free_node(ni);
230 continue;
231 }
232 /* calculate priority so drivers can find the tx queue */
233 if (ieee80211_classify(ni, m)) {
234 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_OUTPUT,
235 eh->ether_dhost, NULL,
236 "%s", "classification failure");

--- 2687 unchanged lines hidden ---