if_bwivar.h (199198) | if_bwivar.h (206358) |
---|---|
1/* 2 * Copyright (c) 2007 The DragonFly Project. All rights reserved. 3 * 4 * This code is derived from software contributed to The DragonFly Project 5 * by Sepherosa Ziehau <sepherosa@gmail.com> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 31 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * $DragonFly: src/sys/dev/netif/bwi/if_bwivar.h,v 1.14 2008/02/15 11:15:38 sephe Exp $ | 1/* 2 * Copyright (c) 2007 The DragonFly Project. All rights reserved. 3 * 4 * This code is derived from software contributed to The DragonFly Project 5 * by Sepherosa Ziehau <sepherosa@gmail.com> 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 18 unchanged lines hidden (view full) --- 27 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 28 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 29 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 30 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 31 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * $DragonFly: src/sys/dev/netif/bwi/if_bwivar.h,v 1.14 2008/02/15 11:15:38 sephe Exp $ |
35 * $FreeBSD: head/sys/dev/bwi/if_bwivar.h 199198 2009-11-11 20:29:40Z jhb $ | 35 * $FreeBSD: head/sys/dev/bwi/if_bwivar.h 206358 2010-04-07 15:29:13Z rpaulo $ |
36 */ 37 38#ifndef _IF_BWIVAR_H 39#define _IF_BWIVAR_H 40 41#define BWI_ALIGN 0x1000 42#define BWI_RING_ALIGN BWI_ALIGN 43#define BWI_BUS_SPACE_MAXADDR 0x3fffffff --- 484 unchanged lines hidden (view full) --- 528 uint8_t wr_rate; 529 uint16_t wr_chan_freq; 530 uint16_t wr_chan_flags; 531 int8_t wr_antsignal; 532 int8_t wr_antnoise; 533 /* TODO: sq */ 534}; 535 | 36 */ 37 38#ifndef _IF_BWIVAR_H 39#define _IF_BWIVAR_H 40 41#define BWI_ALIGN 0x1000 42#define BWI_RING_ALIGN BWI_ALIGN 43#define BWI_BUS_SPACE_MAXADDR 0x3fffffff --- 484 unchanged lines hidden (view full) --- 528 uint8_t wr_rate; 529 uint16_t wr_chan_freq; 530 uint16_t wr_chan_flags; 531 int8_t wr_antsignal; 532 int8_t wr_antnoise; 533 /* TODO: sq */ 534}; 535 |
536struct bwi_node { 537 struct ieee80211_node ni; /* must be the first */ 538 struct ieee80211_amrr_node amn; 539}; 540#define BWI_NODE(ni) ((struct bwi_node *)(ni)) 541 | |
542struct bwi_vap { 543 struct ieee80211vap bv_vap; | 536struct bwi_vap { 537 struct ieee80211vap bv_vap; |
544 struct ieee80211_amrr bv_amrr; | |
545 int (*bv_newstate)(struct ieee80211vap *, 546 enum ieee80211_state, int); 547}; 548#define BWI_VAP(vap) ((struct bwi_vap *)(vap)) 549 550struct bwi_softc { 551 struct ifnet *sc_ifp; 552 uint32_t sc_flags; /* BWI_F_ */ --- 158 unchanged lines hidden --- | 538 int (*bv_newstate)(struct ieee80211vap *, 539 enum ieee80211_state, int); 540}; 541#define BWI_VAP(vap) ((struct bwi_vap *)(vap)) 542 543struct bwi_softc { 544 struct ifnet *sc_ifp; 545 uint32_t sc_flags; /* BWI_F_ */ --- 158 unchanged lines hidden --- |