• Home
  • Raw
  • Download

Lines Matching refs:p_xmit

1387   BT_HDR *p_buf, *p_xmit;  in l2c_fcr_get_next_xmit_sdu_seg()  local
1424 p_xmit = l2c_fcr_clone_buf(p_buf, L2CAP_MIN_OFFSET + L2CAP_SDU_LEN_OFFSET, in l2c_fcr_get_next_xmit_sdu_seg()
1427 if (p_xmit != NULL) { in l2c_fcr_get_next_xmit_sdu_seg()
1429 p_xmit->event = p_ccb->local_cid; in l2c_fcr_get_next_xmit_sdu_seg()
1435 p_xmit->layer_specific = p_buf->layer_specific; in l2c_fcr_get_next_xmit_sdu_seg()
1445 p_xmit = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q); in l2c_fcr_get_next_xmit_sdu_seg()
1447 if (p_xmit->event != 0) last_seg = true; in l2c_fcr_get_next_xmit_sdu_seg()
1449 p_xmit->event = p_ccb->local_cid; in l2c_fcr_get_next_xmit_sdu_seg()
1453 p_xmit->offset -= (L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1454 p_xmit->len += L2CAP_PKT_OVERHEAD + L2CAP_FCR_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()
1457 p_xmit->offset -= L2CAP_SDU_LEN_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()
1458 p_xmit->len += L2CAP_SDU_LEN_OVERHEAD; in l2c_fcr_get_next_xmit_sdu_seg()
1462 p = (uint8_t*)(p_xmit + 1) + p_xmit->offset; in l2c_fcr_get_next_xmit_sdu_seg()
1467 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_fcr_get_next_xmit_sdu_seg()
1478 p_xmit->layer_specific |= L2CAP_FCR_START_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
1482 p_xmit->layer_specific |= L2CAP_FCR_CONT_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
1484 p_xmit->layer_specific |= L2CAP_FCR_END_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
1486 p_xmit->layer_specific |= L2CAP_FCR_UNSEG_SDU; in l2c_fcr_get_next_xmit_sdu_seg()
1488 prepare_I_frame(p_ccb, p_xmit, false); in l2c_fcr_get_next_xmit_sdu_seg()
1492 l2c_fcr_clone_buf(p_xmit, HCI_DATA_PREAMBLE_SIZE, p_xmit->len); in l2c_fcr_get_next_xmit_sdu_seg()
1497 p_ccb->local_cid, p_xmit->len); in l2c_fcr_get_next_xmit_sdu_seg()
1500 p_xmit->len -= L2CAP_FCS_LEN; in l2c_fcr_get_next_xmit_sdu_seg()
1503 fixed_queue_enqueue(p_ccb->fcrb.waiting_for_ack_q, p_xmit); in l2c_fcr_get_next_xmit_sdu_seg()
1509 p_wack->layer_specific = p_xmit->layer_specific; in l2c_fcr_get_next_xmit_sdu_seg()
1515 return (p_xmit); in l2c_fcr_get_next_xmit_sdu_seg()
1534 BT_HDR* p_xmit = in l2c_lcc_get_next_xmit_sdu_seg() local
1539 p_xmit->event = p_ccb->local_cid; in l2c_lcc_get_next_xmit_sdu_seg()
1542 p_xmit->offset -= L2CAP_LCC_SDU_LENGTH; /* for writing the SDU length. */ in l2c_lcc_get_next_xmit_sdu_seg()
1543 uint8_t* p = (uint8_t*)(p_xmit + 1) + p_xmit->offset; in l2c_lcc_get_next_xmit_sdu_seg()
1545 p_xmit->len += L2CAP_LCC_SDU_LENGTH; in l2c_lcc_get_next_xmit_sdu_seg()
1552 p_xmit->layer_specific = p_buf->layer_specific; in l2c_lcc_get_next_xmit_sdu_seg()
1562 p_xmit->offset -= L2CAP_PKT_OVERHEAD; in l2c_lcc_get_next_xmit_sdu_seg()
1563 p_xmit->len += L2CAP_PKT_OVERHEAD; in l2c_lcc_get_next_xmit_sdu_seg()
1566 uint8_t* p = (uint8_t*)(p_xmit + 1) + p_xmit->offset; in l2c_lcc_get_next_xmit_sdu_seg()
1569 UINT16_TO_STREAM(p, p_xmit->len - L2CAP_PKT_OVERHEAD); in l2c_lcc_get_next_xmit_sdu_seg()
1571 return (p_xmit); in l2c_lcc_get_next_xmit_sdu_seg()