Lines Matching refs:pub
156 struct brcms_pub *pub; member
671 "match\n", wlc->pub->unit, __func__, ccode); in brcms_c_countrycode_map()
740 for (i = 0; i < wlc->pub->_nbands; in brcms_c_quiet_channels_reset()
896 mboolset(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_c_channels_commit()
898 "nbands %d bandlocked %d\n", wlc->pub->unit, in brcms_c_channels_commit()
899 __func__, wlc_cm->country_abbrev, wlc->pub->_nbands, in brcms_c_channels_commit()
901 } else if (mboolisset(wlc->pub->radio_disabled, in brcms_c_channels_commit()
907 mboolclr(wlc->pub->radio_disabled, WL_RADIO_COUNTRY_DISABLE); in brcms_c_channels_commit()
914 if (wlc->pub->_nbands > 1 || wlc->band->bandtype == BRCM_BAND_2G) in brcms_c_channels_commit()
919 if (wlc->pub->up && chan != INVCHANNEL) { in brcms_c_channels_commit()
939 for (i = 0; i < wlc->pub->_nbands; in brcms_c_channels_init()
1005 if ((wlc->pub->_n_enab & SUPPORT_11N) != in brcms_c_set_country_common()
1078 struct brcms_pub *pub = wlc->pub; in brcms_c_channel_mgr_attach() local
1081 BCMMSG(wlc->wiphy, "wl%d\n", wlc->pub->unit); in brcms_c_channel_mgr_attach()
1086 wlc_cm->pub = pub; in brcms_c_channel_mgr_attach()
1093 strncpy(wlc->pub->srom_ccode, ccode, BRCM_CNTRY_BUF_SZ - 1); in brcms_c_channel_mgr_attach()
1129 return (wlc_cm->wlc->pub->_n_enab & SUPPORT_11N) && in brcms_c_quiet_chanspec()
1410 wlc->pub->unit, chspec); in brcms_c_valid_chanspec_ext()