getchannels
getchannels(sc, IEEE80211_CHAN_MAX, &sc->sc_nchans, sc->sc_channels);
static void getchannels(struct mwl_softc *, int, int *,