Searched refs:peer_cs (Results 1 – 8 of 8) sorted by relevance
154 struct peer_cp_stats *peer_cs; in wlan_cp_stats_peer_comp_obj_config() local156 peer_cs = wlan_cp_stats_get_peer_stats_obj(peer); in wlan_cp_stats_peer_comp_obj_config()157 if (!peer_cs) { in wlan_cp_stats_peer_comp_obj_config()162 wlan_cp_stats_peer_obj_lock(peer_cs); in wlan_cp_stats_peer_comp_obj_config()164 if (peer_cs->peer_comp_priv_obj[comp_id]) { in wlan_cp_stats_peer_comp_obj_config()165 wlan_cp_stats_peer_obj_unlock(peer_cs); in wlan_cp_stats_peer_comp_obj_config()168 peer_cs->peer_comp_priv_obj[comp_id] = data; in wlan_cp_stats_peer_comp_obj_config()170 if (peer_cs->peer_comp_priv_obj[comp_id] != data) { in wlan_cp_stats_peer_comp_obj_config()171 wlan_cp_stats_peer_obj_unlock(peer_cs); in wlan_cp_stats_peer_comp_obj_config()174 data = peer_cs->peer_comp_priv_obj[comp_id]; in wlan_cp_stats_peer_comp_obj_config()[all …]
442 struct peer_cp_stats *peer_cs = NULL; in wlan_cp_stats_peer_obj_create_handler() local451 peer_cs = qdf_mem_malloc(sizeof(*peer_cs)); in wlan_cp_stats_peer_obj_create_handler()452 if (!peer_cs) { in wlan_cp_stats_peer_obj_create_handler()462 peer_cs->peer_obj = peer; in wlan_cp_stats_peer_obj_create_handler()465 csc->cp_stats_peer_obj_init(peer_cs)) { in wlan_cp_stats_peer_obj_create_handler()473 peer_cs, in wlan_cp_stats_peer_obj_create_handler()480 csc->cp_stats_peer_obj_deinit(peer_cs); in wlan_cp_stats_peer_obj_create_handler()483 if (peer_cs) in wlan_cp_stats_peer_obj_create_handler()484 qdf_mem_free(peer_cs); in wlan_cp_stats_peer_obj_create_handler()494 struct peer_cp_stats *peer_cs; in wlan_cp_stats_peer_obj_destroy_handler() local[all …]
77 QDF_STATUS wlan_cp_stats_peer_obj_init_ol(struct peer_cp_stats *peer_cs) in wlan_cp_stats_peer_obj_init_ol() argument79 qdf_spinlock_create(&peer_cs->peer_cp_stats_lock); in wlan_cp_stats_peer_obj_init_ol()80 wlan_cp_stats_peer_cs_init(peer_cs); in wlan_cp_stats_peer_obj_init_ol()84 QDF_STATUS wlan_cp_stats_peer_obj_deinit_ol(struct peer_cp_stats *peer_cs) in wlan_cp_stats_peer_obj_deinit_ol() argument86 wlan_cp_stats_peer_cs_deinit(peer_cs); in wlan_cp_stats_peer_obj_deinit_ol()87 qdf_spinlock_destroy(&peer_cs->peer_cp_stats_lock); in wlan_cp_stats_peer_obj_deinit_ol()
176 QDF_STATUS (*cp_stats_peer_obj_init)(struct peer_cp_stats *peer_cs);177 QDF_STATUS (*cp_stats_peer_obj_deinit)(struct peer_cp_stats *peer_cs);364 struct peer_cp_stats *peer_cs = NULL; in wlan_cp_stats_get_peer_stats_obj() local367 peer_cs = wlan_objmgr_peer_get_comp_private_obj in wlan_cp_stats_get_peer_stats_obj()371 return peer_cs; in wlan_cp_stats_get_peer_stats_obj()
85 QDF_STATUS wlan_cp_stats_peer_cs_init(struct peer_cp_stats *peer_cs);93 QDF_STATUS wlan_cp_stats_peer_cs_deinit(struct peer_cp_stats *peer_cs);
88 QDF_STATUS wlan_cp_stats_peer_obj_init_ol(struct peer_cp_stats *peer_cs);96 QDF_STATUS wlan_cp_stats_peer_obj_deinit_ol(struct peer_cp_stats *peer_cs);
367 struct peer_cp_stats *peer_cs = wlan_cp_stats_get_peer_stats_obj(peer); in wlan_cp_stats_peer_rx_pnerr() local369 if (peer_cs && peer_cs->rx_pnerr_stats_inc) in wlan_cp_stats_peer_rx_pnerr()370 peer_cs->rx_pnerr_stats_inc(peer, 1); in wlan_cp_stats_peer_rx_pnerr()
371 QDF_STATUS wlan_cp_stats_peer_cs_init(struct peer_cp_stats *peer_cs) in wlan_cp_stats_peer_cs_init() argument398 peer_cs->peer_stats = peer_mc_stats; in wlan_cp_stats_peer_cs_init()403 QDF_STATUS wlan_cp_stats_peer_cs_deinit(struct peer_cp_stats *peer_cs) in wlan_cp_stats_peer_cs_deinit() argument405 struct peer_mc_cp_stats *peer_mc_stats = peer_cs->peer_stats; in wlan_cp_stats_peer_cs_deinit()411 qdf_mem_free(peer_cs->peer_stats); in wlan_cp_stats_peer_cs_deinit()412 peer_cs->peer_stats = NULL; in wlan_cp_stats_peer_cs_deinit()