Deleted Added
full compact
ieee80211_input.c (167441) ieee80211_input.c (167442)
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_input.c 167441 2007-03-11 07:15:38Z sam $");
34__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_input.c 167442 2007-03-11 07:22:21Z 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/endian.h>
41#include <sys/kernel.h>
42

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

823 "[%s] extended rate set too large;"
824 " only using %u of %u rates\n",
825 ether_sprintf(ni->ni_macaddr), nxrates, xrates[1]);
826 ic->ic_stats.is_rx_rstoobig++;
827 }
828 memcpy(rs->rs_rates + rs->rs_nrates, xrates+2, nxrates);
829 rs->rs_nrates += nxrates;
830 }
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/mbuf.h>
39#include <sys/malloc.h>
40#include <sys/endian.h>
41#include <sys/kernel.h>
42

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

823 "[%s] extended rate set too large;"
824 " only using %u of %u rates\n",
825 ether_sprintf(ni->ni_macaddr), nxrates, xrates[1]);
826 ic->ic_stats.is_rx_rstoobig++;
827 }
828 memcpy(rs->rs_rates + rs->rs_nrates, xrates+2, nxrates);
829 rs->rs_nrates += nxrates;
830 }
831 return ieee80211_fix_rate(ni, flags);
831 return ieee80211_fix_rate(ni, rs, flags);
832}
833
834static void
835ieee80211_auth_open(struct ieee80211com *ic, struct ieee80211_frame *wh,
836 struct ieee80211_node *ni, int rssi, u_int32_t rstamp, u_int16_t seq,
837 u_int16_t status)
838{
839

--- 2056 unchanged lines hidden ---
832}
833
834static void
835ieee80211_auth_open(struct ieee80211com *ic, struct ieee80211_frame *wh,
836 struct ieee80211_node *ni, int rssi, u_int32_t rstamp, u_int16_t seq,
837 u_int16_t status)
838{
839

--- 2056 unchanged lines hidden ---