/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_ocb.c | 44 struct wlan_channel *des_chan; in wma_start_ocb_vdev() local 58 des_chan = vdev->vdev_mlme.des_chan; in wma_start_ocb_vdev() 60 des_chan->ch_freq = config->channels[0].chan_freq; in wma_start_ocb_vdev() 61 if (wlan_reg_is_24ghz_ch_freq(des_chan->ch_freq)) in wma_start_ocb_vdev() 65 des_chan->ch_ieee = in wma_start_ocb_vdev() 66 wlan_reg_freq_to_chan(wma->pdev, des_chan->ch_freq); in wma_start_ocb_vdev()
|
H A D | wma_scan_roam.c | 816 struct wlan_channel *des_chan; in wma_update_phymode_on_roam() local 839 des_chan = wlan_vdev_mlme_get_des_chan(iface->vdev); in wma_update_phymode_on_roam() 841 des_chan->ch_phymode = bss_phymode; in wma_update_phymode_on_roam() 842 des_chan->ch_width = iface->chan_width; in wma_update_phymode_on_roam() 844 des_chan->ch_freq = chan->mhz; in wma_update_phymode_on_roam() 845 ch_params.ch_width = des_chan->ch_width; in wma_update_phymode_on_roam() 846 if (wlan_reg_is_24ghz_ch_freq(des_chan->ch_freq) && in wma_update_phymode_on_roam() 847 des_chan->ch_width == CH_WIDTH_40MHZ && in wma_update_phymode_on_roam() 849 if (des_chan->ch_freq < chan->band_center_freq1) in wma_update_phymode_on_roam() 850 sec_ch_2g_freq = des_chan->ch_freq + 20; in wma_update_phymode_on_roam() [all …]
|
H A D | wma_mgmt.c | 1138 struct wlan_channel *des_chan) in wma_populate_peer_puncture() argument 1140 peer->puncture_bitmap = des_chan->puncture_bitmap; in wma_populate_peer_puncture() 1189 struct wlan_channel *des_chan) in wma_populate_peer_puncture() argument 1453 struct wlan_channel *des_chan; in wma_send_peer_assoc() local 1483 des_chan = wlan_vdev_mlme_get_des_chan(intr->vdev); in wma_send_peer_assoc() 1484 vdev_phymode = des_chan->ch_phymode; in wma_send_peer_assoc() 1492 !WLAN_REG_IS_6GHZ_CHAN_FREQ(des_chan->ch_freq)) { in wma_send_peer_assoc() 1791 wma_populate_peer_puncture(cmd, des_chan); in wma_send_peer_assoc() 4173 wma_update_bss_peer_phy_mode(struct wlan_channel *des_chan, in wma_update_bss_peer_phy_mode() argument 4190 if (WLAN_REG_IS_24GHZ_CH_FREQ(des_chan->ch_freq)) { in wma_update_bss_peer_phy_mode() [all …]
|
H A D | wma_dev_if.c | 1095 struct wlan_channel *des_chan; in wma_update_rate_flags_after_vdev_restart() local 1104 des_chan = wlan_vdev_mlme_get_des_chan(iface->vdev); in wma_update_rate_flags_after_vdev_restart() 1105 bss_phymode = des_chan->ch_phymode; in wma_update_rate_flags_after_vdev_restart() 1108 rate_flags = wma_get_eht_rate_flags(des_chan->ch_width); in wma_update_rate_flags_after_vdev_restart() 1110 rate_flags = wma_get_he_rate_flags(des_chan->ch_width); in wma_update_rate_flags_after_vdev_restart() 1112 rate_flags = wma_get_vht_rate_flags(des_chan->ch_width); in wma_update_rate_flags_after_vdev_restart() 1114 rate_flags = wma_get_ht_rate_flags(des_chan->ch_width); in wma_update_rate_flags_after_vdev_restart() 1122 bss_phymode, rate_flags, des_chan->ch_width); in wma_update_rate_flags_after_vdev_restart() 1358 iface->vdev->vdev_mlme.des_chan, in wma_vdev_start_resp_handler() 3361 struct wlan_channel *des_chan; in wma_vdev_pre_start() local [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/src/ |
H A D | wlan_cm_api.c | 571 struct wlan_channel *des_chan; in wlan_cm_sta_update_bw_puncture() local 580 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in wlan_cm_sta_update_bw_puncture() 581 if (!des_chan) { in wlan_cm_sta_update_bw_puncture() 587 status = wlan_cm_sta_set_chan_param(vdev, des_chan->ch_freq, in wlan_cm_sta_update_bw_puncture() 593 if (des_chan->puncture_bitmap == ch_param.reg_punc_bitmap && in wlan_cm_sta_update_bw_puncture() 594 des_chan->ch_width == ch_param.ch_width) in wlan_cm_sta_update_bw_puncture() 597 des_chan->ch_freq_seg1 = ch_param.center_freq_seg0; in wlan_cm_sta_update_bw_puncture() 598 des_chan->ch_freq_seg2 = ch_param.center_freq_seg1; in wlan_cm_sta_update_bw_puncture() 599 des_chan->ch_cfreq1 = ch_param.mhz_freq_seg0; in wlan_cm_sta_update_bw_puncture() 600 des_chan->ch_cfreq2 = ch_param.mhz_freq_seg1; in wlan_cm_sta_update_bw_puncture() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/core/src/ |
H A D | vdev_mgr_ops.c | 224 struct wlan_channel *des_chan) in vdev_mgr_start_param_update_11be() argument 227 param->channel.puncture_bitmap = des_chan->puncture_bitmap; in vdev_mgr_start_param_update_11be() 231 vdev_mgr_set_cur_chan_punc_bitmap(struct wlan_channel *des_chan, in vdev_mgr_set_cur_chan_punc_bitmap() argument 234 *puncture_bitmap = des_chan->puncture_bitmap; in vdev_mgr_set_cur_chan_punc_bitmap() 240 struct wlan_channel *des_chan) in vdev_mgr_start_param_update_11be() argument 245 vdev_mgr_set_cur_chan_punc_bitmap(struct wlan_channel *des_chan, in vdev_mgr_set_cur_chan_punc_bitmap() argument 457 struct wlan_channel *des_chan; in vdev_mgr_start_param_update() local 485 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in vdev_mgr_start_param_update() 491 vdev_mgr_is_49G_5G_chan_freq(des_chan->ch_freq)) { in vdev_mgr_start_param_update() 492 vdev_mgr_set_cur_chan_punc_bitmap(des_chan, &puncture_bitmap); in vdev_mgr_start_param_update() [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
H A D | lim_process_beacon_frame.c | 312 struct wlan_channel *des_chan; in lim_process_beacon_eht_op() local 422 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in lim_process_beacon_eht_op() 423 csa_param->channel = des_chan->ch_ieee; in lim_process_beacon_eht_op() 424 csa_param->csa_chan_freq = des_chan->ch_freq; in lim_process_beacon_eht_op() 440 struct wlan_channel *des_chan; in lim_process_beacon_eht() local 451 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in lim_process_beacon_eht() 452 if (!des_chan || !IS_WLAN_PHYMODE_EHT(des_chan->ch_phymode)) in lim_process_beacon_eht()
|
H A D | lim_process_assoc_rsp_frame.c | 827 struct wlan_channel *des_chan; in lim_update_sta_vdev_punc() local 843 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in lim_update_sta_vdev_punc() 851 if (WLAN_REG_IS_24GHZ_CH_FREQ(des_chan->ch_freq)) in lim_update_sta_vdev_punc() 853 else if (WLAN_REG_IS_6GHZ_CHAN_FREQ(des_chan->ch_freq)) in lim_update_sta_vdev_punc() 865 des_chan->ch_freq, in lim_update_sta_vdev_punc() 871 vdev_id, des_chan->ch_freq, ori_bw, ori_puncture_bitmap); in lim_update_sta_vdev_punc() 875 if (des_chan->ch_width == ori_bw) in lim_update_sta_vdev_punc() 876 des_chan->puncture_bitmap = ori_puncture_bitmap; in lim_update_sta_vdev_punc() 879 des_chan->ch_freq, in lim_update_sta_vdev_punc() 881 des_chan->ch_width, in lim_update_sta_vdev_punc() [all …]
|
H A D | lim_utils.c | 2085 struct wlan_channel *des_chan; in lim_switch_channel_cback() local 2101 des_chan = mlme_obj->vdev->vdev_mlme.des_chan; in lim_switch_channel_cback() 2102 if (!des_chan) { in lim_switch_channel_cback() 2121 pSirSmeSwitchChInd->freq = des_chan->ch_freq; in lim_switch_channel_cback() 2123 pSirSmeSwitchChInd->chan_params.ch_width = des_chan->ch_width; in lim_switch_channel_cback() 2124 if (des_chan->ch_width > CH_WIDTH_20MHZ) { in lim_switch_channel_cback() 2128 des_chan->ch_freq_seg1; in lim_switch_channel_cback() 2130 des_chan->ch_cfreq1; in lim_switch_channel_cback() 2132 des_chan->ch_freq_seg2; in lim_switch_channel_cback() 2134 des_chan->ch_cfreq2; in lim_switch_channel_cback() [all …]
|
H A D | lim_utils.h | 2153 void lim_update_des_chan_puncture(struct wlan_channel *des_chan, 2356 lim_update_des_chan_puncture(struct wlan_channel *des_chan, in lim_update_des_chan_puncture() argument
|
/wlan-driver/qca-wifi-host-cmn/spectral/dispatcher/src/ |
H A D | wlan_spectral_utils_api.c | 254 struct wlan_channel *des_chan; in spectral_vdev_get_chan_freq_seg2() local 263 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in spectral_vdev_get_chan_freq_seg2() 264 if (des_chan->ch_width == CH_WIDTH_80P80MHZ) in spectral_vdev_get_chan_freq_seg2() 265 return des_chan->ch_freq_seg2; in spectral_vdev_get_chan_freq_seg2()
|
/wlan-driver/qca-wifi-host-cmn/umac/mlme/vdev_mgr/dispatcher/src/ |
H A D | wlan_vdev_mgr_utils_api.c | 712 struct wlan_channel *des_chan = NULL; in wlan_util_vdev_mgr_get_cac_timeout_for_vdev() local 717 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in wlan_util_vdev_mgr_get_cac_timeout_for_vdev() 718 if (!des_chan) in wlan_util_vdev_mgr_get_cac_timeout_for_vdev() 725 if (!utils_dfs_is_cac_required(wlan_vdev_get_pdev(vdev), des_chan, in wlan_util_vdev_mgr_get_cac_timeout_for_vdev() 730 wlan_vdev_get_pdev(vdev), des_chan->ch_freq, in wlan_util_vdev_mgr_get_cac_timeout_for_vdev() 731 des_chan->ch_cfreq2, des_chan->ch_flags); in wlan_util_vdev_mgr_get_cac_timeout_for_vdev()
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/sch/ |
H A D | sch_api.c | 350 struct wlan_channel *des_chan; in lim_populate_fd_tmpl_frame() local 367 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in lim_populate_fd_tmpl_frame() 368 if (!des_chan) { in lim_populate_fd_tmpl_frame() 373 cur_phymode = des_chan->ch_phymode; in lim_populate_fd_tmpl_frame() 453 *frm = des_chan->ch_freq_seg1; in lim_populate_fd_tmpl_frame()
|
/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_cm_disconnect.c | 583 struct wlan_channel *des_chan; in hdd_cm_restore_ch_width() local 593 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in hdd_cm_restore_ch_width() 594 if (!des_chan) in hdd_cm_restore_ch_width() 604 if (des_chan->ch_width != assoc_ch_width) in hdd_cm_restore_ch_width()
|
H A D | wlan_hdd_son.c | 231 struct wlan_channel *des_chan; in hdd_son_get_chwidth() local 238 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in hdd_son_get_chwidth() 240 return hdd_phy_chwidth_to_son_chwidth(des_chan->ch_width); in hdd_son_get_chwidth() 1057 struct wlan_channel *des_chan; in hdd_son_get_phymode() local 1063 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in hdd_son_get_phymode() 1064 if (!des_chan) { in hdd_son_get_phymode() 1069 return hdd_wlan_phymode_to_son_phymode(des_chan->ch_phymode); in hdd_son_get_phymode()
|
H A D | wlan_hdd_cm_connect.c | 1304 struct wlan_channel *des_chan; in hdd_cm_save_connect_info() local 1348 des_chan = wlan_vdev_mlme_get_des_chan(link_info->vdev); in hdd_cm_save_connect_info() 1363 sme_phy_mode_to_dot11mode(des_chan->ch_phymode); in hdd_cm_save_connect_info() 1365 sta_ctx->conn_info.ch_width = des_chan->ch_width; in hdd_cm_save_connect_info()
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/inc/ |
H A D | wlan_objmgr_vdev_obj.h | 365 struct wlan_channel *des_chan; member 1241 struct wlan_channel *des_chan) in wlan_vdev_mlme_set_des_chan() argument 1243 vdev->vdev_mlme.des_chan = des_chan; in wlan_vdev_mlme_set_des_chan() 1257 return vdev->vdev_mlme.des_chan; in wlan_vdev_mlme_get_des_chan()
|
/wlan-driver/qcacld-3.0/components/pkt_capture/core/src/ |
H A D | wlan_pkt_capture_main.c | 747 vdev_priv->curr_freq = vdev->vdev_mlme.des_chan->ch_freq; in pkt_capture_register_callbacks() 1220 struct wlan_channel *des_chan; in pkt_capture_record_channel() local 1231 des_chan = vdev->vdev_mlme.des_chan; in pkt_capture_record_channel() 1232 val.cdp_pdev_param_monitor_chan = des_chan->ch_ieee; in pkt_capture_record_channel() 1235 val.cdp_pdev_param_mon_freq = des_chan->ch_freq; in pkt_capture_record_channel()
|
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/ |
H A D | wlan_cm_vdev_connect.c | 740 struct wlan_channel *des_chan; in cm_connect_info() local 777 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in cm_connect_info() 782 cm_diag_dot11_mode_from_phy_mode(des_chan->ch_phymode); in cm_connect_info() 929 struct wlan_channel *des_chan; in cm_get_sta_cxn_info() local 976 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in cm_get_sta_cxn_info() 977 ch_width = cm_get_diag_ch_width(des_chan->ch_width); in cm_get_sta_cxn_info() 980 dot11mode = cm_diag_dot11_mode_from_phy_mode(des_chan->ch_phymode); in cm_get_sta_cxn_info() 1733 struct wlan_channel *des_chan; in cm_cp_stats_cstats_log_connect_event() local 1747 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in cm_cp_stats_cstats_log_connect_event() 1773 stat.dot11mode = cm_diag_dot11_mode_from_phy_mode(des_chan->ch_phymode); in cm_cp_stats_cstats_log_connect_event()
|
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/dispatcher/src/ |
H A D | wlan_cm_roam_api.c | 141 struct wlan_channel *des_chan; in cm_update_associated_ch_info() local 164 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in cm_update_associated_ch_info() 165 if (!des_chan) in cm_update_associated_ch_info() 177 assoc_chan_info->assoc_ch_width = des_chan->ch_width; in cm_update_associated_ch_info() 181 if (WLAN_REG_IS_24GHZ_CH_FREQ(des_chan->ch_freq) && in cm_update_associated_ch_info() 182 des_chan->ch_width == CH_WIDTH_40MHZ) { in cm_update_associated_ch_info() 183 if (des_chan->ch_cfreq1 == des_chan->ch_freq + BW_10_MHZ) in cm_update_associated_ch_info() 185 des_chan->ch_freq + BW_20_MHZ; in cm_update_associated_ch_info() 186 if (des_chan->ch_cfreq1 == des_chan->ch_freq - BW_10_MHZ) in cm_update_associated_ch_info() 188 des_chan->ch_freq - BW_20_MHZ; in cm_update_associated_ch_info() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/obj_mgr/src/ |
H A D | wlan_objmgr_vdev_obj.c | 117 qdf_mem_free(vdev->vdev_mlme.des_chan); in wlan_objmgr_vdev_obj_free() 170 vdev->vdev_mlme.des_chan = qdf_mem_malloc(sizeof(struct wlan_channel)); in wlan_objmgr_vdev_obj_create() 171 if (!vdev->vdev_mlme.des_chan) { in wlan_objmgr_vdev_obj_create() 188 qdf_mem_free(vdev->vdev_mlme.des_chan); in wlan_objmgr_vdev_obj_create() 204 qdf_mem_free(vdev->vdev_mlme.des_chan); in wlan_objmgr_vdev_obj_create()
|
/wlan-driver/qcacld-3.0/core/sap/src/ |
H A D | sap_module.c | 2441 struct wlan_channel *des_chan; in wlansap_son_update_sap_config_phymode() local 2458 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in wlansap_son_update_sap_config_phymode() 2459 if (!des_chan) { in wlansap_son_update_sap_config_phymode() 2555 config->chan_freq = des_chan->ch_freq; in wlansap_son_update_sap_config_phymode() 2557 if (WLAN_REG_IS_24GHZ_CH_FREQ(des_chan->ch_freq) && in wlansap_son_update_sap_config_phymode() 2559 des_chan->ch_width == CH_WIDTH_40MHZ) { in wlansap_son_update_sap_config_phymode() 2560 if (des_chan->ch_cfreq1 == des_chan->ch_freq + BW_10_MHZ) in wlansap_son_update_sap_config_phymode() 2561 config->sec_ch_freq = des_chan->ch_freq + BW_20_MHZ; in wlansap_son_update_sap_config_phymode() 2562 if (des_chan->ch_cfreq1 == des_chan->ch_freq - BW_10_MHZ) in wlansap_son_update_sap_config_phymode() 2563 config->sec_ch_freq = des_chan->ch_freq - BW_20_MHZ; in wlansap_son_update_sap_config_phymode()
|
/wlan-driver/qcacld-3.0/components/mlme/dispatcher/src/ |
H A D | wlan_mlme_api.c | 7625 void wlan_mlme_set_puncture(struct wlan_channel *des_chan, in wlan_mlme_set_puncture() argument 7628 des_chan->puncture_bitmap = puncture_bitmap; in wlan_mlme_set_puncture() 7632 void wlan_mlme_set_puncture(struct wlan_channel *des_chan, in wlan_mlme_set_puncture() argument 7644 struct wlan_channel *des_chan; in wlan_mlme_update_ch_width() local 7651 des_chan = wlan_vdev_mlme_get_des_chan(vdev); in wlan_mlme_update_ch_width() 7652 if (!des_chan) in wlan_mlme_update_ch_width() 7666 curr_op_freq = des_chan->ch_freq; in wlan_mlme_update_ch_width() 7672 des_chan->ch_width = ch_width; in wlan_mlme_update_ch_width() 7673 des_chan->ch_freq_seg1 = ch_params.center_freq_seg0; in wlan_mlme_update_ch_width() 7674 des_chan->ch_freq_seg2 = ch_params.center_freq_seg1; in wlan_mlme_update_ch_width() [all …]
|
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ |
H A D | reg_services_common.c | 6791 struct wlan_channel *des_chan; in reg_compute_indoor_list_on_cc_change() local 6818 des_chan = vdev->vdev_mlme.des_chan; in reg_compute_indoor_list_on_cc_change() 6819 if (!des_chan) in reg_compute_indoor_list_on_cc_change() 6822 if (!reg_is_5ghz_ch_freq(des_chan->ch_freq)) in reg_compute_indoor_list_on_cc_change() 6825 chan_enum = reg_get_chan_enum_for_freq(des_chan->ch_freq); in reg_compute_indoor_list_on_cc_change() 6836 des_chan->ch_freq, in reg_compute_indoor_list_on_cc_change() 6837 des_chan->ch_width); in reg_compute_indoor_list_on_cc_change()
|
/wlan-driver/qcacld-3.0/core/wma/inc/ |
H A D | wma_internal.h | 1784 wma_update_bss_peer_phy_mode(struct wlan_channel *des_chan,
|