}
}
- wlc->corestate = (wlccore_t *)wlc_calloc(osh, unit, sizeof(wlccore_t));
+ wlc->corestate = (struct wlccore *)wlc_calloc(osh, unit,
+ sizeof(struct wlccore));
if (wlc->corestate == NULL) {
*err = 1026;
goto fail;
/*
* core state (mac)
*/
-typedef struct wlccore {
+struct wlccore {
uint coreidx; /* # sb enumerated core */
/* fifo */
s16 txpktpend[NFIFO]; /* tx admission control */
macstat_t *macstat_snapshot; /* mac hw prev read values */
-} wlccore_t;
+};
/*
* band state (phy+ana+radio)
bool clk; /* core is out of reset and has clock */
/* multiband */
- wlccore_t *core; /* pointer to active io core */
+ struct wlccore *core; /* pointer to active io core */
struct wlcband *band; /* pointer to active per-band state */
- wlccore_t *corestate; /* per-core state (one per hw core) */
+ struct wlccore *corestate; /* per-core state (one per hw core) */
/* per-band state (one per phy/radio): */
struct wlcband *bandstate[MAXBANDS];