/wlan-driver/qcacld-3.0/core/wma/src/ |
H A D | wma_main.c | 185 int __wma_validate_handle(tp_wma_handle wma_handle, const char *func) in __wma_validate_handle() argument 187 if (!wma_handle) { in __wma_validate_handle() 267 static void wma_update_num_peers_tids(t_wma_handle *wma_handle, in wma_update_num_peers_tids() argument 273 no_of_peers_supported = wma_get_number_of_peers_supported(wma_handle); in wma_update_num_peers_tids() 358 static void wma_set_feature_set_info(tp_wma_handle wma_handle, in wma_set_feature_set_info() argument 362 (struct cds_context *)(wma_handle->cds_context); in wma_set_feature_set_info() 369 psoc = wma_handle->psoc; in wma_set_feature_set_info() 517 static void wma_send_feature_set_cmd(tp_wma_handle wma_handle) in wma_send_feature_set_cmd() argument 521 if (!wma_handle) { in wma_send_feature_set_cmd() 526 wma_set_feature_set_info(wma_handle, &feature_set); in wma_send_feature_set_cmd() [all …]
|
H A D | wma_twt.c | 37 void wma_register_twt_events(tp_wma_handle wma_handle) in wma_register_twt_events() argument 61 QDF_STATUS wma_twt_process_add_dialog(t_wma_handle *wma_handle, in wma_twt_process_add_dialog() argument 68 wma_twt_process_del_dialog(t_wma_handle *wma_handle, in wma_twt_process_del_dialog() argument 75 wma_twt_process_pause_dialog(t_wma_handle *wma_handle, in wma_twt_process_pause_dialog() argument 82 wma_twt_process_nudge_dialog(t_wma_handle *wma_handle, in wma_twt_process_nudge_dialog() argument 89 wma_twt_process_resume_dialog(t_wma_handle *wma_handle, in wma_twt_process_resume_dialog() argument 131 tp_wma_handle wma_handle = handle; in wma_twt_en_complete_event_handler() local 136 if (wma_validate_handle(wma_handle)) in wma_twt_en_complete_event_handler() 139 wmi_handle = wma_handle->wmi_handle; in wma_twt_en_complete_event_handler() 194 tp_wma_handle wma_handle = handle; in wma_twt_disable_comp_event_handler() local [all …]
|
H A D | wma_fips_api.c | 35 tp_wma_handle wma_handle; in wma_fips_event_handler() local 41 wma_handle = handle; in wma_fips_event_handler() 42 if (wma_validate_handle(wma_handle)) in wma_fips_event_handler() 45 wmi_handle = wma_handle->wmi_handle; in wma_fips_event_handler() 71 tp_wma_handle wma_handle = handle; in wma_fips_request() local 75 if (wma_validate_handle(wma_handle)) in wma_fips_request() 78 wmi_handle = wma_handle->wmi_handle; in wma_fips_request() 96 tp_wma_handle wma_handle = handle; in wma_fips_register_event_handlers() local 98 return wmi_unified_register_event_handler(wma_handle->wmi_handle, in wma_fips_register_event_handlers()
|
H A D | wma_power.c | 257 tp_wma_handle wma_handle = (tp_wma_handle) handle; in wma_set_tx_power() local 265 ret = wma_find_vdev_id_by_addr(wma_handle, in wma_set_tx_power() 269 ret = wma_find_vdev_id_by_bssid(wma_handle, in wma_set_tx_power() 287 iface = &wma_handle->interfaces[vdev_id]; in wma_set_tx_power() 309 ret = wma_vdev_set_param(wma_handle->wmi_handle, vdev_id, in wma_set_tx_power() 334 tp_wma_handle wma_handle = (tp_wma_handle) handle; in wma_set_max_tx_power() local 345 ret = wma_find_vdev_id_by_addr(wma_handle, in wma_set_max_tx_power() 349 ret = wma_find_vdev_id_by_bssid(wma_handle, in wma_set_max_tx_power() 366 iface = &wma_handle->interfaces[vdev_id]; in wma_set_max_tx_power() 376 wma_handle->mac_context->pdev, ch_freq); in wma_set_max_tx_power() [all …]
|
H A D | wma_nan_datapath.h | 67 static inline void wma_update_hdd_cfg_ndp(tp_wma_handle wma_handle, in wma_update_hdd_cfg_ndp() argument 70 tgt_cfg->nan_datapath_enabled = wma_handle->nan_datapath_enabled; in wma_update_hdd_cfg_ndp() 91 static inline bool wma_is_ndi_active(tp_wma_handle wma_handle) in wma_is_ndi_active() argument 95 for (i = 0; i < wma_handle->max_bssid; i++) { in wma_is_ndi_active() 96 if (wma_handle->interfaces[i].type == WMI_VDEV_TYPE_NDI && in wma_is_ndi_active() 97 wma_handle->interfaces[i].peer_count > 0) in wma_is_ndi_active() 104 static inline void wma_update_hdd_cfg_ndp(tp_wma_handle wma_handle, in wma_update_hdd_cfg_ndp() argument 124 static inline bool wma_is_ndi_active(tp_wma_handle wma_handle) { return false; } in wma_is_ndi_active() argument
|
H A D | wma_data.c | 958 tp_wma_handle wma_handle; in wma_data_tx_ack_work_handler() local 963 wma_handle = work->wma_handle; in wma_data_tx_ack_work_handler() 964 if (!wma_handle || cds_is_load_or_unload_in_progress()) { in wma_data_tx_ack_work_handler() 970 ack_cb = wma_handle->umac_data_ota_ack_cb; in wma_data_tx_ack_work_handler() 976 ack_cb(wma_handle->mac_context, work->frame, work->status, in wma_data_tx_ack_work_handler() 987 if (wma_handle) { in wma_data_tx_ack_work_handler() 988 wma_handle->umac_data_ota_ack_cb = NULL; in wma_data_tx_ack_work_handler() 989 wma_handle->last_umac_data_nbuf = NULL; in wma_data_tx_ack_work_handler() 990 wma_handle->ack_work_ctx = NULL; in wma_data_tx_ack_work_handler() 1008 tp_wma_handle wma_handle = (tp_wma_handle) wma_context; in wma_data_tx_ack_comp_hdlr() local [all …]
|
H A D | wma_mgmt.c | 2015 tp_wma_handle wma_handle = (tp_wma_handle) handle; in wma_process_update_edca_param_req() local 2068 status = wmi_unified_process_update_edca_param(wma_handle->wmi_handle, in wma_process_update_edca_param_req() 2427 static int wma_p2p_go_set_beacon_ie(t_wma_handle *wma_handle, in wma_p2p_go_set_beacon_ie() argument 2430 if (wma_validate_handle(wma_handle)) in wma_p2p_go_set_beacon_ie() 2433 return wmi_unified_p2p_go_set_beacon_ie_cmd(wma_handle->wmi_handle, in wma_p2p_go_set_beacon_ie() 2651 static inline void wma_mgmt_unmap_buf(tp_wma_handle wma_handle, qdf_nbuf_t buf) in wma_mgmt_unmap_buf() argument 2655 static inline void wma_mgmt_unmap_buf(tp_wma_handle wma_handle, qdf_nbuf_t buf) in wma_mgmt_unmap_buf() argument 2657 qdf_nbuf_unmap_single(wma_handle->qdf_dev, buf, QDF_DMA_TO_DEVICE); in wma_mgmt_unmap_buf() 2701 static inline void wma_mgmt_pktdump_tx_handler(tp_wma_handle wma_handle, in wma_mgmt_pktdump_tx_handler() argument 2709 packetdump_cb = wma_handle->wma_mgmt_tx_packetdump_cb; in wma_mgmt_pktdump_tx_handler() [all …]
|
H A D | wma_scan_roam.c | 157 tp_wma_handle wma_handle = (tp_wma_handle) handle; in wma_update_channel_list() local 175 wma_handle->saved_chan.num_channels = chan_list->numChan; in wma_update_channel_list() 183 wma_handle->saved_chan.ch_freq_list[i] = in wma_update_channel_list() 231 wlan_reg_set_channel_params_for_pwrmode(wma_handle->pdev, in wma_update_channel_list() 241 qdf_status = wmi_unified_scan_chan_list_cmd_send(wma_handle->wmi_handle, in wma_update_channel_list() 260 static void wma_handle_disconnect_reason(tp_wma_handle wma_handle, in wma_handle_disconnect_reason() argument 271 wma_send_msg(wma_handle, SIR_LIM_DELETE_STA_CONTEXT_IND, in wma_handle_disconnect_reason() 509 QDF_STATUS wma_roam_scan_bmiss_cnt(tp_wma_handle wma_handle, in wma_roam_scan_bmiss_cnt() argument 545 wma_send_roam_preauth_status(tp_wma_handle wma_handle, in wma_send_roam_preauth_status() argument 551 if (wma_validate_handle(wma_handle)) in wma_send_roam_preauth_status() [all …]
|
H A D | wma_utils.c | 1723 tp_wma_handle wma_handle = (tp_wma_handle)handle; in wma_unified_link_peer_stats_event_handler() local 1855 status = wma_get_dp_peer_stats(wma_handle->wmi_handle, in wma_unified_link_peer_stats_event_handler() 1926 static int __wma_unified_radio_tx_mem_free(tp_wma_handle wma_handle) in __wma_unified_radio_tx_mem_free() argument 1928 wma_unified_link_stats_results_mem_free(wma_handle->link_stats_results); in __wma_unified_radio_tx_mem_free() 1930 qdf_mem_free(wma_handle->link_stats_results); in __wma_unified_radio_tx_mem_free() 1931 wma_handle->link_stats_results = NULL; in __wma_unified_radio_tx_mem_free() 1944 tp_wma_handle wma_handle = (tp_wma_handle) handle; in wma_unified_radio_tx_mem_free() local 1947 if (!wma_handle->link_stats_results) in wma_unified_radio_tx_mem_free() 1951 qdf_mutex_acquire(&wma_handle->radio_stats_lock); in wma_unified_radio_tx_mem_free() 1952 ret = __wma_unified_radio_tx_mem_free(wma_handle); in wma_unified_radio_tx_mem_free() [all …]
|
H A D | wma_features.c | 231 tp_wma_handle wma_handle = NULL; in wma_get_snr() local 234 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in wma_get_snr() 235 if (!wma_handle) in wma_get_snr() 238 intr = &wma_handle->interfaces[psnr_req->sessionId]; in wma_get_snr() 254 if (wmi_unified_snr_cmd(wma_handle->wmi_handle, in wma_get_snr() 421 QDF_STATUS wma_capture_tsf(tp_wma_handle wma_handle, uint32_t vdev_id) in wma_capture_tsf() argument 428 buf = wmi_buf_alloc(wma_handle->wmi_handle, len); in wma_capture_tsf() 442 status = wmi_unified_cmd_send(wma_handle->wmi_handle, buf, len, in wma_capture_tsf() 457 QDF_STATUS wma_reset_tsf_gpio(tp_wma_handle wma_handle, uint32_t vdev_id) in wma_reset_tsf_gpio() argument 465 buf = wmi_buf_alloc(wma_handle->wmi_handle, len); in wma_reset_tsf_gpio() [all …]
|
H A D | wma_fw_state.c | 28 QDF_STATUS wma_get_fw_state(tp_wma_handle wma_handle) in wma_get_fw_state() argument 34 if (wma_validate_handle(wma_handle)) in wma_get_fw_state() 37 wmi_buf = wmi_buf_alloc(wma_handle->wmi_handle, len); in wma_get_fw_state() 48 if (wmi_unified_cmd_send(wma_handle->wmi_handle, wmi_buf, len, in wma_get_fw_state()
|
H A D | wma_coex.c | 330 void wma_get_mws_coex_info_req(tp_wma_handle wma_handle, in wma_get_mws_coex_info_req() argument 335 status = wmi_unified_send_mws_coex_req_cmd(wma_handle->wmi_handle, in wma_get_mws_coex_info_req() 342 void wma_register_mws_coex_events(tp_wma_handle wma_handle) in wma_register_mws_coex_events() argument 344 if (wma_validate_handle(wma_handle)) in wma_register_mws_coex_events() 347 wmi_unified_register_event_handler(wma_handle->wmi_handle, in wma_register_mws_coex_events() 353 wma_handle->wmi_handle, in wma_register_mws_coex_events() 359 wma_handle->wmi_handle, in wma_register_mws_coex_events() 365 wma_handle->wmi_handle, in wma_register_mws_coex_events() 371 wma_handle->wmi_handle, in wma_register_mws_coex_events()
|
H A D | wma_dev_if.c | 446 wma_cdp_vdev_detach(ol_txrx_soc_handle soc, tp_wma_handle wma_handle, in wma_cdp_vdev_detach() argument 449 struct wma_txrx_node *iface = &wma_handle->interfaces[vdev_id]; in wma_cdp_vdev_detach() 519 static QDF_STATUS wma_handle_vdev_detach(tp_wma_handle wma_handle, in wma_handle_vdev_detach() argument 524 struct wma_txrx_node *iface = &wma_handle->interfaces[vdev_id]; in wma_handle_vdev_detach() 534 (policy_mgr_is_sta_mon_concurrency(wma_handle->psoc) && in wma_handle_vdev_detach() 536 wma_handle_monitor_mode_vdev_detach(wma_handle, vdev_id); in wma_handle_vdev_detach() 539 wma_cdp_vdev_detach(soc, wma_handle, vdev_id); in wma_handle_vdev_detach() 556 static QDF_STATUS wma_self_peer_remove(tp_wma_handle wma_handle, in wma_self_peer_remove() argument 567 if (wmi_service_enabled(wma_handle->wmi_handle, in wma_self_peer_remove() 577 msg = wma_fill_hold_req(wma_handle, vdev_id, in wma_self_peer_remove() [all …]
|
H A D | wma_ocb.h | 31 QDF_STATUS wma_ocb_register_callbacks(tp_wma_handle wma_handle); 39 static inline QDF_STATUS wma_ocb_register_callbacks(tp_wma_handle wma_handle) in wma_ocb_register_callbacks() argument
|
H A D | wma_ocb.c | 84 QDF_STATUS wma_ocb_register_callbacks(tp_wma_handle wma_handle) in wma_ocb_register_callbacks() argument 86 ucfg_ocb_register_vdev_start(wma_handle->pdev, wma_start_ocb_vdev); in wma_ocb_register_callbacks()
|
H A D | wma_fips_api.h | 65 QDF_STATUS wma_fips_register_event_handlers(WMA_HANDLE wma_handle) in wma_fips_register_event_handlers() argument
|
H A D | wma_he.c | 1380 tp_wma_handle wma_handle; in wma_get_he_capabilities() local 1382 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in wma_get_he_capabilities() 1383 if (!wma_handle) in wma_get_he_capabilities() 1387 &wma_handle->he_cap.phy_cap, in wma_get_he_capabilities() 1389 he_cap->mac_cap = wma_handle->he_cap.mac_cap; in wma_get_he_capabilities() 1390 he_cap->mcs = wma_handle->he_cap.mcs; in wma_get_he_capabilities() 1392 he_cap->ppet.numss_m1 = wma_handle->he_cap.ppet.numss_m1; in wma_get_he_capabilities() 1393 he_cap->ppet.ru_bit_mask = wma_handle->he_cap.ppet.ru_bit_mask; in wma_get_he_capabilities() 1395 &wma_handle->he_cap.ppet.ppet16_ppet8_ru3_ru0, in wma_get_he_capabilities()
|
/wlan-driver/qcacld-3.0/core/wma/inc/ |
H A D | wma_twt.h | 95 QDF_STATUS wma_twt_process_add_dialog(t_wma_handle *wma_handle, 106 QDF_STATUS wma_twt_process_del_dialog(t_wma_handle *wma_handle, 118 wma_twt_process_pause_dialog(t_wma_handle *wma_handle, 130 wma_twt_process_nudge_dialog(t_wma_handle *wma_handle, 142 wma_twt_process_resume_dialog(t_wma_handle *wma_handle, 176 void wma_register_twt_events(tp_wma_handle wma_handle); 197 QDF_STATUS wma_twt_process_add_dialog(t_wma_handle *wma_handle, in wma_twt_process_add_dialog() argument 206 QDF_STATUS wma_twt_process_del_dialog(t_wma_handle *wma_handle, in wma_twt_process_del_dialog() argument 215 wma_twt_process_pause_dialog(t_wma_handle *wma_handle, in wma_twt_process_pause_dialog() argument 224 wma_twt_process_nudge_dialog(t_wma_handle *wma_handle, in wma_twt_process_nudge_dialog() argument [all …]
|
H A D | wma_internal.h | 131 void wma_send_msg_by_priority(tp_wma_handle wma_handle, uint16_t msg_type, 143 void wma_send_msg(tp_wma_handle wma_handle, uint16_t msg_type, 155 void wma_send_msg_high_priority(tp_wma_handle wma_handle, uint16_t msg_type, 177 void wma_register_pmkid_req_event_handler(tp_wma_handle wma_handle); 193 wma_register_pmkid_req_event_handler(tp_wma_handle wma_handle) in wma_register_pmkid_req_event_handler() argument 288 QDF_STATUS wma_roam_scan_bmiss_cnt(tp_wma_handle wma_handle, 335 void wma_register_extscan_event_handler(tp_wma_handle wma_handle); 625 void wma_set_vdev_intrabss_fwd(tp_wma_handle wma_handle, 791 void wma_process_update_opmode(tp_wma_handle wma_handle, 794 void wma_process_update_rx_nss(tp_wma_handle wma_handle, [all …]
|
H A D | wma.h | 1129 #define wma_validate_handle(wma_handle) \ argument 1130 __wma_validate_handle(wma_handle, __func__) 1131 int __wma_validate_handle(tp_wma_handle wma_handle, const char *func); 1184 tp_wma_handle wma_handle; member 1444 QDF_STATUS wma_disable_uapsd_per_ac(tp_wma_handle wma_handle, 1485 QDF_STATUS wma_trigger_uapsd_params(tp_wma_handle wma_handle, uint32_t vdev_id, 1489 void wma_send_flush_logs_to_fw(tp_wma_handle wma_handle); 1522 QDF_STATUS wma_send_set_pcl_cmd(tp_wma_handle wma_handle, 1525 QDF_STATUS wma_send_pdev_set_hw_mode_cmd(tp_wma_handle wma_handle, 1528 QDF_STATUS wma_send_pdev_set_dual_mac_config(tp_wma_handle wma_handle, [all …]
|
H A D | wma_coex.h | 26 void wma_get_mws_coex_info_req(tp_wma_handle wma_handle, 28 void wma_register_mws_coex_events(tp_wma_handle wma_handle); 30 static void wma_register_mws_coex_events(tp_wma_handle wma_handle) in wma_register_mws_coex_events() argument
|
H A D | wma_fw_state.h | 37 QDF_STATUS wma_get_fw_state(tp_wma_handle wma_handle); 41 void wma_register_fw_state_events(WMA_HANDLE wma_handle) in wma_register_fw_state_events() argument
|
H A D | wma_api.h | 325 QDF_STATUS wma_set_cts2self_for_p2p_go(void *wma_handle, 374 wma_set_tx_rx_aggr_size_per_ac(WMA_HANDLE wma_handle, 451 QDF_STATUS wma_send_coex_config_cmd(WMA_HANDLE wma_handle, 513 QDF_STATUS wma_crash_inject(WMA_HANDLE wma_handle, uint32_t type, 537 QDF_STATUS wma_set_vc_mode_config(void *wma_handle, 541 QDF_STATUS wma_process_dhcp_ind(WMA_HANDLE wma_handle,
|
/wlan-driver/qcacld-3.0/core/sme/src/common/ |
H A D | sme_api.c | 4125 void *wma_handle; in sme_oem_req_cmd() local 4128 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in sme_oem_req_cmd() 4129 if (!wma_handle) in sme_oem_req_cmd() 4146 status = wma_start_oem_req_cmd(wma_handle, oem_data_req); in sme_oem_req_cmd() 4172 void *wma_handle; in sme_oem_data_cmd() local 4176 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in sme_oem_data_cmd() 4177 if (!wma_handle) in sme_oem_data_cmd() 4186 status = wma_start_oem_data_cmd(wma_handle, oem_data); in sme_oem_data_cmd() 7300 void *wma_handle; in sme_get_link_speed() local 7307 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in sme_get_link_speed() [all …]
|
/wlan-driver/qcacld-3.0/components/fw_offload/core/src/ |
H A D | wlan_fw_offload_main.c | 291 tp_wma_handle wma_handle; in fwol_set_adaptive_dwelltime_config() local 294 wma_handle = cds_get_context(QDF_MODULE_ID_WMA); in fwol_set_adaptive_dwelltime_config() 295 if (!wma_handle) in fwol_set_adaptive_dwelltime_config() 298 status = wma_send_adapt_dwelltime_params(wma_handle, in fwol_set_adaptive_dwelltime_config()
|