5 * Convert HAL channels to ieee80211 ones.
8 IPRINTF(sc, "HAL returned %d channels.\n", nchan);
10 for (i = 0; i < nchan; i++) {
11 HAL_CHANNEL *c = &chans[i];
12 struct ieee80211_channel *ichan = &ic->ic_channels[i];
14 ic->ic_chan_non_occupy[i].tv_sec = 0;
15 ic->ic_chan_non_occupy[i].tv_usec = 0;
18 IPRINTF(sc, "Channel %3d (%4d MHz) Max Tx Power %d dBm%s "
19 "[%d hw %d reg] Flags%s%s%s%s%s%s%s%s%s%s%s%s%"
20 "s%s%s%s%s%s%s%s%s%s%s%s\n",
22 (c->privFlags & 0x0080 ?
23 " PF & (1 << 7)" : "")
27 ic->ic_nchans = nchan;