BRCM_BAND_2G
if (band->bandtype == BRCM_BAND_2G)
if (band->bandtype == BRCM_BAND_2G) {
if (band->bandtype == BRCM_BAND_2G)
if (wlc->pub->_nbands > 1 || wlc->band->bandtype == BRCM_BAND_2G)
case BRCM_BAND_2G:
if (wlc_hw->band->bandtype == BRCM_BAND_2G && wlc_hw->up) {
wlc_hw->band->bandtype = j ? BRCM_BAND_5G : BRCM_BAND_2G;
wlc->band->bandtype = j ? BRCM_BAND_5G : BRCM_BAND_2G;
if (wlc->band->bandtype == BRCM_BAND_2G)
(wlc->bandstate[OTHERBANDUNIT(wlc)]->bandtype == BRCM_BAND_2G))
if (wlc->band->bandtype == BRCM_BAND_2G)
if ((cur_band->bandtype != BRCM_BAND_2G)
if (wlc->band->bandtype == BRCM_BAND_2G)
if (wlc->band->bandtype == BRCM_BAND_2G)
if (wlc->band->bandtype == BRCM_BAND_2G) {
if ((band == BRCM_BAND_2G && channel <= CH_MAX_2G_CHANNEL) ||
if (bandtype == BRCM_BAND_2G && (sflags & SISF_2G_PHY))
pi->radio_chanspec = (bandtype == BRCM_BAND_2G) ?
#define CHSPEC2BAND(chspec) (CHSPEC_IS5G(chspec) ? BRCM_BAND_5G : BRCM_BAND_2G)