Lines Matching refs:scan_obj

35 	struct wlan_scan_obj *scan_obj;  in wlan_scan_cfg_get_passive_dwelltime()  local
37 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_passive_dwelltime()
38 if (!scan_obj) in wlan_scan_cfg_get_passive_dwelltime()
40 *dwell_time = scan_obj->scan_def.passive_dwell; in wlan_scan_cfg_get_passive_dwelltime()
46 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_passive_dwelltime() local
48 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_passive_dwelltime()
49 if (!scan_obj) in wlan_scan_cfg_set_passive_dwelltime()
51 scan_obj->scan_def.passive_dwell = dwell_time; in wlan_scan_cfg_set_passive_dwelltime()
57 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_active_dwelltime() local
59 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_active_dwelltime()
60 if (!scan_obj) in wlan_scan_cfg_get_active_dwelltime()
62 *dwell_time = scan_obj->scan_def.active_dwell; in wlan_scan_cfg_get_active_dwelltime()
68 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_active_dwelltime() local
70 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_active_dwelltime()
71 if (!scan_obj) in wlan_scan_cfg_set_active_dwelltime()
73 scan_obj->scan_def.active_dwell = dwell_time; in wlan_scan_cfg_set_active_dwelltime()
79 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_active_2g_dwelltime() local
81 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_active_2g_dwelltime()
82 if (!scan_obj) in wlan_scan_cfg_get_active_2g_dwelltime()
85 *dwell_time = scan_obj->scan_def.active_dwell_2g; in wlan_scan_cfg_get_active_2g_dwelltime()
91 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_active_2g_dwelltime() local
93 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_active_2g_dwelltime()
94 if (!scan_obj) in wlan_scan_cfg_set_active_2g_dwelltime()
96 scan_obj->scan_def.active_dwell_2g = dwell_time; in wlan_scan_cfg_set_active_2g_dwelltime()
103 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_active_6g_dwelltime() local
105 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_active_6g_dwelltime()
106 if (!scan_obj) in wlan_scan_cfg_get_active_6g_dwelltime()
109 *dwell_time = scan_obj->scan_def.active_dwell_6g; in wlan_scan_cfg_get_active_6g_dwelltime()
117 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_active_6g_dwelltime() local
119 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_active_6g_dwelltime()
120 if (!scan_obj) in wlan_scan_cfg_set_active_6g_dwelltime()
123 scan_obj->scan_def.active_dwell_6g = dwell_time; in wlan_scan_cfg_set_active_6g_dwelltime()
131 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_passive_6g_dwelltime() local
133 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_passive_6g_dwelltime()
134 if (!scan_obj) in wlan_scan_cfg_get_passive_6g_dwelltime()
137 *dwell_time = scan_obj->scan_def.passive_dwell_6g; in wlan_scan_cfg_get_passive_6g_dwelltime()
145 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_passive_6g_dwelltime() local
147 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_passive_6g_dwelltime()
148 if (!scan_obj) in wlan_scan_cfg_set_passive_6g_dwelltime()
151 scan_obj->scan_def.passive_dwell_6g = dwell_time; in wlan_scan_cfg_set_passive_6g_dwelltime()
159 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_min_dwelltime_6g() local
161 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_min_dwelltime_6g()
162 if (!scan_obj) in wlan_scan_cfg_get_min_dwelltime_6g()
164 *min_dwell_time_6ghz = scan_obj->scan_def.min_dwell_time_6g; in wlan_scan_cfg_get_min_dwelltime_6g()
170 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_scan_mode_6g() local
172 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_scan_mode_6g()
173 if (!scan_obj) in wlan_scan_cfg_set_scan_mode_6g()
176 scan_obj->scan_def.scan_mode_6g = scan_mode_6g; in wlan_scan_cfg_set_scan_mode_6g()
210 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_conc_active_dwelltime() local
212 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_conc_active_dwelltime()
213 if (!scan_obj) in wlan_scan_cfg_get_conc_active_dwelltime()
216 *dwell_time = scan_obj->scan_def.conc_active_dwell; in wlan_scan_cfg_get_conc_active_dwelltime()
222 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_conc_active_dwelltime() local
224 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_conc_active_dwelltime()
225 if (!scan_obj) in wlan_scan_cfg_set_conc_active_dwelltime()
228 scan_obj->scan_def.conc_active_dwell = dwell_time; in wlan_scan_cfg_set_conc_active_dwelltime()
234 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_conc_passive_dwelltime() local
236 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_conc_passive_dwelltime()
237 if (!scan_obj) in wlan_scan_cfg_get_conc_passive_dwelltime()
240 *dwell_time = scan_obj->scan_def.conc_passive_dwell; in wlan_scan_cfg_get_conc_passive_dwelltime()
246 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_conc_passive_dwelltime() local
248 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_conc_passive_dwelltime()
249 if (!scan_obj) in wlan_scan_cfg_set_conc_passive_dwelltime()
252 scan_obj->scan_def.conc_passive_dwell = dwell_time; in wlan_scan_cfg_set_conc_passive_dwelltime()
259 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_dfs_chan_scan_allowed() local
261 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_dfs_chan_scan_allowed()
262 if (!scan_obj) in wlan_scan_cfg_get_dfs_chan_scan_allowed()
265 *enable_dfs_scan = scan_obj->scan_def.allow_dfs_chan_in_scan; in wlan_scan_cfg_get_dfs_chan_scan_allowed()
272 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_set_dfs_chan_scan_allowed() local
274 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_set_dfs_chan_scan_allowed()
275 if (!scan_obj) in wlan_scan_cfg_set_dfs_chan_scan_allowed()
278 scan_obj->scan_def.allow_dfs_chan_in_scan = enable_dfs_scan; in wlan_scan_cfg_set_dfs_chan_scan_allowed()
283 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_honour_nl_scan_policy_flags() local
285 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_honour_nl_scan_policy_flags()
286 if (!scan_obj) in wlan_scan_cfg_honour_nl_scan_policy_flags()
289 return scan_obj->scan_def.honour_nl_scan_policy_flags; in wlan_scan_cfg_honour_nl_scan_policy_flags()
295 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_conc_max_resttime() local
297 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_conc_max_resttime()
298 if (!scan_obj) in wlan_scan_cfg_get_conc_max_resttime()
301 *rest_time = scan_obj->scan_def.conc_max_rest_time; in wlan_scan_cfg_get_conc_max_resttime()
307 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_get_conc_min_resttime() local
309 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_get_conc_min_resttime()
310 if (!scan_obj) in wlan_scan_cfg_get_conc_min_resttime()
313 *rest_time = scan_obj->scan_def.conc_min_rest_time; in wlan_scan_cfg_get_conc_min_resttime()
318 struct wlan_scan_obj *scan_obj; in wlan_scan_is_snr_monitor_enabled() local
320 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_is_snr_monitor_enabled()
321 if (!scan_obj) in wlan_scan_is_snr_monitor_enabled()
324 return scan_obj->scan_def.scan_f_chan_stat_evnt; in wlan_scan_is_snr_monitor_enabled()
394 struct wlan_scan_obj *scan_obj; in wlan_scan_get_aging_time() local
396 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_get_aging_time()
397 if (!scan_obj) in wlan_scan_get_aging_time()
400 return scan_obj->scan_def.scan_cache_aging_time; in wlan_scan_get_aging_time()
406 struct wlan_scan_obj *scan_obj; in wlan_scan_set_aging_time() local
409 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_set_aging_time()
410 if (!scan_obj) in wlan_scan_set_aging_time()
418 scan_obj->scan_def.scan_cache_aging_time = time; in wlan_scan_set_aging_time()
666 struct wlan_scan_obj *scan_obj; in wlan_scan_cfg_skip_6g_and_indoor_freq() local
668 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_cfg_skip_6g_and_indoor_freq()
669 if (!scan_obj) in wlan_scan_cfg_skip_6g_and_indoor_freq()
672 return scan_obj->scan_def.skip_6g_and_indoor_freq; in wlan_scan_cfg_skip_6g_and_indoor_freq()
678 struct wlan_scan_obj *scan_obj; in wlan_scan_get_last_scan_ageout_time() local
680 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_get_last_scan_ageout_time()
681 if (!scan_obj) { in wlan_scan_get_last_scan_ageout_time()
686 scan_obj->scan_def.last_scan_ageout_time; in wlan_scan_get_last_scan_ageout_time()
698 struct wlan_scan_obj *scan_obj; in wlan_scan_get_pno_scan_support() local
700 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_get_pno_scan_support()
701 if (!scan_obj) { in wlan_scan_get_pno_scan_support()
706 return scan_obj->pno_cfg.scan_support_enabled; in wlan_scan_get_pno_scan_support()
717 struct wlan_scan_obj *scan_obj; in wlan_scan_is_connected_scan_enabled() local
719 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_is_connected_scan_enabled()
720 if (!scan_obj) { in wlan_scan_is_connected_scan_enabled()
725 return scan_obj->scan_def.enable_connected_scan; in wlan_scan_is_connected_scan_enabled()
925 struct wlan_scan_obj *scan_obj; in wlan_scan_get_aux_support() local
927 scan_obj = wlan_psoc_get_scan_obj(psoc); in wlan_scan_get_aux_support()
928 if (!scan_obj) in wlan_scan_get_aux_support()
931 if (scan_obj->aux_mac_support) in wlan_scan_get_aux_support()
932 scm_debug("aux mac support: %d", scan_obj->aux_mac_support); in wlan_scan_get_aux_support()
936 return scan_obj->aux_mac_support; in wlan_scan_get_aux_support()