Home
last modified time | relevance | path

Searched refs:sap_ctx (Results 1 – 14 of 14) sorted by relevance

/wlan-driver/qcacld-3.0/core/sap/src/
Dsap_api_link_cntl.c104 static void sap_acs_set_puncture_bitmap(struct sap_context *sap_ctx, in sap_acs_set_puncture_bitmap() argument
111 sap_ctx->acs_cfg->acs_puncture_bitmap = ch_params->reg_punc_bitmap; in sap_acs_set_puncture_bitmap()
114 static void sap_acs_set_puncture_bitmap(struct sap_context *sap_ctx, in sap_acs_set_puncture_bitmap() argument
133 struct sap_context *sap_ctx, in sap_config_acs_result() argument
140 ch_params.ch_width = sap_ctx->acs_cfg->ch_width; in sap_config_acs_result()
141 if (sap_phymode_is_eht(sap_ctx->phyMode)) in sap_config_acs_result()
146 sap_ctx->acs_cfg->pri_ch_freq, in sap_config_acs_result()
152 mac_ctx->pdev, sap_ctx->acs_cfg->pri_ch_freq, in sap_config_acs_result()
154 sap_ctx->acs_cfg->ch_width = ch_params.ch_width; in sap_config_acs_result()
155 if (sap_ctx->acs_cfg->ch_width > CH_WIDTH_40MHZ || in sap_config_acs_result()
[all …]
Dsap_module.c214 struct sap_context *sap_ctx; in sap_create_ctx() local
217 sap_ctx = qdf_mem_malloc(sizeof(*sap_ctx)); in sap_create_ctx()
218 if (!sap_ctx) in sap_create_ctx()
223 status = wlansap_save_context(sap_ctx); in sap_create_ctx()
226 qdf_mem_free(sap_ctx); in sap_create_ctx()
231 return sap_ctx; in sap_create_ctx()
234 static QDF_STATUS wlansap_owe_init(struct sap_context *sap_ctx) in wlansap_owe_init() argument
236 qdf_list_create(&sap_ctx->owe_pending_assoc_ind_list, 0); in wlansap_owe_init()
241 static QDF_STATUS wlansap_ft_init(struct sap_context *sap_ctx) in wlansap_ft_init() argument
243 qdf_list_create(&sap_ctx->ft_pending_assoc_ind_list, 0); in wlansap_ft_init()
[all …]
Dsap_fsm.c91 static QDF_STATUS sap_get_freq_list(struct sap_context *sap_ctx,
113 static int sap_stop_dfs_cac_timer(struct sap_context *sap_ctx);
132 static int sap_start_dfs_cac_timer(struct sap_context *sap_ctx);
185 sap_is_chan_change_needed(struct sap_context *sap_ctx) in sap_is_chan_change_needed() argument
193 if (!sap_phymode_is_eht(sap_ctx->phyMode)) { in sap_is_chan_change_needed()
194 sap_debug("phy mode: 0x%x", sap_ctx->phyMode); in sap_is_chan_change_needed()
206 ch_wd = sap_ctx->ch_width_orig; in sap_is_chan_change_needed()
214 if (sap_phymode_is_eht(sap_ctx->phyMode)) in sap_is_chan_change_needed()
217 sap_ctx->chan_freq, in sap_is_chan_change_needed()
221 if (ch_params->ch_width == sap_ctx->ch_params.ch_width) { in sap_is_chan_change_needed()
[all …]
Dsap_ch_select.c70 #define SET_ACS_BAND(acs_band, sap_ctx) \ argument
72 if (sap_ctx->acs_cfg->start_ch_freq <= \
74 sap_ctx->acs_cfg->end_ch_freq <= \
77 else if (sap_ctx->acs_cfg->start_ch_freq >= \
193 sap_check_n_add_channel(struct sap_context *sap_ctx, in sap_check_n_add_channel() argument
198 &sap_ctx->sap_detected_avoid_ch_ie; in sap_check_n_add_channel()
228 sap_check_n_add_overlapped_chnls(struct sap_context *sap_ctx, in sap_check_n_add_overlapped_chnls() argument
233 &sap_ctx->sap_detected_avoid_ch_ie; in sap_check_n_add_overlapped_chnls()
292 struct sap_context *sap_ctx, in sap_process_avoid_ie() argument
330 sap_ctx->sap_detected_avoid_ch_ie.present = 1; in sap_process_avoid_ie()
[all …]
Dsap_internal.h315 struct sap_context *sap_ctx,
356 uint32_t sap_select_channel(mac_handle_t mac_handle, struct sap_context *sap_ctx,
360 sap_signal_hdd_event(struct sap_context *sap_ctx,
364 QDF_STATUS sap_fsm(struct sap_context *sap_ctx, struct sap_sm_event *sap_event);
367 sap_is_peer_mac_allowed(struct sap_context *sap_ctx, uint8_t *peerMac);
387 QDF_STATUS sap_init_dfs_channel_nol_list(struct sap_context *sap_ctx);
389 bool sap_dfs_is_channel_in_nol_list(struct sap_context *sap_ctx,
404 struct sap_context *sap_ctx);
451 sap_check_in_avoid_ch_list(struct sap_context *sap_ctx, uint8_t channel);
493 qdf_freq_t sap_indicate_radar(struct sap_context *sap_ctx);
[all …]
/wlan-driver/qcacld-3.0/core/sap/inc/
Dsap_api.h784 QDF_STATUS sap_destroy_ctx(struct sap_context *sap_ctx);
802 QDF_STATUS sap_init_ctx(struct sap_context *sap_ctx,
818 QDF_STATUS sap_deinit_ctx(struct sap_context *sap_ctx);
842 bool wlansap_is_channel_in_nol_list(struct sap_context *sap_ctx,
855 bool wlansap_is_channel_leaking_in_nol(struct sap_context *sap_ctx,
877 QDF_STATUS wlansap_start_bss(struct sap_context *sap_ctx,
893 QDF_STATUS wlansap_stop_bss(struct sap_context *sap_ctx);
904 QDF_STATUS wlan_sap_update_next_channel(struct sap_context *sap_ctx,
917 uint16_t wlansap_check_cc_intf(struct sap_context *sap_ctx);
933 QDF_STATUS wlansap_set_mac_acl(struct sap_context *sap_ctx,
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_dcs.c255 struct sap_context *sap_ctx; in hdd_dcs_cb() local
288 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_dcs_cb()
289 if (!wlansap_dcs_is_wlan_interference_mitigation_enabled(sap_ctx)) in hdd_dcs_cb()
335 struct sap_context *sap_ctx; in hdd_dcs_afc_sel_chan_cb() local
345 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_dcs_afc_sel_chan_cb()
346 if (!sap_ctx) in hdd_dcs_afc_sel_chan_cb()
349 target_freq = sap_afc_dcs_sel_chan(sap_ctx, cur_freq, cur_bw, pref_bw); in hdd_dcs_afc_sel_chan_cb()
378 struct sap_context *sap_ctx; in hdd_dcs_hostapd_set_chan() local
409 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_dcs_hostapd_set_chan()
411 wlansap_dcs_set_vdev_starting(sap_ctx, true); in hdd_dcs_hostapd_set_chan()
[all …]
Dwlan_hdd_sysfs_dfsnol.c83 struct sap_context *sap_ctx; in __hdd_sysfs_dfsnol_store() local
101 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(adapter->deflink); in __hdd_sysfs_dfsnol_store()
102 if (!sap_ctx) { in __hdd_sysfs_dfsnol_store()
125 status = wlansap_set_dfs_nol(sap_ctx, set_value); in __hdd_sysfs_dfsnol_store()
Dwlan_hdd_hostapd.c289 struct sap_context *sap_ctx; in hdd_hostapd_init_sap_session() local
297 sap_ctx = adapter->deflink->session.ap.sap_context; in hdd_hostapd_init_sap_session()
299 if (!sap_ctx) { in hdd_hostapd_init_sap_session()
303 status = sap_init_ctx(sap_ctx, adapter->device_mode, in hdd_hostapd_init_sap_session()
311 return sap_ctx; in hdd_hostapd_init_sap_session()
313 wlansap_context_put(sap_ctx); in hdd_hostapd_init_sap_session()
333 struct sap_context *sap_ctx; in hdd_hostapd_deinit_sap_session() local
336 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_hostapd_deinit_sap_session()
337 if (!sap_ctx) { in hdd_hostapd_deinit_sap_session()
343 if (!QDF_IS_STATUS_SUCCESS(sap_deinit_ctx(sap_ctx))) { in hdd_hostapd_deinit_sap_session()
[all …]
Dwlan_hdd_son.c728 struct sap_context *sap_ctx; in hdd_son_set_candidate_freq() local
745 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_son_set_candidate_freq()
746 if (!sap_ctx) { in hdd_son_set_candidate_freq()
751 sap_ctx->candidate_freq = freq; in hdd_son_set_candidate_freq()
765 struct sap_context *sap_ctx; in hdd_son_get_candidate_freq() local
783 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_son_get_candidate_freq()
784 if (!sap_ctx) { in hdd_son_get_candidate_freq()
788 freq = sap_ctx->candidate_freq; in hdd_son_get_candidate_freq()
1383 struct sap_context *sap_ctx; in hdd_son_del_acl_mac() local
1400 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_son_del_acl_mac()
[all …]
Dwlan_hdd_hostapd_wext.c67 struct sap_context *sap_ctx; in hdd_sap_get_chan_width() local
78 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(adapter->deflink); in hdd_sap_get_chan_width()
80 *value = wlansap_get_chan_width(sap_ctx); in hdd_sap_get_chan_width()
308 struct sap_context *sap_ctx; in hdd_print_acl() local
310 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(adapter->deflink); in hdd_print_acl()
312 if (QDF_STATUS_SUCCESS == wlansap_get_acl_mode(sap_ctx, &acl_mode)) { in hdd_print_acl()
335 if (QDF_STATUS_SUCCESS == wlansap_get_acl_accept_list(sap_ctx, in hdd_print_acl()
345 if (QDF_STATUS_SUCCESS == wlansap_get_acl_deny_list(sap_ctx, in hdd_print_acl()
Dwlan_hdd_regulatory.c1753 struct sap_context *sap_ctx = NULL; in hdd_restart_sap_with_new_phymode() local
1757 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_restart_sap_with_new_phymode()
1767 status = wlansap_stop_bss(sap_ctx); in hdd_restart_sap_with_new_phymode()
1780 wlansap_get_safe_channel_from_pcl_and_acs_range(sap_ctx, NULL); in hdd_restart_sap_with_new_phymode()
1787 status = wlansap_start_bss(sap_ctx, hdd_hostapd_sap_event_cb, in hdd_restart_sap_with_new_phymode()
Dwlan_hdd_cfg80211.c2586 struct sap_context *sap_ctx; in wlan_hdd_cfg80211_start_acs() local
2600 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in wlan_hdd_cfg80211_start_acs()
2617 !wlansap_dcs_is_wlan_interference_mitigation_enabled(sap_ctx)) { in wlan_hdd_cfg80211_start_acs()
2625 wlansap_dcs_set_wlan_interference_mitigation_on_band(sap_ctx, in wlan_hdd_cfg80211_start_acs()
2668 qdf_status = wlansap_acs_chselect(sap_ctx, acs_event_callback, in wlan_hdd_cfg80211_start_acs()
2675 if (sap_is_auto_channel_select(sap_ctx)) in wlan_hdd_cfg80211_start_acs()
3985 struct sap_context *sap_ctx; in wlan_hdd_ll_lt_sap_get_valid_last_acs_freq() local
4013 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(adapter->deflink); in wlan_hdd_ll_lt_sap_get_valid_last_acs_freq()
4015 wlansap_update_ll_lt_sap_acs_result(sap_ctx, in wlan_hdd_ll_lt_sap_get_valid_last_acs_freq()
4028 wlansap_dcs_set_wlan_interference_mitigation_on_band(sap_ctx, in wlan_hdd_ll_lt_sap_get_valid_last_acs_freq()
[all …]
Dwlan_hdd_main.c9742 struct sap_context *sap_ctx; in hdd_stop_sap_go_adapter() local
9753 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_stop_sap_go_adapter()
9769 wlansap_cleanup_cac_timer(sap_ctx); in hdd_stop_sap_go_adapter()
9836 sap_release_vdev_ref(sap_ctx); in hdd_stop_sap_go_adapter()
15085 struct sap_context *sap_ctx; in hdd_start_ap_adapter() local
15127 sap_ctx = WLAN_HDD_GET_SAP_CTX_PTR(link_info); in hdd_start_ap_adapter()
15128 status = sap_acquire_vdev_ref(hdd_ctx->psoc, sap_ctx, in hdd_start_ap_adapter()
15138 status = hdd_vdev_configure_rtt_params(sap_ctx->vdev); in hdd_start_ap_adapter()
15165 sap_release_vdev_ref(sap_ctx); in hdd_start_ap_adapter()
21463 void *sap_ctx; in hdd_restart_sap() local
[all …]