Searched refs:bandlist (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | cfg80211.c | 7052 __le32 bandlist[3]; in brcmf_setup_wiphy() local 7128 err = brcmf_fil_cmd_data_get(ifp, BRCMF_C_GET_BANDLIST, &bandlist, in brcmf_setup_wiphy() 7129 sizeof(bandlist)); in brcmf_setup_wiphy() 7135 n_bands = le32_to_cpu(bandlist[0]); in brcmf_setup_wiphy() 7136 for (i = 1; i <= n_bands && i < ARRAY_SIZE(bandlist); i++) { in brcmf_setup_wiphy() 7137 if (bandlist[i] == cpu_to_le32(WLC_BAND_2G)) { in brcmf_setup_wiphy() 7154 if (bandlist[i] == cpu_to_le32(WLC_BAND_5G)) { in brcmf_setup_wiphy()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | wl_cfg80211.c | 16896 static void wl_is_6g_supported(struct bcm_cfg80211 *cfg, u32 *bandlist, u8 nbands) in wl_is_6g_supported() argument 16905 if (bandlist[i] == WLC_BAND_6G) { in wl_is_6g_supported() 16916 u32 bandlist[WL_MAX_BAND_SUPPORT+1]; in __wl_update_wiphybands() local 16937 bzero(bandlist, sizeof(bandlist)); in __wl_update_wiphybands() 16938 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, in __wl_update_wiphybands() 16939 sizeof(bandlist)); in __wl_update_wiphybands() 17013 wl_is_6g_supported(cfg, bandlist, bandlist[0]); in __wl_update_wiphybands() 17024 nband = bandlist[0]; in __wl_update_wiphybands() 17026 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { in __wl_update_wiphybands() 17029 if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) { in __wl_update_wiphybands() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | wl_cfg80211.c | 16778 static void wl_is_6g_supported(struct bcm_cfg80211 *cfg, u32 *bandlist, u8 nbands) in wl_is_6g_supported() argument 16787 if (bandlist[i] == WLC_BAND_6G) { in wl_is_6g_supported() 16798 u32 bandlist[WL_MAX_BAND_SUPPORT+1]; in __wl_update_wiphybands() local 16819 bzero(bandlist, sizeof(bandlist)); in __wl_update_wiphybands() 16820 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, in __wl_update_wiphybands() 16821 sizeof(bandlist)); in __wl_update_wiphybands() 16895 wl_is_6g_supported(cfg, bandlist, bandlist[0]); in __wl_update_wiphybands() 16906 nband = bandlist[0]; in __wl_update_wiphybands() 16908 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { in __wl_update_wiphybands() 16911 if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) { in __wl_update_wiphybands() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | wl_cfg80211.c | 19999 u32 bandlist[4]; local 20001 u32 bandlist[3]; local 20023 bzero(bandlist, sizeof(bandlist)); 20024 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, 20025 sizeof(bandlist)); 20084 nband = bandlist[0]; 20086 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { 20088 if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) { 20105 else if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) { 20118 else if (bandlist[i] == WLC_BAND_6G && __wl_band_6ghz.n_channels > 0) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | wl_cfg80211.c | 19997 u32 bandlist[4]; local 19999 u32 bandlist[3]; local 20021 bzero(bandlist, sizeof(bandlist)); 20022 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, 20023 sizeof(bandlist)); 20082 nband = bandlist[0]; 20084 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { 20086 if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) { 20103 else if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) { 20116 else if (bandlist[i] == WLC_BAND_6G && __wl_band_6ghz.n_channels > 0) {
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | wl_cfg80211.c | 17793 u32 bandlist[3]; in __wl_update_wiphybands() local 17814 memset(bandlist, 0, sizeof(bandlist)); in __wl_update_wiphybands() 17815 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, in __wl_update_wiphybands() 17816 sizeof(bandlist)); in __wl_update_wiphybands() 17897 nband = bandlist[0]; in __wl_update_wiphybands() 17899 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { in __wl_update_wiphybands() 17901 if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) { in __wl_update_wiphybands() 17994 else if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) { in __wl_update_wiphybands()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | wl_cfg80211.c | 19815 u32 bandlist[3]; local 19833 bzero(bandlist, sizeof(bandlist)); 19834 err = wldev_ioctl_get(dev, WLC_GET_BANDLIST, bandlist, 19835 sizeof(bandlist)); 19886 nband = bandlist[0]; 19888 for (i = 1; i <= nband && i < ARRAYSIZE(bandlist); i++) { 19890 if (bandlist[i] == WLC_BAND_5G && __wl_band_5ghz_a.n_channels > 0) { 19899 else if (bandlist[i] == WLC_BAND_2G && __wl_band_2ghz.n_channels > 0) {
|