Deleted Added
full compact
rt2661.c (178948) rt2661.c (178957)
1/* $FreeBSD: head/sys/dev/ral/rt2661.c 178948 2008-05-11 22:11:01Z sam $ */
1/* $FreeBSD: head/sys/dev/ral/rt2661.c 178957 2008-05-12 00:15:30Z sam $ */
2
3/*-
4 * Copyright (c) 2006
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 */
19
20#include <sys/cdefs.h>
2
3/*-
4 * Copyright (c) 2006
5 * Damien Bergamini <damien.bergamini@free.fr>
6 *
7 * Permission to use, copy, modify, and distribute this software for any
8 * purpose with or without fee is hereby granted, provided that the above
9 * copyright notice and this permission notice appear in all copies.
10 *
11 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 */
19
20#include <sys/cdefs.h>
21__FBSDID("$FreeBSD: head/sys/dev/ral/rt2661.c 178948 2008-05-11 22:11:01Z sam $");
21__FBSDID("$FreeBSD: head/sys/dev/ral/rt2661.c 178957 2008-05-12 00:15:30Z sam $");
22
23/*-
24 * Ralink Technology RT2561, RT2561S and RT2661 chipset driver
25 * http://www.ralinktech.com/
26 */
27
28#include <sys/param.h>
29#include <sys/sysctl.h>

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

275 IFQ_SET_READY(&ifp->if_snd);
276
277 ic->ic_ifp = ifp;
278 ic->ic_opmode = IEEE80211_M_STA;
279 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
280
281 /* set device capabilities */
282 ic->ic_caps =
22
23/*-
24 * Ralink Technology RT2561, RT2561S and RT2661 chipset driver
25 * http://www.ralinktech.com/
26 */
27
28#include <sys/param.h>
29#include <sys/sysctl.h>

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

275 IFQ_SET_READY(&ifp->if_snd);
276
277 ic->ic_ifp = ifp;
278 ic->ic_opmode = IEEE80211_M_STA;
279 ic->ic_phytype = IEEE80211_T_OFDM; /* not only, but not used */
280
281 /* set device capabilities */
282 ic->ic_caps =
283 IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
283 IEEE80211_C_STA /* station mode */
284 | IEEE80211_C_IBSS /* ibss, nee adhoc, mode */
284 | IEEE80211_C_HOSTAP /* hostap mode */
285 | IEEE80211_C_MONITOR /* monitor mode */
286 | IEEE80211_C_AHDEMO /* adhoc demo mode */
287 | IEEE80211_C_WDS /* 4-address traffic works */
288 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
289 | IEEE80211_C_SHSLOT /* short slot time supported */
290 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */
291 | IEEE80211_C_BGSCAN /* capable of bg scanning */

--- 2580 unchanged lines hidden ---
285 | IEEE80211_C_HOSTAP /* hostap mode */
286 | IEEE80211_C_MONITOR /* monitor mode */
287 | IEEE80211_C_AHDEMO /* adhoc demo mode */
288 | IEEE80211_C_WDS /* 4-address traffic works */
289 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
290 | IEEE80211_C_SHSLOT /* short slot time supported */
291 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */
292 | IEEE80211_C_BGSCAN /* capable of bg scanning */

--- 2580 unchanged lines hidden ---