if_otus.c (289165) | if_otus.c (289168) |
---|---|
1/* $OpenBSD: if_otus.c,v 1.46 2015/03/14 03:38:49 jsg Exp $ */ 2 3/*- 4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> 5 * Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org> 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 --- 8 unchanged lines hidden (view full) --- 17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20/* 21 * Driver for Atheros AR9001U chipset. 22 */ 23 24#include <sys/cdefs.h> | 1/* $OpenBSD: if_otus.c,v 1.46 2015/03/14 03:38:49 jsg Exp $ */ 2 3/*- 4 * Copyright (c) 2009 Damien Bergamini <damien.bergamini@free.fr> 5 * Copyright (c) 2015 Adrian Chadd <adrian@FreeBSD.org> 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 --- 8 unchanged lines hidden (view full) --- 17 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18 */ 19 20/* 21 * Driver for Atheros AR9001U chipset. 22 */ 23 24#include <sys/cdefs.h> |
25__FBSDID("$FreeBSD: head/sys/dev/otus/if_otus.c 289165 2015-10-12 04:55:20Z adrian $"); | 25__FBSDID("$FreeBSD: head/sys/dev/otus/if_otus.c 289168 2015-10-12 05:21:51Z adrian $"); |
26 27#include "opt_wlan.h" 28 29#include <sys/param.h> 30#include <sys/endian.h> 31#include <sys/sockio.h> 32#include <sys/mbuf.h> 33#include <sys/kernel.h> --- 1673 unchanged lines hidden (view full) --- 1707 case 0x9: tap->wr_rate = 48; break; 1708 case 0xd: tap->wr_rate = 72; break; 1709 case 0x8: tap->wr_rate = 96; break; 1710 case 0xc: tap->wr_rate = 108; break; 1711 } 1712 break; 1713 } 1714 mb.m_data = (caddr_t)tap; | 26 27#include "opt_wlan.h" 28 29#include <sys/param.h> 30#include <sys/endian.h> 31#include <sys/sockio.h> 32#include <sys/mbuf.h> 33#include <sys/kernel.h> --- 1673 unchanged lines hidden (view full) --- 1707 case 0x9: tap->wr_rate = 48; break; 1708 case 0xd: tap->wr_rate = 72; break; 1709 case 0x8: tap->wr_rate = 96; break; 1710 case 0xc: tap->wr_rate = 108; break; 1711 } 1712 break; 1713 } 1714 mb.m_data = (caddr_t)tap; |
1715 mb.m_len = sc->sc_rxtap_len; | |
1716 mb.m_next = m; 1717 mb.m_nextpkt = NULL; 1718 mb.m_type = 0; 1719 mb.m_flags = 0; 1720 bpf_mtap(sc->sc_drvbpf, &mb, BPF_DIRECTION_IN); 1721 } 1722#endif 1723 --- 1432 unchanged lines hidden --- | 1715 mb.m_next = m; 1716 mb.m_nextpkt = NULL; 1717 mb.m_type = 0; 1718 mb.m_flags = 0; 1719 bpf_mtap(sc->sc_drvbpf, &mb, BPF_DIRECTION_IN); 1720 } 1721#endif 1722 --- 1432 unchanged lines hidden --- |