/wlan-driver/qcacld-3.0/core/hdd/src/ |
H A D | wlan_hdd_main.c | 481 static void hdd_dp_register_callbacks(struct hdd_context *hdd_ctx); 500 struct hdd_context *hdd_ctx; in hdd_common_roam_callback() local 510 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_common_roam_callback() 511 if (!hdd_ctx) in hdd_common_roam_callback() 554 wlan_hdd_lpc_del_monitor_interface(struct hdd_context *hdd_ctx, in wlan_hdd_lpc_del_monitor_interface() argument 561 if (!hdd_ctx) in wlan_hdd_lpc_del_monitor_interface() 564 if (!ucfg_dp_is_local_pkt_capture_enabled(hdd_ctx->psoc)) in wlan_hdd_lpc_del_monitor_interface() 575 adapter = hdd_get_adapter(hdd_ctx, QDF_MONITOR_MODE); in wlan_hdd_lpc_del_monitor_interface() 583 wlan_hdd_release_intf_addr(hdd_ctx, adapter->mac_addr.bytes); in wlan_hdd_lpc_del_monitor_interface() 585 hdd_stop_adapter(hdd_ctx, adapter); in wlan_hdd_lpc_del_monitor_interface() [all …]
|
H A D | wlan_hdd_regulatory.c | 187 static int hdd_update_regulatory_info(struct hdd_context *hdd_ctx) in hdd_update_regulatory_info() argument 191 country_code = cds_get_country_from_alpha2(hdd_ctx->reg.alpha2); in hdd_update_regulatory_info() 193 hdd_ctx->reg.reg_domain = CTRY_FLAG; in hdd_update_regulatory_info() 194 hdd_ctx->reg.reg_domain |= country_code; in hdd_update_regulatory_info() 196 return cds_fill_some_regulatory_info(&hdd_ctx->reg); in hdd_update_regulatory_info() 226 struct hdd_context *hdd_ctx, in hdd_update_coex_unsafe_chan_nb_user_prefer() argument 231 hdd_ctx->psoc); in hdd_update_coex_unsafe_chan_nb_user_prefer() 236 struct hdd_context *hdd_ctx, in hdd_update_coex_unsafe_chan_reg_disable() argument 241 hdd_ctx->psoc); in hdd_update_coex_unsafe_chan_reg_disable() 246 struct hdd_context *hdd_ctx, in hdd_update_coex_unsafe_chan_nb_user_prefer() argument [all …]
|
H A D | wlan_hdd_memdump.c | 61 void *hdd_ctx; in memdump_get_file_data() local 63 hdd_ctx = pde_data(file_inode(file)); in memdump_get_file_data() 64 return hdd_ctx; in memdump_get_file_data() 69 struct hdd_context *hdd_ctx; in hdd_driver_mem_cleanup() local 71 hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_driver_mem_cleanup() 72 if (!hdd_ctx) in hdd_driver_mem_cleanup() 75 if (hdd_ctx->driver_dump_mem) { in hdd_driver_mem_cleanup() 76 qdf_mem_free(hdd_ctx->driver_dump_mem); in hdd_driver_mem_cleanup() 77 hdd_ctx->driver_dump_mem = NULL; in hdd_driver_mem_cleanup() 101 struct hdd_context *hdd_ctx; in __hdd_driver_memdump_read() local [all …]
|
H A D | wlan_hdd_power.c | 141 void wlan_hdd_rx_thread_resume(struct hdd_context *hdd_ctx) in wlan_hdd_rx_thread_resume() argument 143 if (hdd_ctx->is_ol_rx_thread_suspended) { in wlan_hdd_rx_thread_resume() 145 hdd_ctx->is_ol_rx_thread_suspended = false; in wlan_hdd_rx_thread_resume() 149 int wlan_hdd_rx_thread_suspend(struct hdd_context *hdd_ctx) in wlan_hdd_rx_thread_suspend() argument 171 hdd_ctx->is_ol_rx_thread_suspended = true; in wlan_hdd_rx_thread_suspend() 351 struct hdd_context *hdd_ctx; in __wlan_hdd_ipv6_changed() local 360 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in __wlan_hdd_ipv6_changed() 361 errno = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_ipv6_changed() 372 sme_dhcp_done_ind(hdd_ctx->mac_handle, in __wlan_hdd_ipv6_changed() 505 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_enable_ns_offload() local [all …]
|
H A D | wlan_hdd_nan_datapath.c | 61 void hdd_nan_datapath_target_config(struct hdd_context *hdd_ctx, in hdd_nan_datapath_target_config() argument 64 hdd_ctx->nan_datapath_enabled = in hdd_nan_datapath_target_config() 65 cfg_nan_get_datapath_enable(hdd_ctx->psoc) && in hdd_nan_datapath_target_config() 68 hdd_ctx->nan_datapath_enabled, in hdd_nan_datapath_target_config() 69 cfg_nan_get_datapath_enable(hdd_ctx->psoc), in hdd_nan_datapath_target_config() 82 static void hdd_close_ndi_adapter(struct hdd_context *hdd_ctx, in hdd_close_ndi_adapter() argument 87 static void hdd_close_ndi_adapter(struct hdd_context *hdd_ctx, in hdd_close_ndi_adapter() argument 90 hdd_close_adapter(hdd_ctx, adapter, value); in hdd_close_ndi_adapter() 105 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_close_ndi() local 127 hdd_close_ndi_adapter(hdd_ctx, adapter, true); in hdd_close_ndi() [all …]
|
H A D | wlan_hdd_sar_limits.c | 256 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_get_sar_power_limits() local 275 if (wlan_hdd_validate_context(hdd_ctx)) in __wlan_hdd_get_sar_power_limits() 286 mac_handle = hdd_ctx->mac_handle; in __wlan_hdd_get_sar_power_limits() 350 struct hdd_context *hdd_ctx) in hdd_sar_fill_capability_response() argument 357 value = hdd_to_nl_sar_version(hdd_ctx->sar_version); in hdd_sar_fill_capability_response() 360 value, hdd_ctx->sar_version); in hdd_sar_fill_capability_response() 375 struct hdd_context *hdd_ctx) in hdd_sar_send_capability_response() argument 390 errno = hdd_sar_fill_capability_response(skb, hdd_ctx); in hdd_sar_send_capability_response() 416 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_get_sar_capability() local 427 if (wlan_hdd_validate_context(hdd_ctx)) in __wlan_hdd_get_sar_capability() [all …]
|
H A D | wlan_hdd_driver_ops.c | 101 struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_get_bandwidth_level() local 103 if (hdd_ctx) in hdd_get_bandwidth_level() 104 ret = ucfg_dp_get_current_throughput_level(hdd_ctx->psoc); in hdd_get_bandwidth_level() 257 struct hdd_context *hdd_ctx; in hdd_send_driver_ready_to_user() local 262 hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_send_driver_ready_to_user() 263 if (!hdd_ctx) { in hdd_send_driver_ready_to_user() 269 hdd_ctx->wiphy, NULL, 0, in hdd_send_driver_ready_to_user() 308 static void hdd_psoc_shutdown_notify(struct hdd_context *hdd_ctx) in hdd_psoc_shutdown_notify() argument 311 wlan_cfg80211_cleanup_scan_queue(hdd_ctx->pdev, NULL); in hdd_psoc_shutdown_notify() 331 struct hdd_context *hdd_ctx; in hdd_soc_recovery_cleanup() local [all …]
|
H A D | wlan_hdd_eht.c | 46 void hdd_update_tgt_eht_cap(struct hdd_context *hdd_ctx, in hdd_update_tgt_eht_cap() argument 51 ucfg_mlme_update_tgt_eht_cap(hdd_ctx->psoc, cfg); in hdd_update_tgt_eht_cap() 52 sme_update_tgt_eht_cap(hdd_ctx->mac_handle, cfg, &eht_cap_ini); in hdd_update_tgt_eht_cap() 126 hdd_update_wiphy_eht_caps_6ghz(struct hdd_context *hdd_ctx, in hdd_update_wiphy_eht_caps_6ghz() argument 130 hdd_ctx->wiphy->bands[HDD_NL80211_BAND_6GHZ]; in hdd_update_wiphy_eht_caps_6ghz() 132 hdd_ctx->iftype_data_6g->eht_cap.eht_cap_elem.phy_cap_info; in hdd_update_wiphy_eht_caps_6ghz() 141 hdd_ctx->iftype_data_6g->types_mask = in hdd_update_wiphy_eht_caps_6ghz() 144 band_6g->iftype_data = hdd_ctx->iftype_data_6g; in hdd_update_wiphy_eht_caps_6ghz() 145 iftype_sta = hdd_ctx->iftype_data_6g; in hdd_update_wiphy_eht_caps_6ghz() 146 iftype_ap = hdd_ctx->iftype_data_6g + 1; in hdd_update_wiphy_eht_caps_6ghz() [all …]
|
H A D | wlan_hdd_cm_disconnect.c | 59 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_handle_disassociation_event() local 65 hdd_green_ap_start_state_mc(hdd_ctx, adapter->device_mode, false); in hdd_handle_disassociation_event() 67 wlan_hdd_auto_shutdown_enable(hdd_ctx, true); in hdd_handle_disassociation_event() 89 ucfg_dp_bus_bw_compute_timer_try_stop(hdd_ctx->psoc); in hdd_handle_disassociation_event() 130 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in __hdd_cm_disconnect_handler_pre_user_update() local 142 ucfg_ipa_wlan_evt(hdd_ctx->pdev, adapter->dev, in __hdd_cm_disconnect_handler_pre_user_update() 155 wlan_hdd_auto_shutdown_enable(hdd_ctx, true); in __hdd_cm_disconnect_handler_pre_user_update() 177 struct hdd_context *hdd_ctx) in hdd_reset_sta_keep_alive_interval() argument 191 if (!wlan_vdev_mlme_get_is_mlo_link(hdd_ctx->psoc, in hdd_reset_sta_keep_alive_interval() 195 ucfg_mlme_get_sta_keep_alive_period(hdd_ctx->psoc, in hdd_reset_sta_keep_alive_interval() [all …]
|
H A D | wlan_hdd_cfg.c | 154 static QDF_STATUS update_mac_from_string(struct hdd_context *hdd_ctx, in update_mac_from_string() argument 175 qdf_mem_copy((uint8_t *)&hdd_ctx-> in update_mac_from_string() 214 QDF_STATUS hdd_update_mac_config(struct hdd_context *hdd_ctx) in hdd_update_mac_config() argument 227 if (!hdd_ctx->config->read_mac_addr_from_mac_file) { in hdd_update_mac_config() 234 hdd_ctx->parent_dev); in hdd_update_mac_config() 304 qdf_status = update_mac_from_string(hdd_ctx, &mac_table[0], i); in hdd_update_mac_config() 309 hdd_ctx->num_provisioned_addr = i; in hdd_update_mac_config() 312 hdd_populate_random_mac_addr(hdd_ctx, max_mac_addr - i); in hdd_update_mac_config() 314 if (hdd_ctx->num_provisioned_addr) in hdd_update_mac_config() 316 &hdd_ctx->provisioned_mac_addr[0].bytes[0], in hdd_update_mac_config() [all …]
|
H A D | wlan_hdd_sar_limits.h | 39 void wlan_hdd_sar_unsolicited_timer_start(struct hdd_context *hdd_ctx); 51 void wlan_hdd_sar_timers_reset(struct hdd_context *hdd_ctx); 60 void wlan_hdd_sar_timers_init(struct hdd_context *hdd_ctx); 69 void wlan_hdd_sar_timers_deinit(struct hdd_context *hdd_ctx); 81 void hdd_configure_sar_index(struct hdd_context *hdd_ctx, uint32_t sar_index); 91 void hdd_disable_sar(struct hdd_context *hdd_ctx); 101 void hdd_configure_sar_sleep_index(struct hdd_context *hdd_ctx); 111 void hdd_configure_sar_resume_index(struct hdd_context *hdd_ctx); 115 struct hdd_context *hdd_ctx) in wlan_hdd_sar_unsolicited_timer_start() argument 119 static inline void wlan_hdd_sar_timers_reset(struct hdd_context *hdd_ctx) in wlan_hdd_sar_timers_reset() argument [all …]
|
H A D | wlan_hdd_thermal.c | 61 hdd_thermal_fill_clientid_priority(struct hdd_context *hdd_ctx, uint8_t mon_id, in hdd_thermal_fill_clientid_priority() argument 65 if (hdd_ctx->multi_client_thermal_mitigation) { in hdd_thermal_fill_clientid_priority() 86 hdd_send_thermal_mitigation_val(struct hdd_context *hdd_ctx, uint32_t level, in hdd_send_thermal_mitigation_val() argument 96 status = ucfg_fwol_get_thermal_temp(hdd_ctx->psoc, &thermal_temp); in hdd_send_thermal_mitigation_val() 136 hdd_thermal_fill_clientid_priority(hdd_ctx, mon_id, in hdd_send_thermal_mitigation_val() 143 status = sme_set_thermal_throttle_cfg(hdd_ctx->mac_handle, in hdd_send_thermal_mitigation_val() 155 hdd_ctx->dutycycle_off_percent = dc_off_percent; in hdd_send_thermal_mitigation_val() 188 hdd_get_curr_thermal_throttle_level_val(struct hdd_context *hdd_ctx) in hdd_get_curr_thermal_throttle_level_val() argument 196 status = ucfg_fwol_thermal_get_target_level(hdd_ctx->psoc, &level); in hdd_get_curr_thermal_throttle_level_val() 203 reply_skb = wlan_cfg80211_vendor_cmd_alloc_reply_skb(hdd_ctx->wiphy, in hdd_get_curr_thermal_throttle_level_val() [all …]
|
H A D | wlan_hdd_pre_cac.c | 38 struct hdd_context *hdd_ctx; in wlan_hdd_pre_cac_failure() local 42 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in wlan_hdd_pre_cac_failure() 43 if (wlan_hdd_validate_context(hdd_ctx)) in wlan_hdd_pre_cac_failure() 47 hdd_stop_adapter(hdd_ctx, adapter); in wlan_hdd_pre_cac_failure() 65 struct hdd_context *hdd_ctx; in wlan_hdd_pre_cac_success() local 71 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in wlan_hdd_pre_cac_success() 72 if (!hdd_ctx) { in wlan_hdd_pre_cac_success() 80 hdd_stop_adapter(hdd_ctx, adapter); in wlan_hdd_pre_cac_success() 83 ap_adapter = hdd_get_adapter(hdd_ctx, QDF_SAP_MODE); in wlan_hdd_pre_cac_success() 95 wlan_hdd_set_sap_csa_reason(hdd_ctx->psoc, ap_adapter->deflink->vdev_id, in wlan_hdd_pre_cac_success() [all …]
|
H A D | wlan_hdd_sysfs_get_freq_for_pwr.c | 32 __hdd_sysfs_power_level_store(struct hdd_context *hdd_ctx, in __hdd_sysfs_power_level_store() argument 39 ret = wlan_hdd_validate_context(hdd_ctx); in __hdd_sysfs_power_level_store() 43 if (!wlan_hdd_validate_modules_state(hdd_ctx)) in __hdd_sysfs_power_level_store() 58 hdd_ctx->power_type = REG_VERY_LOW_POWER_AP; in __hdd_sysfs_power_level_store() 60 hdd_ctx->power_type = REG_INDOOR_AP; in __hdd_sysfs_power_level_store() 62 hdd_ctx->power_type = REG_STANDARD_POWER_AP; in __hdd_sysfs_power_level_store() 64 hdd_ctx->power_type = REG_MAX_SUPP_AP_TYPE; in __hdd_sysfs_power_level_store() 67 hdd_ctx->power_type); in __hdd_sysfs_power_level_store() 78 struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in wlan_hdd_sysfs_power_store() local 81 if (wlan_hdd_validate_context(hdd_ctx)) in wlan_hdd_sysfs_power_store() [all …]
|
H A D | wlan_hdd_twt.c | 69 void hdd_update_tgt_twt_cap(struct hdd_context *hdd_ctx, in hdd_update_tgt_twt_cap() argument 72 ucfg_twt_update_psoc_config(hdd_ctx->psoc); in hdd_update_tgt_twt_cap() 75 QDF_STATUS hdd_send_twt_responder_enable_cmd(struct hdd_context *hdd_ctx) in hdd_send_twt_responder_enable_cmd() argument 77 uint8_t pdev_id = hdd_ctx->pdev->pdev_objmgr.wlan_pdev_id; in hdd_send_twt_responder_enable_cmd() 79 osif_twt_send_responder_enable_cmd(hdd_ctx->psoc, pdev_id); in hdd_send_twt_responder_enable_cmd() 83 void wlan_twt_concurrency_update(struct hdd_context *hdd_ctx) in wlan_twt_concurrency_update() argument 85 if (wlan_hdd_is_twt_pmo_allowed(hdd_ctx)) in wlan_twt_concurrency_update() 86 qdf_sched_work(0, &hdd_ctx->twt_en_dis_work); in wlan_twt_concurrency_update() 91 struct hdd_context *hdd_ctx = (struct hdd_context *)data; in hdd_twt_update_work_handler() local 95 ret = osif_psoc_sync_op_start(wiphy_dev(hdd_ctx->wiphy), &psoc_sync); in hdd_twt_update_work_handler() [all …]
|
H A D | wlan_hdd_lpass.c | 42 static void wlan_hdd_get_channel_info(struct hdd_context *hdd_ctx, in wlan_hdd_get_channel_info() argument 50 status = sme_get_reg_info(hdd_ctx->mac_handle, chan_freq, in wlan_hdd_get_channel_info() 60 wlan_reg_get_channel_state_for_pwrmode(hdd_ctx->pdev, chan_freq, in wlan_hdd_get_channel_info() 64 hdd_update_channel_bw_info(hdd_ctx, chan_freq, in wlan_hdd_get_channel_info() 88 struct hdd_context *hdd_ctx = NULL; in wlan_hdd_gen_wlan_status_pack() local 116 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in wlan_hdd_gen_wlan_status_pack() 118 status = ucfg_mlme_get_lpass_support(hdd_ctx->psoc, &lpass_support); in wlan_hdd_gen_wlan_status_pack() 123 ucfg_mlme_get_wls_6ghz_cap(hdd_ctx->psoc, &wls_6ghz_capable); in wlan_hdd_gen_wlan_status_pack() 124 if (hdd_ctx->lpss_support && lpass_support) in wlan_hdd_gen_wlan_status_pack() 143 chan_id = wlan_reg_freq_to_chan(hdd_ctx->pdev, in wlan_hdd_gen_wlan_status_pack() [all …]
|
H A D | wlan_hdd_p2p.c | 98 struct hdd_context *hdd_ctx; in __wlan_hdd_cfg80211_remain_on_channel() local 105 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in __wlan_hdd_cfg80211_remain_on_channel() 106 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_remain_on_channel() 115 wlan_hdd_lpc_handle_concurrency(hdd_ctx, false); in __wlan_hdd_cfg80211_remain_on_channel() 116 if (policy_mgr_is_sta_mon_concurrency(hdd_ctx->psoc) && in __wlan_hdd_cfg80211_remain_on_channel() 117 !hdd_lpc_is_work_scheduled(hdd_ctx)) in __wlan_hdd_cfg80211_remain_on_channel() 135 ucfg_nan_disable_concurrency(hdd_ctx->psoc); in __wlan_hdd_cfg80211_remain_on_channel() 228 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in __wlan_hdd_mgmt_tx() local 247 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_mgmt_tx() 287 qdf_status = sme_send_mgmt_tx(hdd_ctx->mac_handle, in __wlan_hdd_mgmt_tx() [all …]
|
H A D | wlan_hdd_ioctl.c | 146 struct hdd_context *hdd_ctx, 214 struct hdd_context *hdd_ctx; in hdd_get_tsm_stats() local 231 hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_get_tsm_stats() 241 status = sme_get_tsm_stats(hdd_ctx->mac_handle, hdd_get_tsm_stats_cb, in hdd_get_tsm_stats() 266 static void hdd_get_band_helper(struct hdd_context *hdd_ctx, int *ui_band) in hdd_get_band_helper() argument 270 ucfg_reg_get_band(hdd_ctx->pdev, &band); in hdd_get_band_helper() 580 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_parse_reassoc_v1() local 592 status = ucfg_wlan_cm_roam_invoke(hdd_ctx->pdev, in hdd_parse_reassoc_v1() 621 struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(adapter); in hdd_parse_reassoc_v2() local 648 status = ucfg_wlan_cm_roam_invoke(hdd_ctx->pdev, in hdd_parse_reassoc_v2() [all …]
|
H A D | wlan_hdd_green_ap.c | 44 static int hdd_green_ap_check_enable(struct hdd_context *hdd_ctx, in hdd_green_ap_check_enable() argument 57 hdd_ctx->psoc, mode, &num_sessions); in hdd_green_ap_check_enable() 73 void hdd_green_ap_add_sta(struct hdd_context *hdd_ctx) in hdd_green_ap_add_sta() argument 75 wlan_green_ap_add_sta(hdd_ctx->pdev); in hdd_green_ap_add_sta() 78 void hdd_green_ap_del_sta(struct hdd_context *hdd_ctx) in hdd_green_ap_del_sta() argument 80 wlan_green_ap_del_sta(hdd_ctx->pdev); in hdd_green_ap_del_sta() 83 int hdd_green_ap_enable_egap(struct hdd_context *hdd_ctx) in hdd_green_ap_enable_egap() argument 87 status = ucfg_green_ap_enable_egap(hdd_ctx->pdev); in hdd_green_ap_enable_egap() 97 int hdd_green_ap_start_state_mc(struct hdd_context *hdd_ctx, in hdd_green_ap_start_state_mc() argument 107 cfg = hdd_ctx->config; in hdd_green_ap_start_state_mc() [all …]
|
H A D | wlan_hdd_spectralscan.c | 64 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_cfg80211_spectral_scan_start() local 71 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_spectral_scan_start() 92 ret = wlan_cfg80211_spectral_scan_config_and_start(wiphy, hdd_ctx->pdev, in __wlan_hdd_cfg80211_spectral_scan_start() 118 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_cfg80211_spectral_scan_stop() local 125 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_spectral_scan_stop() 145 ret = wlan_cfg80211_spectral_scan_stop(wiphy, hdd_ctx->pdev, in __wlan_hdd_cfg80211_spectral_scan_stop() 171 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_cfg80211_spectral_scan_get_config() local 178 ret = wlan_hdd_validate_context(hdd_ctx); in __wlan_hdd_cfg80211_spectral_scan_get_config() 198 ret = wlan_cfg80211_spectral_scan_get_config(wiphy, hdd_ctx->pdev, in __wlan_hdd_cfg80211_spectral_scan_get_config() 224 struct hdd_context *hdd_ctx = wiphy_priv(wiphy); in __wlan_hdd_cfg80211_spectral_scan_get_diag_stats() local [all …]
|
H A D | wlan_hdd_sysfs_dp_trace.c | 34 __hdd_sysfs_dp_trace_store(struct hdd_context *hdd_ctx, in __hdd_sysfs_dp_trace_store() argument 45 if (!wlan_hdd_validate_modules_state(hdd_ctx)) in __hdd_sysfs_dp_trace_store() 93 struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_sysfs_dp_trace_store() local 97 ret = wlan_hdd_validate_context(hdd_ctx); in hdd_sysfs_dp_trace_store() 101 errno_size = osif_psoc_sync_op_start(wiphy_dev(hdd_ctx->wiphy), in hdd_sysfs_dp_trace_store() 106 errno_size = __hdd_sysfs_dp_trace_store(hdd_ctx, attr, in hdd_sysfs_dp_trace_store() 121 __hdd_sysfs_dump_dp_trace_store(struct hdd_context *hdd_ctx, in __hdd_sysfs_dump_dp_trace_store() argument 129 if (!wlan_hdd_validate_modules_state(hdd_ctx)) in __hdd_sysfs_dump_dp_trace_store() 175 struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_sysfs_dump_dp_trace_store() local 179 ret = wlan_hdd_validate_context(hdd_ctx); in hdd_sysfs_dump_dp_trace_store() [all …]
|
H A D | wlan_hdd_dcs.c | 111 mac_handle = hdd_context_get_mac_handle(adapter->hdd_ctx); in hdd_dcs_switch_chan_cb() 253 struct hdd_context *hdd_ctx = (struct hdd_context *)arg; in hdd_dcs_cb() local 281 link_info = hdd_get_link_info_by_vdev(hdd_ctx, list[index]); in hdd_dcs_cb() 304 status = hdd_dcs_select_random_chan(hdd_ctx->pdev, in hdd_dcs_cb() 333 struct hdd_context *hdd_ctx = (struct hdd_context *)arg; in hdd_dcs_afc_sel_chan_cb() local 338 if (!hdd_ctx) in hdd_dcs_afc_sel_chan_cb() 341 link_info = hdd_get_link_info_by_vdev(hdd_ctx, vdev_id); in hdd_dcs_afc_sel_chan_cb() 364 void hdd_dcs_register_cb(struct hdd_context *hdd_ctx) in hdd_dcs_register_cb() argument 366 ucfg_dcs_register_cb(hdd_ctx->psoc, hdd_dcs_cb, hdd_ctx); in hdd_dcs_register_cb() 367 ucfg_dcs_register_awgn_cb(hdd_ctx->psoc, hdd_dcs_switch_chan_cb); in hdd_dcs_register_cb() [all …]
|
H A D | wlan_hdd_sysfs_wds_mode.c | 22 static ssize_t __hdd_sysfs_wds_mode_show(struct hdd_context *hdd_ctx, in __hdd_sysfs_wds_mode_show() argument 28 if (!hdd_ctx || !hdd_ctx->psoc) { in __hdd_sysfs_wds_mode_show() 34 ucfg_mlme_get_wds_mode(hdd_ctx->psoc)); in __hdd_sysfs_wds_mode_show() 44 struct hdd_context *hdd_ctx = cds_get_context(QDF_MODULE_ID_HDD); in hdd_sysfs_wds_mode_show() local 47 if (!hdd_ctx) { in hdd_sysfs_wds_mode_show() 52 errno_size = osif_psoc_sync_op_start(wiphy_dev(hdd_ctx->wiphy), in hdd_sysfs_wds_mode_show() 57 errno_size = __hdd_sysfs_wds_mode_show(hdd_ctx, attr, buf); in hdd_sysfs_wds_mode_show() 65 __hdd_sysfs_wds_mode_store(struct hdd_context *hdd_ctx, in __hdd_sysfs_wds_mode_store() argument 74 if (!hdd_ctx || !hdd_ctx->psoc) { in __hdd_sysfs_wds_mode_store() 96 ucfg_mlme_set_wds_mode(hdd_ctx->psoc, value); in __hdd_sysfs_wds_mode_store() [all …]
|
/wlan-driver/qcacld-3.0/core/hdd/inc/ |
H A D | wlan_hdd_twt.h | 113 struct hdd_context *hdd_ctx; member 156 void hdd_update_tgt_twt_cap(struct hdd_context *hdd_ctx, 166 QDF_STATUS hdd_send_twt_requestor_enable_cmd(struct hdd_context *hdd_ctx); 175 QDF_STATUS hdd_send_twt_responder_enable_cmd(struct hdd_context *hdd_ctx); 185 QDF_STATUS hdd_send_twt_requestor_disable_cmd(struct hdd_context *hdd_ctx, 196 QDF_STATUS hdd_send_twt_responder_disable_cmd(struct hdd_context *hdd_ctx, 208 void wlan_hdd_twt_init(struct hdd_context *hdd_ctx); 219 void wlan_hdd_twt_deinit(struct hdd_context *hdd_ctx); 256 void hdd_send_twt_role_disable_cmd(struct hdd_context *hdd_ctx, 314 void __hdd_twt_update_work_handler(struct hdd_context *hdd_ctx); [all …]
|
H A D | wlan_hdd_main.h | 1305 struct hdd_context *hdd_ctx; member 1502 #define WLAN_HDD_GET_CTX(adapter) ((adapter)->hdd_ctx) 1509 #define WLAN_HDD_IS_NDP_ENABLED(hdd_ctx) ((hdd_ctx)->nan_datapath_enabled) argument 1516 #define WLAN_HDD_IS_NDP_ENABLED(hdd_ctx) (false) argument 2460 hdd_adapter_ops_record_event(struct hdd_context *hdd_ctx, in hdd_adapter_ops_record_event() argument 2468 adapter_hist = &hdd_ctx->adapter_ops_history; in hdd_adapter_ops_record_event() 2500 QDF_STATUS hdd_get_front_adapter(struct hdd_context *hdd_ctx, 2511 QDF_STATUS hdd_get_next_adapter(struct hdd_context *hdd_ctx, 2524 QDF_STATUS hdd_get_front_adapter_no_lock(struct hdd_context *hdd_ctx, 2537 QDF_STATUS hdd_get_next_adapter_no_lock(struct hdd_context *hdd_ctx, [all …]
|