/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_pasn_peer_api.c | 40 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_pasn_peer_remove() local 45 if (!wma) { in wma_pasn_peer_remove() 50 if (!wma_objmgr_peer_exist(wma, peer_addr->bytes, &peer_vdev_id)) { in wma_pasn_peer_remove() 64 qdf_status = wmi_unified_peer_delete_send(wma->wmi_handle, in wma_pasn_peer_remove() 73 wma_remove_objmgr_peer(wma, wma->interfaces[vdev_id].vdev, in wma_pasn_peer_remove() 84 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_pasn_peer_create() local 93 if (!wma) { in wma_pasn_peer_create() 104 if (wma->interfaces[vdev_id].peer_count >= in wma_pasn_peer_create() 107 wma->interfaces[vdev_id].peer_count); in wma_pasn_peer_create() 117 wma_acquire_wakelock(&wma->wmi_cmd_rsp_wake_lock, in wma_pasn_peer_create() [all …]
|
H A D | wma_dev_if.c | 128 QDF_STATUS wma_find_vdev_id_by_addr(tp_wma_handle wma, uint8_t *addr, in wma_find_vdev_id_by_addr() argument 134 for (i = 0; i < wma->max_bssid; i++) { in wma_find_vdev_id_by_addr() 135 vdev = wma->interfaces[i].vdev; in wma_find_vdev_id_by_addr() 167 bool wma_is_vdev_in_ap_mode(tp_wma_handle wma, uint8_t vdev_id) in wma_is_vdev_in_ap_mode() argument 169 struct wma_txrx_node *intf = wma->interfaces; in wma_is_vdev_in_ap_mode() 171 if (vdev_id >= wma->max_bssid) { in wma_is_vdev_in_ap_mode() 203 QDF_STATUS wma_find_vdev_id_by_bssid(tp_wma_handle wma, uint8_t *bssid, in wma_find_vdev_id_by_bssid() argument 209 for (i = 0; i < wma->max_bssid; i++) { in wma_find_vdev_id_by_bssid() 210 if (!wma->interfaces[i].vdev) in wma_find_vdev_id_by_bssid() 212 bssid_addr = wma_get_vdev_bssid(wma->interfaces[i].vdev); in wma_find_vdev_id_by_bssid() [all …]
|
H A D | wma_scan_roam.c | 280 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in cm_handle_auth_offload() local 284 if (!mac_ctx || !wma) { in cm_handle_auth_offload() 289 cds_host_diag_log_work(&wma->roam_preauth_wl, in cm_handle_auth_offload() 293 qdf_wake_lock_timeout_acquire(&wma->roam_ho_wl, in cm_handle_auth_offload() 313 status = wma->csr_roam_auth_event_handle_cb(mac_ctx, auth_event->vdev_id, in cm_handle_auth_offload() 326 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in cm_handle_disconnect_reason() local 328 if (!wma) { in cm_handle_disconnect_reason() 334 wma_handle_disconnect_reason(wma, data->vdev_id, in cm_handle_disconnect_reason() 338 wma_handle_disconnect_reason(wma, data->vdev_id, in cm_handle_disconnect_reason() 378 void wma_process_set_pdev_ie_req(tp_wma_handle wma, in wma_process_set_pdev_ie_req() argument [all …]
|
H A D | wma_data.c | 742 static void wma_cp_stats_set_rate_flag(tp_wma_handle wma, uint8_t vdev_id) in wma_cp_stats_set_rate_flag() argument 745 struct wlan_objmgr_psoc *psoc = wma->psoc; in wma_cp_stats_set_rate_flag() 746 struct wma_txrx_node *iface = &wma->interfaces[vdev_id]; in wma_cp_stats_set_rate_flag() 853 void wma_set_bss_rate_flags(tp_wma_handle wma, uint8_t vdev_id, in wma_set_bss_rate_flags() argument 856 struct wma_txrx_node *iface = &wma->interfaces[vdev_id]; in wma_set_bss_rate_flags() 894 wma_cp_stats_set_rate_flag(wma, vdev_id); in wma_set_bss_rate_flags() 901 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_set_vht_txbf_cfg() local 903 if (!wma) in wma_set_vht_txbf_cfg() 911 status = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_set_vht_txbf_cfg() 925 int32_t wmi_unified_send_txbf(tp_wma_handle wma, tpAddStaParams params) in wmi_unified_send_txbf() argument [all …]
|
H A D | wma_mgmt.c | 107 static void wma_send_bcn_buf_ll(tp_wma_handle wma, in wma_send_bcn_buf_ll() argument 122 bcn = wma->interfaces[vdev_id].beacon; in wma_send_bcn_buf_ll() 228 wma_update_probe_resp_noa(wma, &noa_ie); in wma_send_bcn_buf_ll() 232 qdf_nbuf_unmap_single(wma->qdf_dev, bcn->buf, QDF_DMA_TO_DEVICE); in wma_send_bcn_buf_ll() 235 ret = qdf_nbuf_map_single(wma->qdf_dev, bcn->buf, QDF_DMA_TO_DEVICE); in wma_send_bcn_buf_ll() 256 wmi_unified_bcn_buf_ll_cmd(wma->wmi_handle, in wma_send_bcn_buf_ll() 263 wma_send_bcn_buf_ll(tp_wma_handle wma, in wma_send_bcn_buf_ll() argument 283 tp_wma_handle wma = (tp_wma_handle) handle; in wma_beacon_swba_handler() local 299 for (; vdev_map && vdev_id < wma->max_bssid; in wma_beacon_swba_handler() 305 wma_send_bcn_buf_ll(wma, vdev_id, param_buf); in wma_beacon_swba_handler() [all …]
|
H A D | wma_features.c | 117 static inline void qdf_wma_wow_wakeup_stats_event(tp_wma_handle wma) in qdf_wma_wow_wakeup_stats_event() argument 125 status = ucfg_mc_cp_stats_get_psoc_wake_lock_stats(wma->psoc, &stats); in qdf_wma_wow_wakeup_stats_event() 151 static inline void qdf_wma_wow_wakeup_stats_event(tp_wma_handle wma) in qdf_wma_wow_wakeup_stats_event() argument 185 static int wma_wake_reason_nlod(t_wma_handle *wma, uint8_t vdev_id) in wma_wake_reason_nlod() argument 190 return target_if_nlo_match_event_handler(wma, (uint8_t *)¶m, in wma_wake_reason_nlod() 194 static inline int wma_wake_reason_nlod(t_wma_handle *wma, uint8_t vdev_id) in wma_wake_reason_nlod() argument 298 void wma_process_link_status_req(tp_wma_handle wma, in wma_process_link_status_req() argument 303 &wma->interfaces[pGetLinkStatus->sessionId]; in wma_process_link_status_req() 313 if (wmi_unified_link_status_req_cmd(wma->wmi_handle, &cmd)) { in wma_process_link_status_req() 498 tp_wma_handle wma = (tp_wma_handle)handle; in wma_set_tsf_gpio_pin() local [all …]
|
H A D | wma_power.c | 104 tp_wma_handle wma; in wma_unified_set_sta_ps_param() local 109 wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_unified_set_sta_ps_param() 110 if (!wma) in wma_unified_set_sta_ps_param() 117 iface = &wma->interfaces[vdev_id]; in wma_unified_set_sta_ps_param() 139 QDF_STATUS wma_set_ap_peer_uapsd(tp_wma_handle wma, uint32_t vdev_id, in wma_set_ap_peer_uapsd() argument 188 ret = wmi_unified_ap_ps_cmd_send(wma->wmi_handle, peer_addr, in wma_set_ap_peer_uapsd() 202 ret = wmi_unified_ap_ps_cmd_send(wma->wmi_handle, peer_addr, in wma_set_ap_peer_uapsd() 467 static QDF_STATUS wma_set_force_sleep(tp_wma_handle wma, in wma_set_force_sleep() argument 522 ret = wma_unified_set_sta_ps_param(wma->wmi_handle, vdev_id, in wma_set_force_sleep() 536 ret = wma_unified_set_sta_ps_param(wma->wmi_handle, vdev_id, in wma_set_force_sleep() [all …]
|
H A D | wma_utils.c | 599 void wma_lost_link_info_handler(tp_wma_handle wma, uint32_t vdev_id, in wma_lost_link_info_handler() argument 606 if (vdev_id >= wma->max_bssid) { in wma_lost_link_info_handler() 613 (WMI_VDEV_TYPE_STA == wma->interfaces[vdev_id].type) && in wma_lost_link_info_handler() 614 (0 == wma->interfaces[vdev_id].sub_type)) { in wma_lost_link_info_handler() 615 lim_update_lost_link_rssi(wma->mac_context, rssi); in wma_lost_link_info_handler() 2662 QDF_STATUS wma_process_ll_stats_clear_req(tp_wma_handle wma, in wma_process_ll_stats_clear_req() argument 2670 if (!clearReq || !wma) { in wma_process_ll_stats_clear_req() 2675 vdev = wma->interfaces[clearReq->staId].vdev; in wma_process_ll_stats_clear_req() 2685 vdev = wma->interfaces[clearReq->staId].vdev; in wma_process_ll_stats_clear_req() 2696 ret = wmi_unified_process_ll_stats_clear_cmd(wma->wmi_handle, &cmd); in wma_process_ll_stats_clear_req() [all …]
|
H A D | wma_nan_datapath.c | 38 QDF_STATUS wma_add_sta_ndi_mode(tp_wma_handle wma, tpAddStaParams add_sta) in wma_add_sta_ndi_mode() argument 46 iface = &wma->interfaces[add_sta->smesessionId]; in wma_add_sta_ndi_mode() 72 status = wma_create_peer(wma, add_sta->staMac, in wma_add_sta_ndi_mode() 87 wma_remove_peer(wma, add_sta->staMac, add_sta->smesessionId, in wma_add_sta_ndi_mode() 103 wma_send_msg_high_priority(wma, WMA_ADD_STA_RSP, (void *)add_sta, 0); in wma_add_sta_ndi_mode() 108 QDF_STATUS wma_delete_sta_req_ndi_mode(tp_wma_handle wma, in wma_delete_sta_req_ndi_mode() argument 113 status = wma_remove_peer(wma, del_sta->staMac, in wma_delete_sta_req_ndi_mode() 120 wma_send_msg_high_priority(wma, WMA_DELETE_STA_RSP, del_sta, 0); in wma_delete_sta_req_ndi_mode()
|
H A D | wma_main.c | 177 struct wma_ini_config *wma_get_ini_handle(tp_wma_handle wma) in wma_get_ini_handle() argument 179 if (wma_validate_handle(wma)) in wma_get_ini_handle() 182 return &wma->ini_config; in wma_get_ini_handle() 211 static uint8_t wma_get_number_of_peers_supported(tp_wma_handle wma) in wma_get_number_of_peers_supported() argument 213 struct wma_ini_config *cfg = wma_get_ini_handle(wma); in wma_get_number_of_peers_supported() 699 tp_wma_handle wma; in wma_cli_get_command() local 702 wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_cli_get_command() 703 if (!wma) in wma_cli_get_command() 706 intr = wma->interfaces; in wma_cli_get_command() 772 ret = wma->pdevconfig.ani_enable; in wma_cli_get_command() [all …]
|
H A D | wma_nan_datapath.h | 58 QDF_STATUS wma_add_sta_ndi_mode(tp_wma_handle wma, tpAddStaParams add_sta); 82 QDF_STATUS wma_delete_sta_req_ndi_mode(tp_wma_handle wma, 111 QDF_STATUS wma_delete_sta_req_ndi_mode(tp_wma_handle wma, in wma_delete_sta_req_ndi_mode() argument 118 QDF_STATUS wma_add_sta_ndi_mode(tp_wma_handle wma, in wma_add_sta_ndi_mode() argument
|
H A D | wma_ocb.c | 41 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_start_ocb_vdev() local 47 vdev = wma->interfaces[config->vdev_id].vdev; 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_twt.c | 99 t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_send_twt_enable_cmd() local 103 if (!wma) in wma_send_twt_enable_cmd() 112 ret = wmi_unified_twt_enable_cmd(wma->wmi_handle, &twt_enable_params); in wma_send_twt_enable_cmd() 162 t_wma_handle *wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_send_twt_disable_cmd() local 166 if (!wma) in wma_send_twt_disable_cmd() 174 ret = wmi_unified_twt_disable_cmd(wma->wmi_handle, &twt_disable_params); in wma_send_twt_disable_cmd()
|
H A D | wma_he.c | 1275 void wma_vdev_set_he_bss_params(tp_wma_handle wma, uint8_t vdev_id, in wma_vdev_set_he_bss_params() argument 1282 ret = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_vdev_set_he_bss_params() 1289 void wma_vdev_set_he_config(tp_wma_handle wma, uint8_t vdev_id, in wma_vdev_set_he_config() argument 1295 ret = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_vdev_set_he_config() 1307 QDF_STATUS wma_update_he_ops_ie(tp_wma_handle wma, uint8_t vdev_id, in wma_update_he_ops_ie() argument 1313 if (wma_validate_handle(wma)) in wma_update_he_ops_ie() 1324 ret = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_update_he_ops_ie() 1346 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_set_he_txbf_params() local 1348 if (!wma) in wma_set_he_txbf_params() 1370 status = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_set_he_txbf_params()
|
H A D | wma_eht.c | 866 void wma_vdev_set_eht_bss_params(tp_wma_handle wma, uint8_t vdev_id, in wma_vdev_set_eht_bss_params() argument 910 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_set_eht_txbf_params() local 912 if (!wma) in wma_set_eht_txbf_params() 927 status = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_set_eht_txbf_params() 1109 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in wma_vdev_set_listen_interval() local 1112 status = wma_vdev_set_param(wma->wmi_handle, vdev_id, in wma_vdev_set_listen_interval()
|
/wlan-driver/qcacld-3.0/core/wma/inc/ |
H A D | wma_internal.h | 293 void wma_set_ric_req(tp_wma_handle wma, void *msg, uint8_t is_add_ts); 346 QDF_STATUS wma_start_extscan(tp_wma_handle wma, 358 QDF_STATUS wma_stop_extscan(tp_wma_handle wma, 370 QDF_STATUS wma_extscan_start_hotlist_monitor(tp_wma_handle wma, 382 QDF_STATUS wma_extscan_stop_hotlist_monitor(tp_wma_handle wma, 395 wma_extscan_start_change_monitor(tp_wma_handle wma, 408 wma_extscan_stop_change_monitor(tp_wma_handle wma, 421 wma_extscan_get_cached_results(tp_wma_handle wma, 434 wma_extscan_get_capabilities(tp_wma_handle wma, 447 QDF_STATUS wma_set_epno_network_list(tp_wma_handle wma, [all …]
|
H A D | wma.h | 1503 QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma, 1507 QDF_STATUS wma_set_rssi_monitoring(tp_wma_handle wma, in wma_set_rssi_monitoring() argument 1533 struct wma_target_req *wma_fill_hold_req(tp_wma_handle wma, 1590 QDF_STATUS wma_set_gateway_params(tp_wma_handle wma, 1594 QDF_STATUS wma_set_gateway_params(tp_wma_handle wma, in wma_set_gateway_params() argument 1607 QDF_STATUS wma_send_ht40_obss_scanind(tp_wma_handle wma, 1631 QDF_STATUS wma_get_apf_capabilities(tp_wma_handle wma); 1641 wma_set_apf_instructions(tp_wma_handle wma, 1694 static inline QDF_STATUS wma_get_apf_capabilities(tp_wma_handle wma) in wma_get_apf_capabilities() argument 1700 wma_set_apf_instructions(tp_wma_handle wma, in wma_set_apf_instructions() argument [all …]
|
H A D | wma_pasn_peer_api.h | 67 wma_pasn_handle_peer_create_conf(tp_wma_handle wma, 79 wma_delete_all_pasn_peers(tp_wma_handle wma, struct wlan_objmgr_vdev *vdev); 82 wma_resume_vdev_delete(tp_wma_handle wma, uint8_t vdev_id); 104 wma_pasn_handle_peer_create_conf(tp_wma_handle wma, in wma_pasn_handle_peer_create_conf() argument 112 wma_delete_all_pasn_peers(tp_wma_handle wma, struct wlan_objmgr_vdev *vdev) in wma_delete_all_pasn_peers() argument 118 wma_resume_vdev_delete(tp_wma_handle wma, uint8_t vdev_id) in wma_resume_vdev_delete() argument
|
H A D | wma_he.h | 189 void wma_vdev_set_he_bss_params(tp_wma_handle wma, uint8_t vdev_id, 200 void wma_vdev_set_he_config(tp_wma_handle wma, uint8_t vdev_id, 219 QDF_STATUS wma_update_he_ops_ie(tp_wma_handle wma, uint8_t vdev_id, 337 static inline QDF_STATUS wma_update_he_ops_ie(tp_wma_handle wma, in wma_update_he_ops_ie() argument 344 void wma_vdev_set_he_bss_params(tp_wma_handle wma, uint8_t vdev_id, in wma_vdev_set_he_bss_params() argument 349 static inline void wma_vdev_set_he_config(tp_wma_handle wma, uint8_t vdev_id, in wma_vdev_set_he_config() argument
|
H A D | wma_api.h | 271 QDF_STATUS wma_remove_beacon_filter(WMA_HANDLE wma, 274 QDF_STATUS wma_add_beacon_filter(WMA_HANDLE wma, 310 void wma_process_pdev_hw_mode_trans_ind(void *wma, 336 QDF_STATUS wma_get_roam_scan_ch(wmi_unified_t wma, 340 QDF_STATUS wma_get_roam_scan_ch(wmi_unified_t wma, in wma_get_roam_scan_ch() argument
|
/wlan-driver/qca-wifi-host-cmn/utils/fwlog/ |
H A D | dbglog_host.c | 1874 tp_wma_handle wma = (tp_wma_handle) scn; in diag_fw_handler() local 1880 if (!wma) { in diag_fw_handler() 1885 if (wma->is_fw_assert) { in diag_fw_handler() 1888 wma->is_fw_assert = 0; in diag_fw_handler() 1988 tp_wma_handle wma = (tp_wma_handle) scn; in dbglog_parse_debug_logs() local 2002 if (!wma) { in dbglog_parse_debug_logs() 2007 if (wma->is_fw_assert) { in dbglog_parse_debug_logs() 2010 wma->is_fw_assert = 0; in dbglog_parse_debug_logs() 2044 return dbglog_process_netlink_data((wmi_unified_t) wma-> in dbglog_parse_debug_logs() 2051 return dbglog_debugfs_raw_data((wmi_unified_t) wma->wmi_handle, in dbglog_parse_debug_logs()
|
/wlan-driver/qcacld-3.0/ |
H A D | wlan_qcacld3_modules.bzl | 302 "core/wma/inc", 303 "core/wma/src", 634 "core/wma/src/wlan_qct_wma_legacy.c", 635 "core/wma/src/wma_data.c", 636 "core/wma/src/wma_dev_if.c", 637 "core/wma/src/wma_features.c", 638 "core/wma/src/wma_main.c", 639 "core/wma/src/wma_mgmt.c", 640 "core/wma/src/wma_power.c", 641 "core/wma/src/wma_scan_roam.c", [all …]
|
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/ |
H A D | lim_send_messages.c | 101 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in lim_send_switch_chnl_params() local 103 if (!wma) in lim_send_switch_chnl_params() 148 wma_handle_channel_switch_resp(wma, &rsp); in lim_send_switch_chnl_params()
|
/wlan-driver/qca-wifi-host-cmn/wmi/src/ |
H A D | wmi_unified_ocb_ut.c | 397 tp_wma_handle wma = (tp_wma_handle) wmi_handle->scn_handle; in fake_vdev_start_cmd_tlv() local 411 ucfg_ocb_config_channel(wma->pdev); in fake_vdev_start_cmd_tlv()
|
/wlan-driver/qcacld-3.0/core/bmi/src/ |
H A D | ol_fw.c | 624 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in __ramdump_work_handler() local 671 qdf_event_set(&wma->recovery_event); in __ramdump_work_handler() 686 qdf_event_set(&wma->recovery_event); in __ramdump_work_handler() 724 tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA); in ol_target_failure() local 789 qdf_event_set(&wma->recovery_event); in ol_target_failure() 794 qdf_event_set(&wma->recovery_event); in ol_target_failure()
|