Home
last modified time | relevance | path

Searched refs:BT_L2CAP_SDU_HDR_SIZE (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/include/zephyr/bluetooth/
Dl2cap.h52 #define BT_L2CAP_SDU_HDR_SIZE 2 macro
62 #define BT_L2CAP_SDU_TX_MTU (BT_L2CAP_TX_MTU - BT_L2CAP_SDU_HDR_SIZE)
74 #define BT_L2CAP_SDU_RX_MTU (BT_L2CAP_RX_MTU - BT_L2CAP_SDU_HDR_SIZE)
85 #define BT_L2CAP_SDU_BUF_SIZE(mtu) BT_L2CAP_BUF_SIZE(BT_L2CAP_SDU_HDR_SIZE + (mtu))
/Zephyr-latest/tests/bsim/bluetooth/host/misc/hfc_multilink/tester/src/
Dtester.c579 __ASSERT_NO_MSG(data_len <= (mps - BT_L2CAP_SDU_HDR_SIZE)); in send_l2cap_sdu()
582 __ASSERT_NO_MSG(on_air_size >= (BT_L2CAP_SDU_HDR_SIZE + BT_L2CAP_HDR_SIZE)); in send_l2cap_sdu()
604 frag_len -= BT_L2CAP_SDU_HDR_SIZE; in send_l2cap_sdu()
606 push_l2cap_pdu_header(buf, data_len + BT_L2CAP_SDU_HDR_SIZE, 0x0040); in send_l2cap_sdu()
/Zephyr-latest/tests/bsim/bluetooth/host/l2cap/split/tester/src/
Dmain.c569 pdu_len -= BT_L2CAP_SDU_HDR_SIZE; in send_l2cap_sdu()
/Zephyr-latest/subsys/bluetooth/host/
Dl2cap.c1237 chan->rx.mps = MIN(chan->rx.mtu + BT_L2CAP_SDU_HDR_SIZE, in l2cap_chan_rx_init()
1244 (chan->rx.mps < chan->rx.mtu + BT_L2CAP_SDU_HDR_SIZE)) { in l2cap_chan_rx_init()
1246 chan->rx.mtu = chan->rx.mps - BT_L2CAP_SDU_HDR_SIZE; in l2cap_chan_rx_init()
3025 req->mps = sys_cpu_to_le16(MIN(mtu + BT_L2CAP_SDU_HDR_SIZE, in bt_l2cap_ecred_chan_reconfigure()
Datt.c3095 headroom += BT_L2CAP_SDU_HDR_SIZE; in bt_att_create_rsp_pdu()