Date: Thu, 26 May 2016 22:43:02 +0000 (UTC) From: Andriy Voskoboinyk <avos@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300788 - in head/sys/dev: rtwn urtwn Message-ID: <201605262243.u4QMh2Zo058018@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: avos Date: Thu May 26 22:43:02 2016 New Revision: 300788 URL: https://svnweb.freebsd.org/changeset/base/300788 Log: rtwn, urtwn: drop unused structures. urtwn(4) uses another implementation of command queue; rtwn(4) don't need it at all. Modified: head/sys/dev/rtwn/if_rtwnreg.h head/sys/dev/urtwn/if_urtwnvar.h Modified: head/sys/dev/rtwn/if_rtwnreg.h ============================================================================== --- head/sys/dev/rtwn/if_rtwnreg.h Thu May 26 22:35:52 2016 (r300787) +++ head/sys/dev/rtwn/if_rtwnreg.h Thu May 26 22:43:02 2016 (r300788) @@ -1236,8 +1236,6 @@ struct rtwn_tx_radiotap_header { (1 << IEEE80211_RADIOTAP_FLAGS | \ 1 << IEEE80211_RADIOTAP_CHANNEL) -struct rtwn_softc; - struct rtwn_rx_data { bus_dmamap_t map; struct mbuf *m; @@ -1272,23 +1270,6 @@ struct rtwn_tx_ring { int cur; }; -struct rtwn_host_cmd { - void (*cb)(struct rtwn_softc *, void *); - uint8_t data[256]; -}; - -struct rtwn_cmd_key { - struct ieee80211_key key; - uint16_t associd; -}; - -struct rtwn_host_cmd_ring { - struct rtwn_host_cmd cmd[RTWN_HOST_CMD_RING_COUNT]; - int cur; - int next; - int queued; -}; - struct rtwn_vap { struct ieee80211vap vap; int (*newstate)(struct ieee80211vap *, Modified: head/sys/dev/urtwn/if_urtwnvar.h ============================================================================== --- head/sys/dev/urtwn/if_urtwnvar.h Thu May 26 22:35:52 2016 (r300787) +++ head/sys/dev/urtwn/if_urtwnvar.h Thu May 26 22:43:02 2016 (r300788) @@ -116,21 +116,6 @@ struct urtwn_vap { }; #define URTWN_VAP(vap) ((struct urtwn_vap *)(vap)) -struct urtwn_host_cmd { - void (*cb)(struct urtwn_softc *, void *); - uint8_t data[256]; -}; - -struct urtwn_cmd_newstate { - enum ieee80211_state state; - int arg; -}; - -struct urtwn_cmd_key { - struct ieee80211_key key; - uint16_t associd; -}; - enum { URTWN_BULK_RX, URTWN_BULK_TX_BE, /* = WME_AC_BE */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605262243.u4QMh2Zo058018>