Lines Matching refs:p_data

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