if_malo.c (178365) | if_malo.c (178957) |
---|---|
1/*- 2 * Copyright (c) 2008 Weongyo Jeong <weongyo@freebsd.org> 3 * Copyright (c) 2007 Marvell Semiconductor, Inc. 4 * Copyright (c) 2007 Sam Leffler, Errno Consulting 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 27 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29 * THE POSSIBILITY OF SUCH DAMAGES. 30 */ 31 32#include <sys/cdefs.h> 33#ifdef __FreeBSD__ | 1/*- 2 * Copyright (c) 2008 Weongyo Jeong <weongyo@freebsd.org> 3 * Copyright (c) 2007 Marvell Semiconductor, Inc. 4 * Copyright (c) 2007 Sam Leffler, Errno Consulting 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 17 unchanged lines hidden (view full) --- 26 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER 27 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 29 * THE POSSIBILITY OF SUCH DAMAGES. 30 */ 31 32#include <sys/cdefs.h> 33#ifdef __FreeBSD__ |
34__FBSDID("$FreeBSD: head/sys/dev/malo/if_malo.c 178365 2008-04-20 23:10:44Z sam $"); | 34__FBSDID("$FreeBSD: head/sys/dev/malo/if_malo.c 178957 2008-05-12 00:15:30Z sam $"); |
35#endif 36 37#include "opt_malo.h" 38 39#include <sys/param.h> 40#include <sys/endian.h> 41#include <sys/kernel.h> 42#include <sys/socket.h> --- 253 unchanged lines hidden (view full) --- 296 ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; 297 IFQ_SET_READY(&ifp->if_snd); 298 299 ic->ic_ifp = ifp; 300 /* XXX not right but it's not used anywhere important */ 301 ic->ic_phytype = IEEE80211_T_OFDM; 302 ic->ic_opmode = IEEE80211_M_STA; 303 ic->ic_caps = | 35#endif 36 37#include "opt_malo.h" 38 39#include <sys/param.h> 40#include <sys/endian.h> 41#include <sys/kernel.h> 42#include <sys/socket.h> --- 253 unchanged lines hidden (view full) --- 296 ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; 297 IFQ_SET_READY(&ifp->if_snd); 298 299 ic->ic_ifp = ifp; 300 /* XXX not right but it's not used anywhere important */ 301 ic->ic_phytype = IEEE80211_T_OFDM; 302 ic->ic_opmode = IEEE80211_M_STA; 303 ic->ic_caps = |
304 IEEE80211_C_BGSCAN /* capable of bg scanning */ | 304 IEEE80211_C_STA /* station mode supported */ 305 | IEEE80211_C_BGSCAN /* capable of bg scanning */ |
305 | IEEE80211_C_MONITOR /* monitor mode */ 306 | IEEE80211_C_SHPREAMBLE /* short preamble supported */ 307 | IEEE80211_C_SHSLOT /* short slot time supported */ 308 | IEEE80211_C_TXPMGT /* capable of txpow mgt */ 309 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */ 310 ; 311 312 /* --- 2031 unchanged lines hidden --- | 306 | IEEE80211_C_MONITOR /* monitor mode */ 307 | IEEE80211_C_SHPREAMBLE /* short preamble supported */ 308 | IEEE80211_C_SHSLOT /* short slot time supported */ 309 | IEEE80211_C_TXPMGT /* capable of txpow mgt */ 310 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */ 311 ; 312 313 /* --- 2031 unchanged lines hidden --- |