if_zydreg.h (187192) | if_zydreg.h (187259) |
---|---|
1/* $OpenBSD: if_zydreg.h,v 1.19 2006/11/30 19:28:07 damien Exp $ */ 2/* $NetBSD: if_zydreg.h,v 1.2 2007/06/16 11:18:45 kiyohara Exp $ */ | 1/* $OpenBSD: if_zydreg.h,v 1.19 2006/11/30 19:28:07 damien Exp $ */ 2/* $NetBSD: if_zydreg.h,v 1.2 2007/06/16 11:18:45 kiyohara Exp $ */ |
3/* $FreeBSD: head/sys/dev/usb2/wlan/if_zydreg.h 187192 2009-01-13 21:18:14Z thompsa $ */ | 3/* $FreeBSD: head/sys/dev/usb2/wlan/if_zydreg.h 187259 2009-01-15 02:35:40Z thompsa $ */ |
4 5/*- 6 * Copyright (c) 2006 by Damien Bergamini <damien.bergamini@free.fr> 7 * Copyright (c) 2006 by Florian Stoehr <ich@florian-stoehr.de> 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above 11 * copyright notice and this permission notice appear in all copies. --- 1193 unchanged lines hidden (view full) --- 1205 void (*cfg_init_hw) (struct zyd_softc *, struct zyd_rf *); 1206 void (*cfg_switch_radio) (struct zyd_softc *, uint8_t on); 1207 void (*cfg_set_channel) (struct zyd_softc *, struct zyd_rf *, uint8_t); 1208 void (*cfg_bandedge6) (struct zyd_softc *, struct zyd_rf *, uint8_t); 1209 1210 uint8_t width; 1211}; 1212 | 4 5/*- 6 * Copyright (c) 2006 by Damien Bergamini <damien.bergamini@free.fr> 7 * Copyright (c) 2006 by Florian Stoehr <ich@florian-stoehr.de> 8 * 9 * Permission to use, copy, modify, and distribute this software for any 10 * purpose with or without fee is hereby granted, provided that the above 11 * copyright notice and this permission notice appear in all copies. --- 1193 unchanged lines hidden (view full) --- 1205 void (*cfg_init_hw) (struct zyd_softc *, struct zyd_rf *); 1206 void (*cfg_switch_radio) (struct zyd_softc *, uint8_t on); 1207 void (*cfg_set_channel) (struct zyd_softc *, struct zyd_rf *, uint8_t); 1208 void (*cfg_bandedge6) (struct zyd_softc *, struct zyd_rf *, uint8_t); 1209 1210 uint8_t width; 1211}; 1212 |
1213enum { 1214 ZYD_TR_BULK_DT_WR, 1215 ZYD_TR_BULK_DT_RD, 1216 ZYD_TR_BULK_CS_WR, 1217 ZYD_TR_BULK_CS_RD, 1218 ZYD_TR_INTR_DT_WR, 1219 ZYD_TR_INTR_DT_RD, 1220 ZYD_TR_INTR_CS_WR, 1221 ZYD_TR_INTR_CS_RD, 1222 ZYD_N_TRANSFER, 1223}; 1224 | |
1225struct zyd_ifq { 1226 struct mbuf *ifq_head; 1227 struct mbuf *ifq_tail; 1228 uint16_t ifq_len; 1229}; 1230 1231struct zyd_node { 1232 struct ieee80211_node ni; --- 46 unchanged lines hidden (view full) --- 1279 1280 uint16_t ic_txpowlimit; 1281 uint16_t ic_curmode; 1282 1283 uint8_t ic_myaddr[IEEE80211_ADDR_LEN]; 1284 uint8_t if_broadcastaddr[IEEE80211_ADDR_LEN]; 1285}; 1286 | 1213struct zyd_ifq { 1214 struct mbuf *ifq_head; 1215 struct mbuf *ifq_tail; 1216 uint16_t ifq_len; 1217}; 1218 1219struct zyd_node { 1220 struct ieee80211_node ni; --- 46 unchanged lines hidden (view full) --- 1267 1268 uint16_t ic_txpowlimit; 1269 uint16_t ic_curmode; 1270 1271 uint8_t ic_myaddr[IEEE80211_ADDR_LEN]; 1272 uint8_t if_broadcastaddr[IEEE80211_ADDR_LEN]; 1273}; 1274 |
1275enum { 1276 ZYD_BULK_DT_WR, 1277 ZYD_BULK_DT_RD, 1278 ZYD_BULK_CS_WR, 1279 ZYD_BULK_CS_RD, 1280 ZYD_INTR_DT_WR, 1281 ZYD_INTR_DT_RD, 1282 ZYD_INTR_CS_WR, 1283 ZYD_INTR_CS_RD, 1284 ZYD_N_TRANSFER = 8, 1285}; 1286 |
|
1287struct zyd_softc { 1288 void *sc_evilhack; /* XXX this pointer must be first */ 1289 1290 struct zyd_rf sc_rf; 1291 struct usb2_callout sc_watchdog; 1292 struct mtx sc_mtx; 1293 struct usb2_config_td sc_config_td; 1294 struct zyd_rx_radiotap_header sc_rxtap; --- 64 unchanged lines hidden --- | 1287struct zyd_softc { 1288 void *sc_evilhack; /* XXX this pointer must be first */ 1289 1290 struct zyd_rf sc_rf; 1291 struct usb2_callout sc_watchdog; 1292 struct mtx sc_mtx; 1293 struct usb2_config_td sc_config_td; 1294 struct zyd_rx_radiotap_header sc_rxtap; --- 64 unchanged lines hidden --- |