Home
last modified time | relevance | path

Searched refs:entry (Results 1 – 25 of 96) sorted by relevance

1234

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Dqdf_perf.c82 qdf_perf_entry_t *entry = NULL; in __qdf_perf_init() local
93 entry = kmalloc(sizeof(struct qdf_perf_entry), GFP_ATOMIC); in __qdf_perf_init()
95 if (!entry) { in __qdf_perf_init()
101 memset(entry, 0, sizeof(struct qdf_perf_entry)); in __qdf_perf_init()
103 INIT_LIST_HEAD(&entry->list); in __qdf_perf_init()
104 INIT_LIST_HEAD(&entry->child); in __qdf_perf_init()
106 spin_lock_init(&entry->lock_irq); in __qdf_perf_init()
108 list_add_tail(&entry->list, &pentry->child); in __qdf_perf_init()
110 entry->name = id_name; in __qdf_perf_init()
111 entry->type = type; in __qdf_perf_init()
[all …]
Dqdf_ssr_driver_dump.c92 struct cnss_ssr_driver_dump_entry *entry; in qdf_ssr_driver_dump_register_region() local
105 entry = qdf_ssr_driver_dump_find_entry_by_name(region_name); in qdf_ssr_driver_dump_register_region()
106 if (entry) { in qdf_ssr_driver_dump_register_region()
112 entry = qdf_ssr_driver_dump_find_next_free_entry(); in qdf_ssr_driver_dump_register_region()
113 if (!entry) { in qdf_ssr_driver_dump_register_region()
120 entry->buffer_pointer = region_buffer; in qdf_ssr_driver_dump_register_region()
121 entry->buffer_size = region_size; in qdf_ssr_driver_dump_register_region()
122 qdf_str_lcopy(entry->region_name, region_name, in qdf_ssr_driver_dump_register_region()
123 sizeof(entry->region_name)); in qdf_ssr_driver_dump_register_region()
138 struct cnss_ssr_driver_dump_entry *entry; in qdf_ssr_driver_dump_unregister_region() local
[all …]
Dqdf_lro.c226 struct qdf_lro_desc_entry *entry; in qdf_lro_desc_find() local
246 entry = list_entry(ptr, struct qdf_lro_desc_entry, lro_node); in qdf_lro_desc_find()
247 tmp_lro_desc = entry->lro_desc; in qdf_lro_desc_find()
248 if (qdf_lro_tcp_flow_match(entry->lro_desc, iph, tcph)) { in qdf_lro_desc_find()
249 *lro_desc = entry->lro_desc; in qdf_lro_desc_find()
256 entry = list_first_entry_or_null( in qdf_lro_desc_find()
259 if (unlikely(!entry)) { in qdf_lro_desc_find()
265 list_del_init(&entry->lro_node); in qdf_lro_desc_find()
267 if (unlikely(!entry->lro_desc)) { in qdf_lro_desc_find()
273 memset(entry->lro_desc, 0, sizeof(struct net_lro_desc)); in qdf_lro_desc_find()
[all …]
Di_qdf_hashtable.h30 #define __qdf_ht_add(table, entry, key) hash_add(table, entry, key) argument
31 #define __qdf_ht_remove(entry) hash_del(entry) argument
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/core/src/
Dwlan_cm_bss_scoring.c355 static int32_t cm_get_congestion_pct(struct scan_cache_entry *entry) in cm_get_congestion_pct() argument
361 if (entry->air_time_fraction) { in cm_get_congestion_pct()
363 est_air_time_percentage = entry->air_time_fraction * in cm_get_congestion_pct()
375 } else if (util_scan_entry_qbssload(entry)) { in cm_get_congestion_pct()
376 ap_load = (entry->qbss_chan_load * CM_MAX_PCT_SCORE); in cm_get_congestion_pct()
398 static int32_t cm_calculate_congestion_score(struct scan_cache_entry *entry, in cm_calculate_congestion_score() argument
411 if (!entry) in cm_calculate_congestion_score()
417 *congestion_pct = cm_get_congestion_pct(entry); in cm_calculate_congestion_score()
431 if (rssi_bad_zone || entry->rssi_raw <= good_rssi_threshold) in cm_calculate_congestion_score()
673 struct scan_cache_entry *entry, in cm_calculate_oce_wan_score() argument
[all …]
Dwlan_cm_connect.c531 link_id = req->cur_candidate->entry->ml_info.self_link_id; in cm_set_vdev_link_id()
549 req->cur_candidate->entry->ie_list.multi_link_bv && in cm_is_ml_connection()
551 req->cur_candidate->entry, in cm_is_ml_connection()
621 if (req && req->cur_candidate && req->cur_candidate->entry) in cm_get_bss_peer_mld_addr()
622 return &req->cur_candidate->entry->ml_info.mld_mac_addr; in cm_get_bss_peer_mld_addr()
712 if (!req || !req->cur_candidate || !req->cur_candidate->entry) { in cm_create_bss_peer()
720 req->cur_candidate->entry, in cm_create_bss_peer()
729 bssid = &req->cur_candidate->entry->bssid; in cm_create_bss_peer()
1032 key_mgmt = req->cur_candidate->entry->neg_sec_info.key_mgmt; in cm_is_retry_with_same_candidate()
1033 freq = req->cur_candidate->entry->channel.chan_freq; in cm_is_retry_with_same_candidate()
[all …]
/wlan-driver/qcacld-3.0/core/hdd/src/
Dwlan_hdd_unit_test.c66 struct hdd_ut_entry *entry; in hdd_ut_lookup() local
68 hdd_for_each_ut_entry(entry) { in hdd_ut_lookup()
69 if (qdf_str_eq(entry->name, name)) in hdd_ut_lookup()
70 return entry; in hdd_ut_lookup()
76 static uint32_t hdd_ut_single(const struct hdd_ut_entry *entry) in hdd_ut_single() argument
80 hdd_nofl_info("START: '%s'", entry->name); in hdd_ut_single()
82 errors = entry->callback(); in hdd_ut_single()
84 hdd_nofl_err("FAIL: '%s' with %u errors", entry->name, errors); in hdd_ut_single()
86 hdd_nofl_info("PASS: '%s'", entry->name); in hdd_ut_single()
93 struct hdd_ut_entry *entry; in wlan_hdd_unit_test() local
[all …]
Dwlan_hdd_debugfs_csr.c323 if (!csr->entry) { in wlan_hdd_debugfs_csr_init()
327 csr->entry = debugfs_create_file(csr->name, 0444, in wlan_hdd_debugfs_csr_init()
330 if (!csr->entry) in wlan_hdd_debugfs_csr_init()
335 if (!csr->entry) { in wlan_hdd_debugfs_csr_init()
339 csr->entry = debugfs_create_file(csr->name, 0444, in wlan_hdd_debugfs_csr_init()
342 if (!csr->entry) in wlan_hdd_debugfs_csr_init()
350 struct dentry *entry; in wlan_hdd_debugfs_csr_deinit() local
353 entry = adapter->csr_file[i].entry; in wlan_hdd_debugfs_csr_deinit()
354 if (!entry) in wlan_hdd_debugfs_csr_deinit()
357 adapter->csr_file[i].entry = NULL; in wlan_hdd_debugfs_csr_deinit()
[all …]
/wlan-driver/qcacld-3.0/components/denylist_mgr/core/src/
Dwlan_dlm_core.c157 struct scan_cache_entry *entry, in dlm_prune_old_entries_and_get_action() argument
160 dlm_update_ap_info(dlm_entry, cfg, entry); in dlm_prune_old_entries_and_get_action()
181 entry ? entry->rssi_raw : 0, in dlm_prune_old_entries_and_get_action()
225 struct scan_cache_entry *entry) in dlm_action_on_bssid() argument
259 if (qdf_is_macaddr_equal(&dlm_entry->bssid, &entry->bssid)) { in dlm_action_on_bssid()
261 cfg, entry, &dlm_ctx->reject_ap_list); in dlm_action_on_bssid()
275 struct scan_cache_entry *entry) in wlan_denylist_action_on_bssid() argument
277 return dlm_action_on_bssid(pdev, entry); in wlan_denylist_action_on_bssid()
281 dlm_update_avoidlist_reject_reason(struct dlm_reject_ap *entry, in dlm_update_avoidlist_reject_reason() argument
284 entry->nud_fail = false; in dlm_update_avoidlist_reject_reason()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/scan/core/src/
Dwlan_scan_cache_db.c110 if (qdf_is_macaddr_equal(&rnr_node->entry.bssid, bssid) && in scm_is_rnr_present()
111 rnr_node->entry.short_ssid == short_ssid) in scm_is_rnr_present()
126 struct scan_cache_entry *entry) in scm_add_rnr_channel_db() argument
134 chan_freq = entry->channel.chan_freq; in scm_add_rnr_channel_db()
138 if (!(is_6g_bss || entry->ie_list.rnrie)) in scm_add_rnr_channel_db()
142 QDF_MAC_ADDR_REF(entry->bssid.bytes)); in scm_add_rnr_channel_db()
150 channel->beacon_probe_last_time_found = entry->scan_entry_time; in scm_add_rnr_channel_db()
157 if (!entry->ie_list.rnrie) in scm_add_rnr_channel_db()
161 rnr_bss = &entry->rnr.bss_info[i]; in scm_add_rnr_channel_db()
190 rnr_node->entry.timestamp = entry->scan_entry_time; in scm_add_rnr_channel_db()
[all …]
/wlan-driver/qca-wifi-host-cmn/utils/qld/src/
Dqld.c124 if (qld->entry.addr == (uintptr_t)addr) { in qld_register()
125 qld_err("%s already registered", qld->entry.name); in qld_register()
137 qld->entry.addr = (uintptr_t)addr; in qld_register()
138 qld->entry.size = size; in qld_register()
139 qdf_snprintf(qld->entry.name, sizeof(qld->entry.name), "%s", name); in qld_register()
158 if (cur_entry->entry.addr == (uintptr_t)addr) { in qld_unregister()
166 qld_debug("Delete name=%s, size=%zu", qld->entry.name, in qld_unregister()
167 qld->entry.size); in qld_unregister()
189 (gen_table)(qld_req, &qld->entry); in qld_iterate_list()
/wlan-driver/qca-wifi-host-cmn/qdf/test/
Dqdf_hashtable_test.c27 struct qdf_ht_entry entry; member
41 qdf_ht_add(ht, &item.entry, item.key); in qdf_ht_test_single()
43 qdf_ht_get(ht, cursor, entry, item.key, key); in qdf_ht_test_single()
48 qdf_ht_for_each(ht, i, cursor, entry) { in qdf_ht_test_single()
55 qdf_ht_for_each_in_bucket(ht, cursor, entry, item.key) { in qdf_ht_test_single()
62 qdf_ht_for_each_match(ht, cursor, entry, item.key, key) { in qdf_ht_test_single()
68 qdf_ht_remove(&item.entry); in qdf_ht_test_single()
Dqdf_ptr_hash_test.c29 struct qdf_ptr_hash_entry entry; member
42 QDF_BUG(!qdf_ptr_hash_get(ht, NULL, item, entry)); in __qdf_ptr_hash_test_empty()
68 qdf_ptr_hash_add(ht, &items[i], &items[i], entry); in __qdf_ptr_hash_test_add_remove()
76 QDF_BUG(qdf_ptr_hash_get(ht, &items[i], item, entry)); in __qdf_ptr_hash_test_add_remove()
82 QDF_BUG(qdf_ptr_hash_remove(ht, &items[i], item, entry)); in __qdf_ptr_hash_test_add_remove()
115 qdf_ptr_hash_add(ht, i, &items[i], entry); in __qdf_ptr_hash_test_for_each()
120 qdf_ptr_hash_for_each(ht, bucket, item, entry) { in __qdf_ptr_hash_test_for_each()
129 qdf_ptr_hash_for_each_by_hash(ht, i, item, entry) { in __qdf_ptr_hash_test_for_each()
139 qdf_ptr_hash_for_each_by_key(ht, i, item, entry) { in __qdf_ptr_hash_test_for_each()
148 qdf_ptr_hash_remove(ht, i, item, entry); in __qdf_ptr_hash_test_for_each()
/wlan-driver/qca-wifi-host-cmn/wmi/src/
Dwmi_unified_dbr_tlv.c163 wmi_dma_buf_release_entry *entry; in extract_dbr_buf_release_entry_tlv() local
169 entry = &param_buf->entries[idx]; in extract_dbr_buf_release_entry_tlv()
171 if (!entry) { in extract_dbr_buf_release_entry_tlv()
176 wmi_debug("paddr_lo[%d] = %x", idx, entry->paddr_lo); in extract_dbr_buf_release_entry_tlv()
178 param->paddr_lo = entry->paddr_lo; in extract_dbr_buf_release_entry_tlv()
179 param->paddr_hi = entry->paddr_hi; in extract_dbr_buf_release_entry_tlv()
189 wmi_dma_buf_release_spectral_meta_data *entry; in extract_dbr_buf_metadata_tlv() local
195 entry = &param_buf->meta_data[idx]; in extract_dbr_buf_metadata_tlv()
197 if (!entry) { in extract_dbr_buf_metadata_tlv()
202 qdf_mem_copy(param->noisefloor, entry->noise_floor, in extract_dbr_buf_metadata_tlv()
[all …]
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_ptr_hash.h242 struct qdf_ptr_hash_entry *entry) in __qdf_ptr_hash_add() argument
244 entry->key = key; in __qdf_ptr_hash_add()
247 entry); in __qdf_ptr_hash_add()
248 qdf_slist_push(&__qdf_ptr_hash_get_bucket(ht, key)->list, entry, node); in __qdf_ptr_hash_add()
272 struct qdf_ptr_hash_entry *entry; in __qdf_ptr_hash_remove() local
274 qdf_slist_for_each_del(&bucket->list, prev, entry, node) { in __qdf_ptr_hash_remove()
275 if (entry->key == key) { in __qdf_ptr_hash_remove()
278 qdf_ptr_hash_dup_check_in_bucket(bucket, entry); in __qdf_ptr_hash_remove()
279 entry->key = 0; in __qdf_ptr_hash_remove()
280 return entry; in __qdf_ptr_hash_remove()
Dqdf_hashtable.h80 #define qdf_ht_add(table, entry, key) __qdf_ht_add(table, entry, key) argument
88 #define qdf_ht_remove(entry) __qdf_ht_remove(entry) argument
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/mgmt_txrx/core/src/
Dwlan_mgmt_txrx_rx_reo.c1794 struct mgmt_rx_reo_list_entry *entry; member
1844 debug_info[index].entry = cur_entry; in mgmt_rx_reo_list_display()
1863 debug_info[index].entry); in mgmt_rx_reo_list_display()
2185 struct mgmt_rx_reo_list_entry *entry) in mgmt_rx_reo_log_egress_frame_before_delivery() argument
2192 if (!reo_ctx || !entry) in mgmt_rx_reo_log_egress_frame_before_delivery()
2198 link_id = mgmt_rx_reo_get_link_id(entry->rx_params); in mgmt_rx_reo_log_egress_frame_before_delivery()
2200 if (entry->is_premature_delivery) in mgmt_rx_reo_log_egress_frame_before_delivery()
2212 mgmt_rx_reo_get_pkt_counter(entry->rx_params); in mgmt_rx_reo_log_egress_frame_before_delivery()
2214 mgmt_rx_reo_get_global_ts(entry->rx_params); in mgmt_rx_reo_log_egress_frame_before_delivery()
2215 cur_frame_debug_info->initial_wait_count = entry->initial_wait_count; in mgmt_rx_reo_log_egress_frame_before_delivery()
[all …]
Dwlan_mgmt_txrx_rx_reo_i.h69 #define LIST_ENTRY_IS_WAITING_FOR_FRAME_ON_OTHER_LINK(entry) \ argument
70 ((entry)->status & STATUS_WAIT_FOR_FRAME_ON_OTHER_LINKS)
71 #define LIST_ENTRY_IS_AGED_OUT(entry) \ argument
72 ((entry)->status & STATUS_AGED_OUT)
73 #define LIST_ENTRY_IS_OLDER_THAN_LATEST_AGED_OUT_FRAME(entry) \ argument
74 ((entry)->status & STATUS_OLDER_THAN_LATEST_AGED_OUT_FRAME)
75 #define LIST_ENTRY_IS_REMOVED_DUE_TO_INGRESS_LIST_OVERFLOW(entry) \ argument
76 ((entry)->status & STATUS_INGRESS_LIST_OVERFLOW)
77 #define LIST_ENTRY_IS_OLDER_THAN_READY_TO_DELIVER_FRAMES(entry) \ argument
78 ((entry)->status & STATUS_OLDER_THAN_READY_TO_DELIVER_FRAMES)
[all …]
Dwlan_mgmt_txrx_main.c77 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_init()
105 &mgmt_txrx_pdev_ctx->mgmt_desc_pool.pool[i].entry); in wlan_mgmt_txrx_desc_pool_deinit()
151 entry); in wlan_mgmt_txrx_desc_get()
190 &desc->entry); in wlan_mgmt_txrx_desc_put()
/wlan-driver/qca-wifi-host-cmn/qdf/src/
Dqdf_tracker.c32 struct qdf_ptr_hash_entry entry; member
71 qdf_ptr_hash_for_each(tracker->ht, bucket, node, entry) { in qdf_tracker_leaks_print()
84 qdf_nofl_alert("0x%lx @ %s:%u", node->entry.key, in qdf_tracker_leaks_print()
119 node = qdf_ptr_hash_get(tracker->ht, ptr, node, entry); in qdf_tracker_track()
138 qdf_ptr_hash_add(tracker->ht, ptr, node, entry); in qdf_tracker_track()
156 node = qdf_ptr_hash_remove(tracker->ht, ptr, node, entry); in qdf_tracker_untrack()
181 node = qdf_ptr_hash_get(tracker->ht, ptr, node, entry); in qdf_tracker_lookup()
Dqdf_talloc.c106 struct qdf_ht_entry entry; member
123 qdf_ht_add(__qdf_talloc_meta_ht, &pmeta->entry, pmeta->key); in qdf_talloc_parent_meta_alloc()
130 qdf_ht_remove(&pmeta->entry); in qdf_talloc_parent_meta_free()
141 qdf_ht_get(__qdf_talloc_meta_ht, pmeta, entry, key, key); in qdf_talloc_parent_meta_lookup()
304 qdf_ht_for_each(__qdf_talloc_meta_ht, i, pmeta, entry) in qdf_talloc_feature_deinit()
/wlan-driver/qcacld-3.0/components/umac/mlme/connection_mgr/core/src/
Dwlan_cm_host_util.c175 req->bss->entry->channel.chan_freq, in cm_handle_reassoc_req()
176 req->bss->entry->rssi_raw); in cm_handle_reassoc_req()
187 join_req->entry = util_scan_copy_cache_entry(req->bss->entry); in cm_handle_reassoc_req()
188 if (!join_req->entry) { in cm_handle_reassoc_req()
206 req->bss->entry->bssid.bytes, in cm_handle_reassoc_req()
207 req->bss->entry->neg_sec_info.key_mgmt, in cm_handle_reassoc_req()
208 req->bss->entry->channel.chan_freq); in cm_handle_reassoc_req()
Dwlan_cm_host_roam_preauth.c81 QDF_MAC_ADDR_REF(cm_req->cur_candidate->entry->bssid.bytes)); in cm_get_valid_preauth_candidate()
308 bss_freq = scan_node->entry->channel.chan_freq; in cm_flush_invalid_preauth_ap()
310 &scan_node->entry->bssid)) { in cm_flush_invalid_preauth_ap()
335 util_scan_free_cache_entry(scan_node->entry); in cm_flush_invalid_preauth_ap()
363 util_scan_free_cache_entry(preauth_req->entry); in cm_free_preauth_req()
364 preauth_req->entry = NULL; in cm_free_preauth_req()
396 preauth_req->entry = in cm_issue_preauth_req()
397 util_scan_copy_cache_entry(roam_req->cur_candidate->entry); in cm_issue_preauth_req()
399 if (!preauth_req->entry) { in cm_issue_preauth_req()
474 !cm_req->roam_req.cur_candidate->entry) in cm_roam_read_tsf()
[all …]
/wlan-driver/qca-wifi-host-cmn/umac/mlme/connection_mgr/dispatcher/inc/
Dwlan_cm_bss_score_param.h315 struct scan_cache_entry *entry);
319 struct scan_cache_entry *entry) in wlan_denylist_action_on_bssid() argument
354 struct scan_cache_entry *entry,
359 struct scan_cache_entry *entry, in wlan_cm_is_eht_allowed_for_current_security() argument
368 struct scan_cache_entry *entry, in wlan_cm_is_eht_allowed_for_current_security() argument
/wlan-driver/qcacld-3.0/components/umac/mlme/sap/ll_sap/dispatcher/src/
Dwlan_ll_sap_api.c62 struct scan_cache_entry *entry; in wlan_ll_sap_switch_bearer_on_sta_connect_start() local
90 entry = scan_node->entry; in wlan_ll_sap_switch_bearer_on_sta_connect_start()
91 ch_freq = entry->channel.chan_freq; in wlan_ll_sap_switch_bearer_on_sta_connect_start()

1234