rtwn, urtwn: drop unused structures.

urtwn(4) uses another implementation of command queue; rtwn(4) don't need
it at all.
This commit is contained in:
Andriy Voskoboinyk 2016-05-26 22:43:02 +00:00
parent 5030d499e7
commit 0676206626
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300788
2 changed files with 0 additions and 34 deletions

View File

@ -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 *,

View File

@ -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 */