Lines Matching refs:chanspec

417 static int brcms_chspec_bw(u16 chanspec)  in brcms_chspec_bw()  argument
419 if (CHSPEC_IS40(chanspec)) in brcms_chspec_bw()
421 if (CHSPEC_IS20(chanspec)) in brcms_chspec_bw()
914 CHSPEC_CHANNEL(wlc->default_bss->chanspec)); in brcms_c_dotxstatus()
1220 wlc_hw->chanspec = ch20mhz_chspec(1); in brcms_b_info_init()
1695 static void brcms_b_bsinit(struct brcms_c_info *wlc, u16 chanspec) in brcms_b_bsinit() argument
1704 wlc_phy_init(wlc_hw->band->pi, chanspec); in brcms_b_bsinit()
1813 u16 chanspec) { in brcms_b_setband() argument
1831 brcms_b_bsinit(wlc, chanspec); in brcms_b_setband()
3337 static void brcms_b_init(struct brcms_hardware *wlc_hw, u16 chanspec) in brcms_b_init() argument
3352 brcms_c_setxband(wlc_hw, chspec_bandunit(chanspec)); in brcms_b_init()
3353 wlc_phy_chanspec_radio_set(wlc_hw->band->pi, chanspec); in brcms_b_init()
3362 brcms_b_bsinit(wlc, chanspec); in brcms_b_init()
3384 u16 chanspec) in brcms_c_set_phy_chanspec() argument
3387 wlc->chanspec = chanspec; in brcms_c_set_phy_chanspec()
3390 brcms_c_channel_set_chanspec(wlc->cmi, chanspec, BRCMS_TXPWR_MAX); in brcms_c_set_phy_chanspec()
3394 chanspec); in brcms_c_set_phy_chanspec()
3405 brcms_chspec_bw(wlc->default_bss->chanspec), in brcms_default_rateset()
3505 u16 chanspec) in brcms_c_bandinit_ordered() argument
3521 parkband = chspec_bandunit(chanspec); in brcms_c_bandinit_ordered()
3546 brcms_c_set_phy_chanspec(wlc, chanspec); in brcms_c_bandinit_ordered()
3820 static void brcms_c_set_home_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_home_chanspec() argument
3822 if (wlc->home_chanspec != chanspec) { in brcms_c_set_home_chanspec()
3823 wlc->home_chanspec = chanspec; in brcms_c_set_home_chanspec()
3826 wlc->bsscfg->current_bss->chanspec = chanspec; in brcms_c_set_home_chanspec()
3831 brcms_b_set_chanspec(struct brcms_hardware *wlc_hw, u16 chanspec, in brcms_b_set_chanspec() argument
3837 chanspec); in brcms_b_set_chanspec()
3839 wlc_hw->chanspec = chanspec; in brcms_b_set_chanspec()
3843 bandunit = chspec_bandunit(chanspec); in brcms_b_set_chanspec()
3851 pi, chanspec); in brcms_b_set_chanspec()
3852 brcms_b_setband(wlc_hw, bandunit, chanspec); in brcms_b_set_chanspec()
3864 chanspec); in brcms_b_set_chanspec()
3865 wlc_phy_chanspec_radio_set(wlc_hw->band->pi, chanspec); in brcms_b_set_chanspec()
3867 wlc_phy_chanspec_set(wlc_hw->band->pi, chanspec); in brcms_b_set_chanspec()
3868 wlc_phy_txpower_limit_set(wlc_hw->band->pi, txpwr, chanspec); in brcms_b_set_chanspec()
3891 static void brcms_c_set_chanspec(struct brcms_c_info *wlc, u16 chanspec) in brcms_c_set_chanspec() argument
3894 u16 old_chanspec = wlc->chanspec; in brcms_c_set_chanspec()
3896 if (!brcms_c_valid_chanspec_db(wlc->cmi, chanspec)) { in brcms_c_set_chanspec()
3898 wlc->pub->unit, __func__, CHSPEC_CHANNEL(chanspec)); in brcms_c_set_chanspec()
3904 bandunit = chspec_bandunit(chanspec); in brcms_c_set_chanspec()
3910 CHSPEC_CHANNEL(chanspec)); in brcms_c_set_chanspec()
3926 brcms_c_set_phy_chanspec(wlc, chanspec); in brcms_c_set_chanspec()
3929 if (brcms_chspec_bw(old_chanspec) != brcms_chspec_bw(chanspec)) { in brcms_c_set_chanspec()
3936 wlc->band->mimo_cap_40 ? brcms_chspec_bw(chanspec) : 0); in brcms_c_set_chanspec()
4295 wlc->chanspec = ch20mhz_chspec(1); in brcms_c_info_init()
4732 u16 chanspec; in brcms_c_bss_default_init() local
4743 chanspec = ch20mhz_chspec(1); in brcms_c_bss_default_init()
4744 wlc->home_chanspec = bi->chanspec = chanspec; in brcms_c_bss_default_init()
4749 band->bandunit != chspec_bandunit(chanspec)) in brcms_c_bss_default_init()
4756 brcms_chspec_bw(chanspec), wlc->stf->txstreams); in brcms_c_bss_default_init()
5394 wlc->default_bss->chanspec = chspec; in brcms_c_set_channel()
6333 if (brcms_chspec_bw(wlc->chanspec) == BRCMS_40_MHZ) { in brcms_c_d11hdrs_mac80211()
7802 u16 chanspec; in brcms_c_init() local
7806 chanspec = ch20mhz_chspec(ch->hw_value); in brcms_c_init()
7808 brcms_b_init(wlc->hw, chanspec); in brcms_c_init()
7834 brcms_c_bandinit_ordered(wlc, chanspec); in brcms_c_init()