Home | History | Annotate | Download | only in pan

Lines Matching full:p_data

306 void bta_pan_enable(tBTA_PAN_DATA *p_data)
316 bta_pan_cb.p_cback = p_data->api_enable.p_cback;
354 void bta_pan_set_role(tBTA_PAN_DATA *p_data)
361 bta_pan_cb.app_id[0] = p_data->api_set_role.user_app_id;
362 bta_pan_cb.app_id[1] = p_data->api_set_role.gn_app_id;
363 bta_pan_cb.app_id[2] = p_data->api_set_role.nap_app_id;
365 sec[0] = p_data->api_set_role.user_sec_mask;
366 sec[1] = p_data->api_set_role.gn_sec_mask;
367 sec[2] = p_data->api_set_role.nap_sec_mask;
370 status = PAN_SetRole(p_data->api_set_role.role, sec,
371 p_data->api_set_role.user_name,
372 p_data->api_set_role.gn_name,
373 p_data->api_set_role.nap_name);
375 set_role.role = p_data->api_set_role.role;
378 if(p_data->api_set_role.role & PAN_ROLE_NAP_SERVER )
383 if(p_data->api_set_role.role & PAN_ROLE_GN_SERVER )
388 if(p_data->api_set_role.role & PAN_ROLE_CLIENT )
464 void bta_pan_open(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
471 status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer_role,
478 bdcpy(p_scb->bd_addr, p_data->api_open.bd_addr);
479 p_scb->local_role = p_data->api_open.local_role;
480 p_scb->peer_role = p_data->api_open.peer_role;
481 bdcpy(opening.bd_addr, p_data->api_open.bd_addr);
490 bdcpy(data.bd_addr, p_data->api_open.bd_addr);
492 data.local_role = p_data->api_open.local_role;
493 data.peer_role = p_data->api_open.peer_role;
511 void bta_pan_api_close (tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
515 UNUSED(p_data);
538 void bta_pan_conn_open(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
543 APPL_TRACE_DEBUG("%s pan connection result: %d", __func__, p_data->conn.result);
550 if(p_data->conn.result == PAN_SUCCESS)
591 void bta_pan_conn_close(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
597 data.handle = p_data->hdr.layer_specific;
625 void bta_pan_rx_path(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
627 UNUSED(p_data);
656 void bta_pan_tx_path(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
658 UNUSED(p_data);
721 void bta_pan_tx_flow(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
723 p_scb->app_flow_enable = p_data->ci_tx_flow.enable;
736 void bta_pan_write_buf(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
743 ((tBTA_PAN_DATA_PARAMS *)p_data)->dst,
744 ((tBTA_PAN_DATA_PARAMS *)p_data)->src,
745 ((tBTA_PAN_DATA_PARAMS *)p_data)->protocol,
746 (BT_HDR *)p_data,
747 ((tBTA_PAN_DATA_PARAMS *)p_data)->ext);
763 void bta_pan_free_buf(tBTA_PAN_SCB *p_scb, tBTA_PAN_DATA *p_data)
766 osi_free(p_data);