Deleted Added
full compact
if_iwi.c (178704) if_iwi.c (178957)
1/*-
2 * Copyright (c) 2004, 2005
3 * Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
4 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting
5 * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2004, 2005
3 * Damien Bergamini <damien.bergamini@free.fr>. All rights reserved.
4 * Copyright (c) 2005-2006 Sam Leffler, Errno Consulting
5 * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org>
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/iwi/if_iwi.c 178704 2008-05-01 04:55:00Z thompsa $");
31__FBSDID("$FreeBSD: head/sys/dev/iwi/if_iwi.c 178957 2008-05-12 00:15:30Z sam $");
32
33/*-
34 * Intel(R) PRO/Wireless 2200BG/2225BG/2915ABG driver
35 * http://www.intel.com/network/connectivity/products/wireless/prowireless_mobile.htm
36 */
37
38#include <sys/param.h>
39#include <sys/sysctl.h>

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

383 IFQ_SET_READY(&ifp->if_snd);
384
385 ic->ic_ifp = ifp;
386 ic->ic_opmode = IEEE80211_M_STA;
387 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
388
389 /* set device capabilities */
390 ic->ic_caps =
32
33/*-
34 * Intel(R) PRO/Wireless 2200BG/2225BG/2915ABG driver
35 * http://www.intel.com/network/connectivity/products/wireless/prowireless_mobile.htm
36 */
37
38#include <sys/param.h>
39#include <sys/sysctl.h>

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

383 IFQ_SET_READY(&ifp->if_snd);
384
385 ic->ic_ifp = ifp;
386 ic->ic_opmode = IEEE80211_M_STA;
387 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
388
389 /* set device capabilities */
390 ic->ic_caps =
391 IEEE80211_C_IBSS /* IBSS mode supported */
391 IEEE80211_C_STA /* station mode supported */
392 | IEEE80211_C_IBSS /* IBSS mode supported */
392 | IEEE80211_C_MONITOR /* monitor mode supported */
393 | IEEE80211_C_PMGT /* power save supported */
394 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
395 | IEEE80211_C_WPA /* 802.11i */
396 | IEEE80211_C_WME /* 802.11e */
397#if 0
398 | IEEE80211_C_BGSCAN /* capable of bg scanning */
399#endif

--- 3295 unchanged lines hidden ---
393 | IEEE80211_C_MONITOR /* monitor mode supported */
394 | IEEE80211_C_PMGT /* power save supported */
395 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
396 | IEEE80211_C_WPA /* 802.11i */
397 | IEEE80211_C_WME /* 802.11e */
398#if 0
399 | IEEE80211_C_BGSCAN /* capable of bg scanning */
400#endif

--- 3295 unchanged lines hidden ---