Deleted Added
full compact
ieee80211_node.c (148299) ieee80211_node.c (148301)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:

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

26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:

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

26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_node.c 148299 2005-07-22 17:29:03Z sam $");
34__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_node.c 148301 2005-07-22 17:31:18Z sam $");
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/mbuf.h>
39#include <sys/malloc.h>
40#include <sys/kernel.h>
41
42#include <sys/socket.h>

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

1472 * for ps-poll support so it should be...).
1473 */
1474 if (0 < ni->ni_inact &&
1475 ni->ni_inact <= ic->ic_inact_probe) {
1476 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
1477 "[%s] probe station due to inactivity\n",
1478 ether_sprintf(ni->ni_macaddr));
1479 IEEE80211_NODE_UNLOCK(nt);
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/mbuf.h>
39#include <sys/malloc.h>
40#include <sys/kernel.h>
41
42#include <sys/socket.h>

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

1472 * for ps-poll support so it should be...).
1473 */
1474 if (0 < ni->ni_inact &&
1475 ni->ni_inact <= ic->ic_inact_probe) {
1476 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
1477 "[%s] probe station due to inactivity\n",
1478 ether_sprintf(ni->ni_macaddr));
1479 IEEE80211_NODE_UNLOCK(nt);
1480 ieee80211_send_nulldata(ic, ni);
1480 ieee80211_send_nulldata(ni);
1481 /* XXX stat? */
1482 goto restart;
1483 }
1484 }
1485 if (ni->ni_inact <= 0) {
1486 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
1487 "[%s] station timed out due to inactivity "
1488 "(refcnt %u)\n", ether_sprintf(ni->ni_macaddr),

--- 447 unchanged lines hidden ---
1481 /* XXX stat? */
1482 goto restart;
1483 }
1484 }
1485 if (ni->ni_inact <= 0) {
1486 IEEE80211_DPRINTF(ic, IEEE80211_MSG_NODE,
1487 "[%s] station timed out due to inactivity "
1488 "(refcnt %u)\n", ether_sprintf(ni->ni_macaddr),

--- 447 unchanged lines hidden ---