if_ipw.c (178931) | if_ipw.c (178957) |
---|---|
1/* $FreeBSD: head/sys/dev/ipw/if_ipw.c 178931 2008-05-10 20:25:59Z thompsa $ */ | 1/* $FreeBSD: head/sys/dev/ipw/if_ipw.c 178957 2008-05-12 00:15:30Z sam $ */ |
2 3/*- 4 * Copyright (c) 2004-2006 5 * Damien Bergamini <damien.bergamini@free.fr>. All rights reserved. 6 * Copyright (c) 2006 Sam Leffler, Errno Consulting 7 * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org> 8 * 9 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> | 2 3/*- 4 * Copyright (c) 2004-2006 5 * Damien Bergamini <damien.bergamini@free.fr>. All rights reserved. 6 * Copyright (c) 2006 Sam Leffler, Errno Consulting 7 * Copyright (c) 2007 Andrew Thompson <thompsa@FreeBSD.org> 8 * 9 * Redistribution and use in source and binary forms, with or without --- 15 unchanged lines hidden (view full) --- 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#include <sys/cdefs.h> |
33__FBSDID("$FreeBSD: head/sys/dev/ipw/if_ipw.c 178931 2008-05-10 20:25:59Z thompsa $"); | 33__FBSDID("$FreeBSD: head/sys/dev/ipw/if_ipw.c 178957 2008-05-12 00:15:30Z sam $"); |
34 35/*- 36 * Intel(R) PRO/Wireless 2100 MiniPCI driver 37 * http://www.intel.com/network/connectivity/products/wireless/prowireless_mobile.htm 38 */ 39 40#include <sys/param.h> 41#include <sys/sysctl.h> --- 258 unchanged lines hidden (view full) --- 300 ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; 301 IFQ_SET_READY(&ifp->if_snd); 302 303 ic->ic_ifp = ifp; 304 ic->ic_opmode = IEEE80211_M_STA; 305 ic->ic_phytype = IEEE80211_T_DS; 306 307 /* set device capabilities */ | 34 35/*- 36 * Intel(R) PRO/Wireless 2100 MiniPCI driver 37 * http://www.intel.com/network/connectivity/products/wireless/prowireless_mobile.htm 38 */ 39 40#include <sys/param.h> 41#include <sys/sysctl.h> --- 258 unchanged lines hidden (view full) --- 300 ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; 301 IFQ_SET_READY(&ifp->if_snd); 302 303 ic->ic_ifp = ifp; 304 ic->ic_opmode = IEEE80211_M_STA; 305 ic->ic_phytype = IEEE80211_T_DS; 306 307 /* set device capabilities */ |
308 ic->ic_caps = IEEE80211_C_IBSS /* IBSS mode supported */ | 308 ic->ic_caps = 309 IEEE80211_C_STA /* station mode supported */ 310 | IEEE80211_C_IBSS /* IBSS mode supported */ |
309 | IEEE80211_C_MONITOR /* monitor mode supported */ 310 | IEEE80211_C_PMGT /* power save supported */ 311 | IEEE80211_C_SHPREAMBLE /* short preamble supported */ 312 | IEEE80211_C_WPA /* 802.11i supported */ 313 ; 314 315 /* read MAC address from EEPROM */ 316 val = ipw_read_prom_word(sc, IPW_EEPROM_MAC + 0); --- 2462 unchanged lines hidden --- | 311 | IEEE80211_C_MONITOR /* monitor mode supported */ 312 | IEEE80211_C_PMGT /* power save supported */ 313 | IEEE80211_C_SHPREAMBLE /* short preamble supported */ 314 | IEEE80211_C_WPA /* 802.11i supported */ 315 ; 316 317 /* read MAC address from EEPROM */ 318 val = ipw_read_prom_word(sc, IPW_EEPROM_MAC + 0); --- 2462 unchanged lines hidden --- |