Home
last modified time | relevance | path

Searched refs:band_bitmap (Results 1 – 23 of 23) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
H A Dwlan_scan_filter.c703 uint8_t i, band_bitmap, assoc_band_bitmap; in scm_mlo_filter_match() local
726 if (!filter->band_bitmap) in scm_mlo_filter_match()
730 band_bitmap = filter->band_bitmap & 0xf; in scm_mlo_filter_match()
731 assoc_band_bitmap = (filter->band_bitmap & 0xf0) >> 4; in scm_mlo_filter_match()
733 if ((assoc_band_bitmap && !(band_bitmap & BIT(band) & assoc_band_bitmap)) || in scm_mlo_filter_match()
734 (!assoc_band_bitmap && !(band_bitmap & BIT(band)))) { in scm_mlo_filter_match()
737 db_entry->channel.chan_freq, filter->band_bitmap); in scm_mlo_filter_match()
757 if (band_bitmap & BIT(band)) in scm_mlo_filter_match()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/src/
H A Dwlan_reg_ucfg_api.c126 uint32_t band_bitmap) in ucfg_reg_set_band() argument
128 return reg_set_band(pdev, band_bitmap); in ucfg_reg_set_band()
132 uint32_t *band_bitmap) in ucfg_reg_get_band() argument
134 return reg_get_band(pdev, band_bitmap); in ucfg_reg_get_band()
H A Dwlan_reg_services_api.c1620 enum band_info wlan_reg_band_bitmap_to_band_info(uint32_t band_bitmap) in wlan_reg_band_bitmap_to_band_info() argument
1622 return reg_band_bitmap_to_band_info(band_bitmap); in wlan_reg_band_bitmap_to_band_info()
/wlan-driver/qcacld-3.0/components/cmn_services/logging/src/
H A Dwlan_connectivity_logging.c528 uint8_t i, band_bitmap = 0, band; in wlan_populate_band_bitmap() local
537 band_bitmap |= BIT(band); in wlan_populate_band_bitmap()
540 return band_bitmap; in wlan_populate_band_bitmap()
1105 uint8_t i, band_bitmap = 0, band; in wlan_convert_link_id_to_diag_band() local
1130 band_bitmap |= BIT(BAND_TO_BITMAP(band)); in wlan_convert_link_id_to_diag_band()
1134 return band_bitmap; in wlan_convert_link_id_to_diag_band()
1140 uint8_t band_bitmap = 0, i = 0; in wlan_get_supported_link_band_bitmap() local
1156 band_bitmap |= BIT(band - 1); in wlan_get_supported_link_band_bitmap()
1159 return band_bitmap; in wlan_get_supported_link_band_bitmap()
/wlan-driver/qcacld-3.0/core/hdd/src/
H A Dwlan_hdd_regulatory.c906 uint32_t band_bitmap = 0; in hdd_reg_legacy_setband_to_reg_wifi_band_bitmap() local
910 band_bitmap |= REG_BAND_MASK_ALL; in hdd_reg_legacy_setband_to_reg_wifi_band_bitmap()
913 band_bitmap |= BIT(REG_BAND_5G); in hdd_reg_legacy_setband_to_reg_wifi_band_bitmap()
916 band_bitmap |= BIT(REG_BAND_2G); in hdd_reg_legacy_setband_to_reg_wifi_band_bitmap()
923 return band_bitmap; in hdd_reg_legacy_setband_to_reg_wifi_band_bitmap()
926 int hdd_reg_set_band(struct net_device *dev, uint32_t band_bitmap) in hdd_reg_set_band() argument
935 if (!band_bitmap) { in hdd_reg_set_band()
940 hdd_debug("change band to %u", band_bitmap); in hdd_reg_set_band()
955 if (current_band == band_bitmap && in hdd_reg_set_band()
961 hdd_ctx->curr_band = wlan_reg_band_bitmap_to_band_info(band_bitmap); in hdd_reg_set_band()
[all …]
H A Dwlan_hdd_oemdata.c68 uint32_t band_bitmap; in populate_oem_data_cap() local
79 status = ucfg_mlme_get_band_capability(hdd_ctx->psoc, &band_bitmap); in populate_oem_data_cap()
85 band_capability = wlan_reg_band_bitmap_to_band_info(band_bitmap); in populate_oem_data_cap()
H A Dwlan_hdd_ioctl.c2626 uint32_t band_bitmap; in drv_cmd_set_band() local
2638 band_bitmap = hdd_reg_legacy_setband_to_reg_wifi_band_bitmap(band); in drv_cmd_set_band()
2640 return hdd_reg_set_band(link_info->adapter->dev, band_bitmap); in drv_cmd_set_band()
6342 uint32_t band_bitmap) in hdd_apply_fcc_constraint_update_band() argument
6360 return hdd_reg_set_band(link_info->adapter->dev, band_bitmap); in hdd_apply_fcc_constraint_update_band()
6382 uint32_t band_bitmap = 0, curr_band_bitmap; in drv_cmd_set_fcc_channel() local
6445 band_bitmap |= (BIT(REG_BAND_5G) | BIT(REG_BAND_2G)); in drv_cmd_set_fcc_channel()
6448 band_bitmap = REG_BAND_MASK_ALL; in drv_cmd_set_fcc_channel()
6450 band_bitmap = curr_band_bitmap; in drv_cmd_set_fcc_channel()
6455 band_bitmap); in drv_cmd_set_fcc_channel()
[all …]
H A Dwlan_hdd_main.c15212 uint32_t band_bitmap; in hdd_update_cds_config() local
15281 status = ucfg_mlme_get_band_capability(hdd_ctx->psoc, &band_bitmap); in hdd_update_cds_config()
15285 band_capability = wlan_reg_band_bitmap_to_band_info(band_bitmap); in hdd_update_cds_config()
15311 uint32_t band_bitmap; in hdd_update_user_config() local
15315 status = ucfg_mlme_get_band_capability(hdd_ctx->psoc, &band_bitmap); in hdd_update_user_config()
15334 band_capability = wlan_reg_band_bitmap_to_band_info(band_bitmap); in hdd_update_user_config()
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
H A Dreg_utils.c708 QDF_STATUS reg_set_band(struct wlan_objmgr_pdev *pdev, uint32_t band_bitmap) in reg_set_band() argument
729 if (pdev_priv_obj->band_capability == band_bitmap && in reg_set_band()
731 reg_info("same band %d", band_bitmap); in reg_set_band()
758 reg_info("set band bitmap: %d", band_bitmap); in reg_set_band()
759 pdev_priv_obj->band_capability = band_bitmap; in reg_set_band()
769 uint32_t *band_bitmap) in reg_get_band() argument
781 *band_bitmap = pdev_priv_obj->band_capability; in reg_get_band()
H A Dreg_utils.h169 QDF_STATUS reg_set_band(struct wlan_objmgr_pdev *pdev, uint32_t band_bitmap);
178 QDF_STATUS reg_get_band(struct wlan_objmgr_pdev *pdev, uint32_t *band_bitmap);
H A Dreg_build_chan_list.c959 uint32_t band_bitmap; in reg_modify_secondary_cur_chan_list() local
961 band_bitmap = pdev_priv_obj->band_capability; in reg_modify_secondary_cur_chan_list()
962 if (!band_bitmap) in reg_modify_secondary_cur_chan_list()
965 if (!(band_bitmap & BIT(REG_BAND_6G))) in reg_modify_secondary_cur_chan_list()
990 uint32_t band_bitmap; in reg_modify_chan_list_for_band() local
992 band_bitmap = pdev_priv_obj->band_capability; in reg_modify_chan_list_for_band()
993 if (!band_bitmap) in reg_modify_chan_list_for_band()
998 if (!(band_bitmap & BIT(REG_BAND_5G))) { in reg_modify_chan_list_for_band()
1008 if (!(band_bitmap & BIT(REG_BAND_2G))) { in reg_modify_chan_list_for_band()
1018 if (!(band_bitmap & BIT(REG_BAND_6G))) in reg_modify_chan_list_for_band()
H A Dreg_services_common.c6647 enum band_info reg_band_bitmap_to_band_info(uint32_t band_bitmap) in reg_band_bitmap_to_band_info() argument
6649 if ((band_bitmap & BIT(REG_BAND_2G)) && in reg_band_bitmap_to_band_info()
6650 (band_bitmap & BIT(REG_BAND_5G)) && in reg_band_bitmap_to_band_info()
6651 (band_bitmap & BIT(REG_BAND_6G))) in reg_band_bitmap_to_band_info()
6653 else if ((band_bitmap & BIT(REG_BAND_5G)) && in reg_band_bitmap_to_band_info()
6654 (band_bitmap & BIT(REG_BAND_6G))) in reg_band_bitmap_to_band_info()
6656 else if ((band_bitmap & BIT(REG_BAND_2G)) && in reg_band_bitmap_to_band_info()
6657 (band_bitmap & BIT(REG_BAND_6G))) in reg_band_bitmap_to_band_info()
6659 else if ((band_bitmap & BIT(REG_BAND_2G)) && in reg_band_bitmap_to_band_info()
6660 (band_bitmap & BIT(REG_BAND_5G))) in reg_band_bitmap_to_band_info()
[all …]
H A Dreg_services_common.h1670 enum band_info reg_band_bitmap_to_band_info(uint32_t band_bitmap);
/wlan-driver/qcacld-3.0/core/hdd/inc/
H A Dwlan_hdd_regulatory.h116 int hdd_reg_set_band(struct net_device *dev, uint32_t band_bitmap);
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/dispatcher/inc/
H A Dwlan_reg_ucfg_api.h46 uint32_t band_bitmap);
56 uint32_t *band_bitmap);
H A Dwlan_reg_services_api.h2268 enum band_info wlan_reg_band_bitmap_to_band_info(uint32_t band_bitmap);
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/dispatcher/src/
H A Dwlan_cm_roam_ucfg_api.c158 uint32_t band_bitmap; in ucfg_cm_set_ese_roam_scan_channel_list() local
190 ucfg_reg_get_band(pdev, &band_bitmap); in ucfg_cm_set_ese_roam_scan_channel_list()
191 band = wlan_reg_band_bitmap_to_band_info(band_bitmap); in ucfg_cm_set_ese_roam_scan_channel_list()
H A Dwlan_cm_roam_api.c1104 uint32_t band_bitmap) in cm_modify_chan_list_based_on_band() argument
1108 if (!(band_bitmap & BIT(REG_BAND_2G))) { in cm_modify_chan_list_based_on_band()
1116 if (!(band_bitmap & BIT(REG_BAND_5G))) { in cm_modify_chan_list_based_on_band()
1124 if (!(band_bitmap & BIT(REG_BAND_6G))) { in cm_modify_chan_list_based_on_band()
/wlan-driver/qca-wifi-host-cmn/umac/scan/dispatcher/inc/
H A Dwlan_scan_public_structs.h806 uint32_t band_bitmap; member
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_connect.c1445 filter->band_bitmap = wlan_mlme_get_sta_mlo_conn_band_bmp(psoc); in cm_update_mlo_filter()
1448 filter->band_bitmap = in cm_update_mlo_filter()
1449 filter->band_bitmap | CFG_MLO_ASSOC_LINK_BAND_MAX; in cm_update_mlo_filter()
1460 filter->band_bitmap); in cm_update_mlo_filter()
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
H A Dwlan_cm_roam_offload.c220 uint32_t band_bitmap; in cm_is_only_2g_band_supported() local
235 if (QDF_IS_STATUS_ERROR(ucfg_reg_get_band(pdev, &band_bitmap))) { in cm_is_only_2g_band_supported()
240 mlme_debug("Current band bitmap:%d", band_bitmap); in cm_is_only_2g_band_supported()
242 if (band_bitmap & BIT(REG_BAND_2G) && in cm_is_only_2g_band_supported()
243 !(band_bitmap & BIT(REG_BAND_5G)) && in cm_is_only_2g_band_supported()
244 !(band_bitmap & BIT(REG_BAND_6G))) in cm_is_only_2g_band_supported()
/wlan-driver/qcacld-3.0/components/cmn_services/policy_mgr/src/
H A Dwlan_policy_mgr_core.c5237 uint32_t band_bitmap) in policy_mgr_init_sap_mandatory_chan_by_band() argument
5266 if (band_bitmap & BIT(REG_BAND_5G)) in policy_mgr_init_sap_mandatory_chan_by_band()
5270 if (band_bitmap & BIT(REG_BAND_6G)) in policy_mgr_init_sap_mandatory_chan_by_band()
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/utils/src/
H A Dparser_api.c611 uint8_t band_bitmap; in populate_dot11f_country() local
639 band_bitmap = (uint8_t)band_capability; in populate_dot11f_country()
646 band_bitmap = BIT(pe_session->limRFBand); in populate_dot11f_country()
651 band_bitmap, in populate_dot11f_country()