Lines Matching refs:bw_cap
5367 u32 bw_cap[]) in brcmf_construct_chaninfo() argument
5421 if (!(bw_cap[band->band] & WLC_BW_40MHZ_BIT) && in brcmf_construct_chaninfo()
5424 if (!(bw_cap[band->band] & WLC_BW_80MHZ_BIT) && in brcmf_construct_chaninfo()
5496 band_bwcap.bw_cap = cpu_to_le32(WLC_BW_CAP_40MHZ); in brcmf_enable_bw40_2g()
5553 static void brcmf_get_bwcap(struct brcmf_if *ifp, u32 bw_cap[]) in brcmf_get_bwcap() argument
5561 bw_cap[IEEE80211_BAND_2GHZ] = band; in brcmf_get_bwcap()
5565 bw_cap[IEEE80211_BAND_5GHZ] = band; in brcmf_get_bwcap()
5580 bw_cap[IEEE80211_BAND_2GHZ] |= WLC_BW_40MHZ_BIT; in brcmf_get_bwcap()
5583 bw_cap[IEEE80211_BAND_5GHZ] |= WLC_BW_40MHZ_BIT; in brcmf_get_bwcap()
5586 bw_cap[IEEE80211_BAND_2GHZ] |= WLC_BW_20MHZ_BIT; in brcmf_get_bwcap()
5587 bw_cap[IEEE80211_BAND_5GHZ] |= WLC_BW_20MHZ_BIT; in brcmf_get_bwcap()
5595 u32 bw_cap[2], u32 nchain) in brcmf_update_ht_cap()
5598 if (bw_cap[band->band] & WLC_BW_40MHZ_BIT) { in brcmf_update_ht_cap()
5622 u32 bw_cap[2], u32 nchain) in brcmf_update_vht_cap()
5633 if (bw_cap[band->band] & WLC_BW_160MHZ_BIT) { in brcmf_update_vht_cap()
5649 u32 bw_cap[2] = { WLC_BW_20MHZ_BIT, WLC_BW_20MHZ_BIT }; in brcmf_setup_wiphybands() local
5661 brcmf_get_bwcap(ifp, bw_cap); in brcmf_setup_wiphybands()
5664 nmode, vhtmode, bw_cap[IEEE80211_BAND_2GHZ], in brcmf_setup_wiphybands()
5665 bw_cap[IEEE80211_BAND_5GHZ]); in brcmf_setup_wiphybands()
5677 err = brcmf_construct_chaninfo(cfg, bw_cap); in brcmf_setup_wiphybands()
5690 brcmf_update_ht_cap(band, bw_cap, nchain); in brcmf_setup_wiphybands()
5692 brcmf_update_vht_cap(band, bw_cap, nchain); in brcmf_setup_wiphybands()