Searched refs:chspec (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/include/ |
D | brcmu_wifi.h | 97 #define CHSPEC_CHANNEL(chspec) ((u8)((chspec) & WL_CHANSPEC_CHAN_MASK)) argument 98 #define CHSPEC_BAND(chspec) ((chspec) & WL_CHANSPEC_BAND_MASK) argument 100 #define CHSPEC_CTL_SB(chspec) ((chspec) & WL_CHANSPEC_CTL_SB_MASK) argument 101 #define CHSPEC_BW(chspec) ((chspec) & WL_CHANSPEC_BW_MASK) argument 103 #define CHSPEC_IS10(chspec) \ argument 104 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_10) 106 #define CHSPEC_IS20(chspec) \ argument 107 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_20) 109 #define CHSPEC_IS40(chspec) \ argument 110 (((chspec) & WL_CHANSPEC_BW_MASK) == WL_CHANSPEC_BW_40) [all …]
|
D | brcmu_d11.h | 131 u16 chspec; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmutil/ |
D | d11.c | 46 ch->chspec = 0; in brcmu_d11n_encchspec() 47 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_CH_MASK, in brcmu_d11n_encchspec() 49 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11N_SB_MASK, in brcmu_d11n_encchspec() 51 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11N_BW_MASK, in brcmu_d11n_encchspec() 55 ch->chspec |= BRCMU_CHSPEC_D11N_BND_2G; in brcmu_d11n_encchspec() 57 ch->chspec |= BRCMU_CHSPEC_D11N_BND_5G; in brcmu_d11n_encchspec() 82 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_CH_MASK, in brcmu_d11ac_encchspec() 84 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11AC_SB_MASK, in brcmu_d11ac_encchspec() 86 brcmu_maskset16(&ch->chspec, BRCMU_CHSPEC_D11AC_BW_MASK, in brcmu_d11ac_encchspec() 89 ch->chspec &= ~BRCMU_CHSPEC_D11AC_BND_MASK; in brcmu_d11ac_encchspec() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | channel.c | 602 brcms_c_valid_chanspec_ext(struct brcms_cm_info *wlc_cm, u16 chspec) in brcms_c_valid_chanspec_ext() argument 605 u8 channel = CHSPEC_CHANNEL(chspec); in brcms_c_valid_chanspec_ext() 608 if (brcms_c_chspec_malformed(chspec)) { in brcms_c_valid_chanspec_ext() 610 wlc->pub->unit, chspec); in brcms_c_valid_chanspec_ext() 615 chspec_bandunit(chspec)) in brcms_c_valid_chanspec_ext() 621 bool brcms_c_valid_chanspec_db(struct brcms_cm_info *wlc_cm, u16 chspec) in brcms_c_valid_chanspec_db() argument 623 return brcms_c_valid_chanspec_ext(wlc_cm, chspec); in brcms_c_valid_chanspec_db()
|
D | channel.h | 39 bool brcms_c_valid_chanspec_db(struct brcms_cm_info *wlc_cm, u16 chspec);
|
D | main.c | 5378 u16 chspec = ch20mhz_chspec(channel); in brcms_c_set_channel() local 5383 if (!brcms_c_valid_chanspec_db(wlc->cmi, chspec)) in brcms_c_set_channel() 5388 if (wlc->band->bandunit != chspec_bandunit(chspec)) in brcms_c_set_channel() 5394 wlc->default_bss->chanspec = chspec; in brcms_c_set_channel() 5397 if (wlc->pub->up && (wlc_phy_chanspec_get(wlc->band->pi) != chspec)) { in brcms_c_set_channel() 5398 brcms_c_set_home_chanspec(wlc, chspec); in brcms_c_set_channel() 5400 brcms_c_set_chanspec(wlc, chspec); in brcms_c_set_channel()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 109 __le16 chspec; member 546 discover_state.chspec = cpu_to_le16(chanspec); in brcmf_p2p_set_discover_state() 955 ch.chspec, (u16)duration); in brcmf_p2p_discover_listen() 1090 default_chan_list[i] = ch.chspec; in brcmf_p2p_act_frm_search() 1094 default_chan_list[0] = ch.chspec; in brcmf_p2p_act_frm_search() 1097 default_chan_list[1] = ch.chspec; in brcmf_p2p_act_frm_search() 1100 default_chan_list[2] = ch.chspec; in brcmf_p2p_act_frm_search() 1256 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_p2p_scan_finding_common_channel() 1410 ch.chspec = be16_to_cpu(rxframe->chanspec); in brcmf_p2p_notify_action_frame_rx() 1956 ch.chspec = be16_to_cpu(rxframe->chanspec); in brcmf_p2p_notify_rx_mgmt_p2p_probereq() [all …]
|
D | cfg80211.c | 322 brcmf_dbg(TRACE, "chanspec: 0x%x\n", ch_inf.chspec); in chandef_to_chanspec() 323 return ch_inf.chspec; in chandef_to_chanspec() 335 return ch_inf.chspec; in channel_to_chanspec() 2985 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_inform_single_bss() 3100 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_inform_ibss() 3237 ch_bss.chspec = le16_to_cpu(bss->chanspec); in brcmf_compare_update_same_bss() 3239 ch_bss_info_le.chspec = le16_to_cpu(bss_info_le->chanspec); in brcmf_compare_update_same_bss() 5248 ch.chspec = chanspec; in brcmf_cfg80211_get_channel() 5931 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_bss_roaming_done() 6468 ch.chspec = (u16)le32_to_cpu(list->element[i]); in brcmf_construct_chaninfo() [all …]
|
D | fwil_types.h | 211 __le16 chspec; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_cmn.c | 1262 u16 chspec; in wlc_phy_chanspec_band_firstch() local 1280 chspec = channel | WL_CHANSPEC_BW_40 | in wlc_phy_chanspec_band_firstch() 1283 chspec |= WL_CHANSPEC_BAND_2G; in wlc_phy_chanspec_band_firstch() 1285 chspec |= WL_CHANSPEC_BAND_5G; in wlc_phy_chanspec_band_firstch() 1287 chspec = ch20mhz_chspec(channel); in wlc_phy_chanspec_band_firstch() 1295 return chspec; in wlc_phy_chanspec_band_firstch() 1541 u16 chspec; in wlc_phy_txpower_recalc_target() local 1545 chspec = pi->radio_chanspec; in wlc_phy_txpower_recalc_target() 1546 if (CHSPEC_CTL_SB(chspec) == WL_CHANSPEC_CTL_SB_NONE) in wlc_phy_txpower_recalc_target() 1547 target_chan = CHSPEC_CHANNEL(chspec); in wlc_phy_txpower_recalc_target() [all …]
|