Lines Matching refs:pRsp
54 int NanCommand::getNanResponse(transaction_id *id, NanResponseMsg *pRsp) in getNanResponse() argument
56 if (mNanVendorEvent == NULL || pRsp == NULL) { in getNanResponse()
69 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
70 pRsp->value = pFwRsp->value; in getNanResponse()
71 pRsp->response_type = NAN_RESPONSE_ERROR; in getNanResponse()
79 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
80 pRsp->value = pFwRsp->value; in getNanResponse()
81 pRsp->response_type = NAN_RESPONSE_CONFIG; in getNanResponse()
89 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
90 pRsp->value = pFwRsp->value; in getNanResponse()
91 pRsp->response_type = NAN_RESPONSE_PUBLISH_CANCEL; in getNanResponse()
92 pRsp->body.publish_response.publish_id = \ in getNanResponse()
101 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
102 pRsp->value = pFwRsp->value; in getNanResponse()
103 pRsp->response_type = NAN_RESPONSE_PUBLISH; in getNanResponse()
104 pRsp->body.publish_response.publish_id = \ in getNanResponse()
113 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
114 pRsp->value = pFwRsp->value; in getNanResponse()
115 pRsp->response_type = NAN_RESPONSE_SUBSCRIBE; in getNanResponse()
116 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
125 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
126 pRsp->value = pFwRsp->value; in getNanResponse()
127 pRsp->response_type = NAN_RESPONSE_SUBSCRIBE_CANCEL; in getNanResponse()
128 pRsp->body.subscribe_response.subscribe_id = \ in getNanResponse()
137 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
138 pRsp->value = pFwRsp->value; in getNanResponse()
139 pRsp->response_type = NAN_RESPONSE_TRANSMIT_FOLLOWUP; in getNanResponse()
147 pRsp->status = (NanStatusType)pFwRsp->statsRspParams.status; in getNanResponse()
148 pRsp->value = pFwRsp->statsRspParams.value; in getNanResponse()
149 pRsp->response_type = NAN_RESPONSE_STATS; in getNanResponse()
150 pRsp->body.stats_response.stats_type = \ in getNanResponse()
153 pRsp->body.stats_response.stats_type); in getNanResponse()
166 sizeof(pRsp->body.stats_response.data)) { in getNanResponse()
167 handleNanStatsResponse(pRsp->body.stats_response.stats_type, in getNanResponse()
169 &pRsp->body.stats_response); in getNanResponse()
181 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
182 pRsp->value = pFwRsp->value; in getNanResponse()
183 pRsp->response_type = NAN_RESPONSE_ENABLED; in getNanResponse()
191 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
192 pRsp->value = 0; in getNanResponse()
193 pRsp->response_type = NAN_RESPONSE_DISABLED; in getNanResponse()
201 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
202 pRsp->value = pFwRsp->value; in getNanResponse()
203 pRsp->response_type = NAN_RESPONSE_TCA; in getNanResponse()
211 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
212 pRsp->value = 0; in getNanResponse()
213 pRsp->response_type = NAN_RESPONSE_BEACON_SDF_PAYLOAD; in getNanResponse()
221 pRsp->status = (NanStatusType)pFwRsp->status; in getNanResponse()
222 pRsp->value = pFwRsp->value; in getNanResponse()
223 pRsp->response_type = NAN_GET_CAPABILITIES; in getNanResponse()
224 pRsp->body.nan_capabilities.max_concurrent_nan_clusters = \ in getNanResponse()
226 pRsp->body.nan_capabilities.max_publishes = \ in getNanResponse()
228 pRsp->body.nan_capabilities.max_subscribes = \ in getNanResponse()
230 pRsp->body.nan_capabilities.max_service_name_len = \ in getNanResponse()
232 pRsp->body.nan_capabilities.max_match_filter_len = \ in getNanResponse()
234 pRsp->body.nan_capabilities.max_total_match_filter_len = \ in getNanResponse()
236 pRsp->body.nan_capabilities.max_service_specific_info_len = \ in getNanResponse()
238 pRsp->body.nan_capabilities.max_vsa_data_len = \ in getNanResponse()
240 pRsp->body.nan_capabilities.max_mesh_data_len = \ in getNanResponse()
242 pRsp->body.nan_capabilities.max_ndi_interfaces = \ in getNanResponse()
244 pRsp->body.nan_capabilities.max_ndp_sessions = \ in getNanResponse()
246 pRsp->body.nan_capabilities.max_app_info_len = \ in getNanResponse()
298 NanStatsResponse *pRsp) in handleNanStatsResponse() argument
331 memcpy(&pRsp->data, &publish_stats, sizeof(NanPublishStats)); in handleNanStatsResponse()
369 memcpy(&pRsp->data, &sub_stats, sizeof(NanSubscribeStats)); in handleNanStatsResponse()
393 memcpy(&pRsp->data, &dw_stats, sizeof(NanDWStats)); in handleNanStatsResponse()
422 memcpy(&pRsp->data, &mac_stats, sizeof(NanMacStats)); in handleNanStatsResponse()
476 memcpy(&pRsp->data, &sync_stats, sizeof(NanSyncStats)); in handleNanStatsResponse()
511 memcpy(&pRsp->data, &de_stats, sizeof(NanDeStats)); in handleNanStatsResponse()