Home
last modified time | relevance | path

Searched refs:psoc_priv_obj (Results 1 – 10 of 10) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/ !
H A Dreg_offload_11d_scan.c40 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_set_11d_country() local
57 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_set_11d_country()
58 if (!psoc_priv_obj) { in reg_set_11d_country()
63 if (!qdf_mem_cmp(psoc_priv_obj->cur_country, country, REG_ALPHA2_LEN)) { in reg_set_11d_country()
64 if (psoc_priv_obj->cc_src == SOURCE_11D) { in reg_set_11d_country()
82 psoc_priv_obj->new_11d_ctry_pending[phy_id] = true; in reg_set_11d_country()
84 if (psoc_priv_obj->offload_enabled) { in reg_set_11d_country()
90 psoc_priv_obj->new_11d_ctry_pending[phy_id] = false; in reg_set_11d_country()
134 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_send_11d_msg_cbk() local
138 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_send_11d_msg_cbk()
[all …]
H A Dreg_callbacks.c50 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_call_chan_change_cbks() local
58 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_call_chan_change_cbks()
59 if (!IS_VALID_PSOC_REG_OBJ(psoc_priv_obj)) { in reg_call_chan_change_cbks()
83 cbk_list = psoc_priv_obj->cbk_list; in reg_call_chan_change_cbks()
87 qdf_spin_lock_bh(&psoc_priv_obj->cbk_list_lock); in reg_call_chan_change_cbks()
90 qdf_spin_unlock_bh(&psoc_priv_obj->cbk_list_lock); in reg_call_chan_change_cbks()
101 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj) in reg_fill_freq_ext_payload() argument
104 !!psoc_priv_obj->ch_avoid_ext_ind; in reg_fill_freq_ext_payload()
106 &psoc_priv_obj->avoid_freq_ext_list, in reg_fill_freq_ext_payload()
107 sizeof(psoc_priv_obj->avoid_freq_ext_list)); in reg_fill_freq_ext_payload()
[all …]
H A Dreg_lte.c54 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_process_ch_avoid_freq() local
57 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_process_ch_avoid_freq()
58 if (!psoc_priv_obj) { in reg_process_ch_avoid_freq()
63 for (i = 0; i < psoc_priv_obj->avoid_freq_list.ch_avoid_range_cnt; in reg_process_ch_avoid_freq()
65 if (psoc_priv_obj->unsafe_chan_list.chan_cnt >= NUM_CHANNELS) { in reg_process_ch_avoid_freq()
72 range = &psoc_priv_obj->avoid_freq_list.avoid_freq_range[i]; in reg_process_ch_avoid_freq()
109 psoc_priv_obj->unsafe_chan_list.chan_freq_list[ in reg_process_ch_avoid_freq()
110 psoc_priv_obj->unsafe_chan_list.chan_cnt++] = in reg_process_ch_avoid_freq()
112 if (psoc_priv_obj->unsafe_chan_list.chan_cnt >= in reg_process_ch_avoid_freq()
120 if (!psoc_priv_obj->unsafe_chan_list.chan_cnt) in reg_process_ch_avoid_freq()
[all …]
H A Dreg_priv_objs.c44 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_get_psoc_obj() local
50 psoc_priv_obj = wlan_objmgr_psoc_get_comp_private_obj( in reg_get_psoc_obj()
53 return psoc_priv_obj; in reg_get_psoc_obj()
168 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in wlan_regulatory_psoc_obj_destroyed_notification() local
170 psoc_priv_obj = reg_get_psoc_obj(psoc); in wlan_regulatory_psoc_obj_destroyed_notification()
171 if (!psoc_priv_obj) { in wlan_regulatory_psoc_obj_destroyed_notification()
176 psoc_priv_obj->psoc_ptr = NULL; in wlan_regulatory_psoc_obj_destroyed_notification()
177 qdf_spinlock_destroy(&psoc_priv_obj->cbk_list_lock); in wlan_regulatory_psoc_obj_destroyed_notification()
180 psoc, WLAN_UMAC_COMP_REGULATORY, psoc_priv_obj); in wlan_regulatory_psoc_obj_destroyed_notification()
187 qdf_mem_common_free(psoc_priv_obj); in wlan_regulatory_psoc_obj_destroyed_notification()
[all …]
H A Dreg_utils.c48 #define IS_VALID_PSOC_REG_OBJ(psoc_priv_obj) (psoc_priv_obj) argument
595 *psoc_priv_obj, in reg_get_coex_unsafe_chan_nb_user_prefer()
598 psoc_priv_obj->coex_unsafe_chan_nb_user_prefer = in reg_get_coex_unsafe_chan_nb_user_prefer()
604 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj, in reg_get_coex_unsafe_chan_reg_disable() argument
607 psoc_priv_obj->coex_unsafe_chan_reg_disable = in reg_get_coex_unsafe_chan_reg_disable()
614 *psoc_priv_obj, in reg_get_coex_unsafe_chan_nb_user_prefer()
621 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj, in reg_get_coex_unsafe_chan_reg_disable() argument
689 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_is_etsi_srd_chan_allowed_master_mode() local
697 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_is_etsi_srd_chan_allowed_master_mode()
698 if (!IS_VALID_PSOC_REG_OBJ(psoc_priv_obj)) { in reg_is_etsi_srd_chan_allowed_master_mode()
[all …]
H A Dreg_services_common.c1460 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_read_default_country() local
1467 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_read_default_country()
1468 if (!IS_VALID_PSOC_REG_OBJ(psoc_priv_obj)) { in reg_read_default_country()
1473 qdf_mem_copy(country_code, psoc_priv_obj->def_country, in reg_read_default_country()
2023 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_program_chan_list() local
2039 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_program_chan_list()
2040 if (!IS_VALID_PSOC_REG_OBJ(psoc_priv_obj)) { in reg_program_chan_list()
2045 if (psoc_priv_obj->offload_enabled) { in reg_program_chan_list()
2060 psoc_priv_obj->new_init_ctry_pending[phy_id] = true; in reg_program_chan_list()
2096 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_set_regdb_offloaded() local
[all …]
H A Dreg_build_chan_list.c476 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_get_connected_chan_for_mode() local
486 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_get_connected_chan_for_mode()
487 if (!psoc_priv_obj) { in reg_get_connected_chan_for_mode()
492 qdf_spin_lock_bh(&psoc_priv_obj->cbk_list_lock); in reg_get_connected_chan_for_mode()
493 if (psoc_priv_obj->conn_chan_cb.cbk) in reg_get_connected_chan_for_mode()
494 callback = psoc_priv_obj->conn_chan_cb.cbk; in reg_get_connected_chan_for_mode()
495 qdf_spin_unlock_bh(&psoc_priv_obj->cbk_list_lock); in reg_get_connected_chan_for_mode()
2549 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in reg_modify_chan_list_for_avoid_chan_ext() local
2571 psoc_priv_obj = reg_get_psoc_obj(psoc); in reg_modify_chan_list_for_avoid_chan_ext()
2572 if (!psoc_priv_obj) in reg_modify_chan_list_for_avoid_chan_ext()
[all …]
H A Dreg_services_common.h34 #define IS_VALID_PSOC_REG_OBJ(psoc_priv_obj) (psoc_priv_obj) argument
/wlan-driver/qcacld-3.0/components/nan/dispatcher/src/ !
H A Dnan_ucfg_api.c1127 struct nan_psoc_priv_obj *psoc_priv_obj; in ucfg_ndi_remove_entry_from_policy_mgr() local
1138 psoc_priv_obj = nan_get_psoc_priv_obj(psoc); in ucfg_ndi_remove_entry_from_policy_mgr()
1139 if (!psoc_priv_obj) { in ucfg_ndi_remove_entry_from_policy_mgr()
/wlan-driver/qcacld-3.0/core/hdd/src/ !
H A Dwlan_hdd_hostapd.c3765 struct wlan_regulatory_psoc_priv_obj *psoc_priv_obj; in hdd_stop_sap_set_tx_power() local
3779 psoc_priv_obj = reg_get_psoc_obj(psoc); in hdd_stop_sap_set_tx_power()
3780 if (!psoc_priv_obj) { in hdd_stop_sap_set_tx_power()
3788 unsafe_ch_list = &psoc_priv_obj->unsafe_chan_list; in hdd_stop_sap_set_tx_power()