Deleted Added
full compact
if_bwn.c (204983) if_bwn.c (205141)
1/*-
2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2009-2010 Weongyo Jeong <weongyo@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 */
29
30#include <sys/cdefs.h>
31__FBSDID("$FreeBSD: head/sys/dev/bwn/if_bwn.c 204983 2010-03-10 21:45:40Z yongari $");
31__FBSDID("$FreeBSD: head/sys/dev/bwn/if_bwn.c 205141 2010-03-14 02:13:11Z weongyo $");
32
33/*
34 * The Broadcom Wireless LAN controller driver.
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/module.h>

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

1071 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
1072 | IEEE80211_C_SHSLOT /* short slot time supported */
1073 | IEEE80211_C_WME /* WME/WMM supported */
1074 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */
1075 | IEEE80211_C_BGSCAN /* capable of bg scanning */
1076 | IEEE80211_C_TXPMGT /* capable of txpow mgt */
1077 ;
1078
32
33/*
34 * The Broadcom Wireless LAN controller driver.
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/module.h>

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

1071 | IEEE80211_C_SHPREAMBLE /* short preamble supported */
1072 | IEEE80211_C_SHSLOT /* short slot time supported */
1073 | IEEE80211_C_WME /* WME/WMM supported */
1074 | IEEE80211_C_WPA /* capable of WPA1+WPA2 */
1075 | IEEE80211_C_BGSCAN /* capable of bg scanning */
1076 | IEEE80211_C_TXPMGT /* capable of txpow mgt */
1077 ;
1078
1079 ic->ic_flags_ext |= IEEE80211_FEXT_SWBMISS; /* s/w bmiss */
1080
1079 /* call MI attach routine. */
1080 ieee80211_ifattach(ic,
1081 bwn_is_valid_ether_addr(siba_sprom_get_mac_80211a(sc->sc_dev)) ?
1082 siba_sprom_get_mac_80211a(sc->sc_dev) :
1083 siba_sprom_get_mac_80211bg(sc->sc_dev));
1084
1085 ic->ic_headroom = sizeof(struct bwn_txhdr);
1086

--- 13198 unchanged lines hidden ---
1081 /* call MI attach routine. */
1082 ieee80211_ifattach(ic,
1083 bwn_is_valid_ether_addr(siba_sprom_get_mac_80211a(sc->sc_dev)) ?
1084 siba_sprom_get_mac_80211a(sc->sc_dev) :
1085 siba_sprom_get_mac_80211bg(sc->sc_dev));
1086
1087 ic->ic_headroom = sizeof(struct bwn_txhdr);
1088

--- 13198 unchanged lines hidden ---