Lines Matching refs:stat
2936 struct cstats_nan_ndp_initiator_req stat = {0}; in os_if_cstats_log_ndp_initiator_req_evt() local
2941 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_INITIATOR_REQ_EVENT_ID; in os_if_cstats_log_ndp_initiator_req_evt()
2942 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_initiator_req) - in os_if_cstats_log_ndp_initiator_req_evt()
2944 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_initiator_req_evt()
2945 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_initiator_req_evt()
2946 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_initiator_req_evt()
2947 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_initiator_req_evt()
2949 stat.transaction_id = req->transaction_id; in os_if_cstats_log_ndp_initiator_req_evt()
2950 stat.channel = req->channel; in os_if_cstats_log_ndp_initiator_req_evt()
2951 stat.channel_cfg = req->channel_cfg; in os_if_cstats_log_ndp_initiator_req_evt()
2952 stat.service_instance_id = req->service_instance_id; in os_if_cstats_log_ndp_initiator_req_evt()
2953 CSTATS_MAC_COPY(stat.self_ndi_mac_addr, req->self_ndi_mac_addr.bytes); in os_if_cstats_log_ndp_initiator_req_evt()
2954 CSTATS_MAC_COPY(stat.peer_discovery_mac_addr, in os_if_cstats_log_ndp_initiator_req_evt()
2958 &stat); in os_if_cstats_log_ndp_initiator_req_evt()
2965 struct cstats_nan_ndp_responder_req stat = {0}; in os_if_cstats_log_ndp_responder_req_evt() local
2967 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_RESPONDER_REQ_EVENT_ID; in os_if_cstats_log_ndp_responder_req_evt()
2968 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_responder_req) - in os_if_cstats_log_ndp_responder_req_evt()
2970 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_responder_req_evt()
2971 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_responder_req_evt()
2972 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_responder_req_evt()
2973 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_responder_req_evt()
2974 stat.transaction_id = req->transaction_id; in os_if_cstats_log_ndp_responder_req_evt()
2975 stat.ndp_instance_id = req->ndp_instance_id; in os_if_cstats_log_ndp_responder_req_evt()
2976 stat.ndp_rsp = req->ndp_rsp; in os_if_cstats_log_ndp_responder_req_evt()
2977 stat.ncs_sk_type = req->ncs_sk_type; in os_if_cstats_log_ndp_responder_req_evt()
2980 &stat); in os_if_cstats_log_ndp_responder_req_evt()
2986 struct cstats_nan_ndp_end_req stat = {0}; in os_if_cstats_log_ndp_end_req_evt() local
2988 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_END_REQ_EVENT_ID; in os_if_cstats_log_ndp_end_req_evt()
2989 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_end_req) - in os_if_cstats_log_ndp_end_req_evt()
2991 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_end_req_evt()
2992 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_end_req_evt()
2993 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_end_req_evt()
2994 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_end_req_evt()
2995 stat.transaction_id = rq->transaction_id; in os_if_cstats_log_ndp_end_req_evt()
2996 stat.num_ndp_instances = rq->num_ndp_instances; in os_if_cstats_log_ndp_end_req_evt()
2998 wlan_cstats_host_stats(sizeof(struct cstats_nan_ndp_end_req), &stat); in os_if_cstats_log_ndp_end_req_evt()
3005 struct cstats_nan_ndp_initiator_resp stat = {0}; in os_if_cstats_log_ndp_initiator_resp_evt() local
3007 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_INITIATOR_RSP_EVENT_ID; in os_if_cstats_log_ndp_initiator_resp_evt()
3008 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_initiator_resp) - in os_if_cstats_log_ndp_initiator_resp_evt()
3010 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_initiator_resp_evt()
3011 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_initiator_resp_evt()
3012 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_initiator_resp_evt()
3013 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_initiator_resp_evt()
3014 stat.status = rsp->status; in os_if_cstats_log_ndp_initiator_resp_evt()
3015 stat.reason = rsp->reason; in os_if_cstats_log_ndp_initiator_resp_evt()
3016 stat.transaction_id = rsp->transaction_id; in os_if_cstats_log_ndp_initiator_resp_evt()
3017 stat.service_instance_id = rsp->ndp_instance_id; in os_if_cstats_log_ndp_initiator_resp_evt()
3020 &stat); in os_if_cstats_log_ndp_initiator_resp_evt()
3027 struct cstats_nan_ndp_responder_resp stat = {0}; in os_if_cstats_log_ndp_responder_resp_evt() local
3029 stat.cmn.hdr.evt_id = in os_if_cstats_log_ndp_responder_resp_evt()
3031 stat.cmn.hdr.length = sizeof(struct cstats_tdls_disc_req) - in os_if_cstats_log_ndp_responder_resp_evt()
3033 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_responder_resp_evt()
3034 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_responder_resp_evt()
3035 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_responder_resp_evt()
3036 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_responder_resp_evt()
3037 stat.status = rsp->status; in os_if_cstats_log_ndp_responder_resp_evt()
3038 stat.reason = rsp->reason; in os_if_cstats_log_ndp_responder_resp_evt()
3039 stat.transaction_id = rsp->transaction_id; in os_if_cstats_log_ndp_responder_resp_evt()
3042 &stat); in os_if_cstats_log_ndp_responder_resp_evt()
3049 struct cstats_nan_ndp_ind stat = {0}; in os_if_cstats_log_ndp_indication_evt() local
3051 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_INDICATION_EVENT_ID; in os_if_cstats_log_ndp_indication_evt()
3052 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_ind) - in os_if_cstats_log_ndp_indication_evt()
3054 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_indication_evt()
3055 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_indication_evt()
3056 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_indication_evt()
3057 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_indication_evt()
3058 stat.ndp_instance_id = evt->ndp_instance_id; in os_if_cstats_log_ndp_indication_evt()
3059 stat.service_instance_id = evt->service_instance_id; in os_if_cstats_log_ndp_indication_evt()
3060 CSTATS_MAC_COPY(stat.peer_mac, evt->peer_mac_addr.bytes); in os_if_cstats_log_ndp_indication_evt()
3061 CSTATS_MAC_COPY(stat.peer_discovery_mac_addr, in os_if_cstats_log_ndp_indication_evt()
3064 wlan_cstats_host_stats(sizeof(struct cstats_nan_ndp_ind), &stat); in os_if_cstats_log_ndp_indication_evt()
3071 struct cstats_nan_ndp_confirm_ind stat = {0}; in os_if_cstats_log_ndp_confirm_evt() local
3073 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_CONFIRM_EVENT_ID; in os_if_cstats_log_ndp_confirm_evt()
3074 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_confirm_ind) - in os_if_cstats_log_ndp_confirm_evt()
3076 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_confirm_evt()
3077 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_confirm_evt()
3078 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_confirm_evt()
3079 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_confirm_evt()
3080 stat.instance_id = nc->ndp_instance_id; in os_if_cstats_log_ndp_confirm_evt()
3081 stat.rsp_code = nc->rsp_code; in os_if_cstats_log_ndp_confirm_evt()
3082 stat.reason_code = nc->reason_code; in os_if_cstats_log_ndp_confirm_evt()
3083 CSTATS_MAC_COPY(stat.peer_addr, nc->peer_ndi_mac_addr.bytes); in os_if_cstats_log_ndp_confirm_evt()
3086 &stat); in os_if_cstats_log_ndp_confirm_evt()
3093 struct cstats_nan_ndp_end_resp stat = {0}; in os_if_cstats_log_ndp_end_rsp_evt() local
3095 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_END_RESP_EVENT_ID; in os_if_cstats_log_ndp_end_rsp_evt()
3096 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_end_resp) - in os_if_cstats_log_ndp_end_rsp_evt()
3098 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_end_rsp_evt()
3099 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_end_rsp_evt()
3100 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_end_rsp_evt()
3101 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_end_rsp_evt()
3102 stat.status = rsp->status; in os_if_cstats_log_ndp_end_rsp_evt()
3103 stat.reason = rsp->reason; in os_if_cstats_log_ndp_end_rsp_evt()
3104 stat.transaction_id = rsp->transaction_id; in os_if_cstats_log_ndp_end_rsp_evt()
3106 wlan_cstats_host_stats(sizeof(struct cstats_nan_ndp_end_resp), &stat); in os_if_cstats_log_ndp_end_rsp_evt()
3113 struct cstats_nan_ndp_new_peer_ind stat = {0}; in os_if_cstats_log_ndp_new_peer_evt() local
3115 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDP_NEW_PEER_EVENT_ID; in os_if_cstats_log_ndp_new_peer_evt()
3116 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndp_new_peer_ind) - in os_if_cstats_log_ndp_new_peer_evt()
3118 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndp_new_peer_evt()
3119 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndp_new_peer_evt()
3120 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndp_new_peer_evt()
3121 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndp_new_peer_evt()
3122 stat.sta_id = peer_ind->sta_id; in os_if_cstats_log_ndp_new_peer_evt()
3123 CSTATS_MAC_COPY(stat.peer_mac, peer_ind->peer_mac_addr.bytes); in os_if_cstats_log_ndp_new_peer_evt()
3126 &stat); in os_if_cstats_log_ndp_new_peer_evt()
3133 struct cstats_nan_ndi_delete_resp stat = {0}; in os_if_cstats_log_ndi_delete_resp_evt() local
3135 stat.cmn.hdr.evt_id = WLAN_CHIPSET_STATS_NAN_NDI_DELETE_RESP_EVENT_ID; in os_if_cstats_log_ndi_delete_resp_evt()
3136 stat.cmn.hdr.length = sizeof(struct cstats_nan_ndi_delete_resp) - in os_if_cstats_log_ndi_delete_resp_evt()
3138 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_ndi_delete_resp_evt()
3139 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_ndi_delete_resp_evt()
3140 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_ndi_delete_resp_evt()
3141 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_ndi_delete_resp_evt()
3143 stat.status = rsp->status; in os_if_cstats_log_ndi_delete_resp_evt()
3144 stat.reason = rsp->reason; in os_if_cstats_log_ndi_delete_resp_evt()
3145 stat.transaction_id = ucfg_nan_get_ndp_delete_transaction_id(vdev); in os_if_cstats_log_ndi_delete_resp_evt()
3148 &stat); in os_if_cstats_log_ndi_delete_resp_evt()
3154 struct cstats_nan_disc_enable stat = {0}; in os_if_cstats_log_nan_disc_enable_req_evt() local
3164 stat.cmn.hdr.evt_id = in os_if_cstats_log_nan_disc_enable_req_evt()
3166 stat.cmn.hdr.length = in os_if_cstats_log_nan_disc_enable_req_evt()
3169 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_nan_disc_enable_req_evt()
3170 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_nan_disc_enable_req_evt()
3171 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_nan_disc_enable_req_evt()
3172 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_nan_disc_enable_req_evt()
3173 stat.social_chan_2g_freq = nan_req->social_chan_2g_freq; in os_if_cstats_log_nan_disc_enable_req_evt()
3174 stat.social_chan_5g_freq = nan_req->social_chan_5g_freq; in os_if_cstats_log_nan_disc_enable_req_evt()
3175 stat.rtt_cap = nan_req->params.rtt_cap; in os_if_cstats_log_nan_disc_enable_req_evt()
3176 stat.disable_6g_nan = nan_req->params.disable_6g_nan; in os_if_cstats_log_nan_disc_enable_req_evt()
3180 wlan_cstats_host_stats(sizeof(struct cstats_nan_disc_enable), &stat); in os_if_cstats_log_nan_disc_enable_req_evt()
3187 struct cstats_nan_disc_disable_req stat = {0}; in os_if_cstats_log_disable_nan_disc_evt() local
3196 stat.cmn.hdr.evt_id = in os_if_cstats_log_disable_nan_disc_evt()
3198 stat.cmn.hdr.length = sizeof(struct cstats_nan_disc_disable_req) - in os_if_cstats_log_disable_nan_disc_evt()
3200 stat.cmn.opmode = wlan_vdev_mlme_get_opmode(vdev); in os_if_cstats_log_disable_nan_disc_evt()
3201 stat.cmn.vdev_id = wlan_vdev_get_id(vdev); in os_if_cstats_log_disable_nan_disc_evt()
3202 stat.cmn.timestamp_us = qdf_get_time_of_the_day_us(); in os_if_cstats_log_disable_nan_disc_evt()
3203 stat.cmn.time_tick = qdf_get_log_timestamp(); in os_if_cstats_log_disable_nan_disc_evt()
3205 stat.disable_2g_discovery = 1; in os_if_cstats_log_disable_nan_disc_evt()
3206 stat.disable_5g_discovery = 1; in os_if_cstats_log_disable_nan_disc_evt()
3211 &stat); in os_if_cstats_log_disable_nan_disc_evt()