Searched refs:BT_L2CAP_SDU_HDR_SIZE (Results 1 – 5 of 5) sorted by relevance
52 #define BT_L2CAP_SDU_HDR_SIZE 2 macro62 #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))
578 __ASSERT_NO_MSG(data_len <= (mps - BT_L2CAP_SDU_HDR_SIZE)); in send_l2cap_sdu()581 __ASSERT_NO_MSG(on_air_size >= (BT_L2CAP_SDU_HDR_SIZE + BT_L2CAP_HDR_SIZE)); in send_l2cap_sdu()603 frag_len -= BT_L2CAP_SDU_HDR_SIZE; in send_l2cap_sdu()605 push_l2cap_pdu_header(buf, data_len + BT_L2CAP_SDU_HDR_SIZE, 0x0040); in send_l2cap_sdu()
567 pdu_len -= BT_L2CAP_SDU_HDR_SIZE; in send_l2cap_sdu()
1232 chan->rx.mps = MIN(chan->rx.mtu + BT_L2CAP_SDU_HDR_SIZE, in l2cap_chan_rx_init()1239 (chan->rx.mps < chan->rx.mtu + BT_L2CAP_SDU_HDR_SIZE)) { in l2cap_chan_rx_init()1241 chan->rx.mtu = chan->rx.mps - BT_L2CAP_SDU_HDR_SIZE; in l2cap_chan_rx_init()3020 req->mps = sys_cpu_to_le16(MIN(mtu + BT_L2CAP_SDU_HDR_SIZE, in bt_l2cap_ecred_chan_reconfigure()
3059 headroom += BT_L2CAP_SDU_HDR_SIZE; in bt_att_create_rsp_pdu()