Deleted Added
full compact
if_iwn.c (178704) if_iwn.c (178957)
1/*-
2 * Copyright (c) 2007
3 * Damien Bergamini <damien.bergamini@free.fr>
4 * Copyright (c) 2008
5 * Benjamin Close <benjsc@FreeBSD.org>
6 * Copyright (c) 2008 Sam Leffler, Errno Consulting
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 */
20
21/*
22 * Driver for Intel Wireless WiFi Link 4965AGN 802.11 network adapters.
23 */
24
25#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007
3 * Damien Bergamini <damien.bergamini@free.fr>
4 * Copyright (c) 2008
5 * Benjamin Close <benjsc@FreeBSD.org>
6 * Copyright (c) 2008 Sam Leffler, Errno Consulting
7 *
8 * Permission to use, copy, modify, and distribute this software for any

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

18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 */
20
21/*
22 * Driver for Intel Wireless WiFi Link 4965AGN 802.11 network adapters.
23 */
24
25#include <sys/cdefs.h>
26__FBSDID("$FreeBSD: head/sys/dev/iwn/if_iwn.c 178704 2008-05-01 04:55:00Z thompsa $");
26__FBSDID("$FreeBSD: head/sys/dev/iwn/if_iwn.c 178957 2008-05-12 00:15:30Z sam $");
27
28#include <sys/param.h>
29#include <sys/sockio.h>
30#include <sys/sysctl.h>
31#include <sys/mbuf.h>
32#include <sys/kernel.h>
33#include <sys/socket.h>
34#include <sys/systm.h>

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

372 ic = ifp->if_l2com;
373
374 ic->ic_ifp = ifp;
375 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
376 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
377
378 /* set device capabilities */
379 ic->ic_caps =
27
28#include <sys/param.h>
29#include <sys/sockio.h>
30#include <sys/sysctl.h>
31#include <sys/mbuf.h>
32#include <sys/kernel.h>
33#include <sys/socket.h>
34#include <sys/systm.h>

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

372 ic = ifp->if_l2com;
373
374 ic->ic_ifp = ifp;
375 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
376 ic->ic_opmode = IEEE80211_M_STA; /* default to BSS mode */
377
378 /* set device capabilities */
379 ic->ic_caps =
380 IEEE80211_C_MONITOR /* monitor mode supported */
380 IEEE80211_C_STA /* station mode supported */
381 | IEEE80211_C_MONITOR /* monitor mode supported */
381 | IEEE80211_C_TXPMGT /* tx power management */
382 | IEEE80211_C_SHSLOT /* short slot time supported */
383 | IEEE80211_C_WPA
384 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
385#if 0
386 | IEEE80211_C_BGSCAN /* background scanning */
387 | IEEE80211_C_IBSS /* ibss/adhoc mode */
388#endif

--- 4230 unchanged lines hidden ---
382 | IEEE80211_C_TXPMGT /* tx power management */
383 | IEEE80211_C_SHSLOT /* short slot time supported */
384 | IEEE80211_C_WPA
385 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
386#if 0
387 | IEEE80211_C_BGSCAN /* background scanning */
388 | IEEE80211_C_IBSS /* ibss/adhoc mode */
389#endif

--- 4230 unchanged lines hidden ---