Lines Matching refs:chspec
1273 u16 chspec; in wlc_phy_chanspec_band_firstch() local
1291 chspec = channel | WL_CHANSPEC_BW_40 | in wlc_phy_chanspec_band_firstch()
1294 chspec |= WL_CHANSPEC_BAND_2G; in wlc_phy_chanspec_band_firstch()
1296 chspec |= WL_CHANSPEC_BAND_5G; in wlc_phy_chanspec_band_firstch()
1298 chspec = ch20mhz_chspec(channel); in wlc_phy_chanspec_band_firstch()
1306 return chspec; in wlc_phy_chanspec_band_firstch()
1554 u16 chspec; in wlc_phy_txpower_recalc_target() local
1558 chspec = pi->radio_chanspec; in wlc_phy_txpower_recalc_target()
1559 if (CHSPEC_CTL_SB(chspec) == WL_CHANSPEC_CTL_SB_NONE) in wlc_phy_txpower_recalc_target()
1560 target_chan = CHSPEC_CHANNEL(chspec); in wlc_phy_txpower_recalc_target()
1561 else if (CHSPEC_CTL_SB(chspec) == WL_CHANSPEC_CTL_SB_UPPER) in wlc_phy_txpower_recalc_target()
1562 target_chan = upper_20_sb(CHSPEC_CHANNEL(chspec)); in wlc_phy_txpower_recalc_target()
1564 target_chan = lower_20_sb(CHSPEC_CHANNEL(chspec)); in wlc_phy_txpower_recalc_target()