Lines Matching full:mtu
36 /** Maximum Transmission Unit (MTU) for an outgoing L2CAP PDU. */
39 /** Maximum Transmission Unit (MTU) for an incoming L2CAP PDU. */
45 * @param mtu Needed L2CAP PDU MTU.
47 * @return Needed buffer size to match the requested L2CAP PDU MTU.
49 #define BT_L2CAP_BUF_SIZE(mtu) BT_BUF_ACL_SIZE(BT_L2CAP_HDR_SIZE + (mtu)) argument
59 * The MTU for outgoing L2CAP SDUs with segmentation is defined by the
69 * The MTU for incoming L2CAP SDUs with segmentation is defined by the
81 * @param mtu Required BT_L2CAP_*_SDU.
83 * @return Needed buffer size to match the requested L2CAP SDU MTU.
85 #define BT_L2CAP_SDU_BUF_SIZE(mtu) BT_L2CAP_BUF_SIZE(BT_L2CAP_SDU_HDR_SIZE + (mtu)) argument
87 /** @brief L2CAP ECRED minimum MTU
89 * The minimum MTU for an L2CAP Enhanced Credit Based Connection.
93 * L2CAP implementations shall support a minimum MTU size of 64
194 uint16_t mtu; member
209 * should initialize the MTU of the Receiving Endpoint. Otherwise the
210 * MTU of the receiving endpoint will be initialized to
213 * This is the source of the MTU, MPS and credit values when sending
219 /** Pending RX MTU on ECFC reconfigure, used internally by stack */
226 * The MTU and MPS is controlled by the remote by
279 uint16_t mtu; member
371 * If the application has not set a callback the L2CAP SDU MTU will be
436 * updated MTU and MPS values by inspecting chan->le endpoints.
459 * - The SDU length does not exceed MTU.
467 * setting the RX MTU and MPS. The MPS must not exceed @ref BT_L2CAP_RX_MTU.
587 * be called. MTU cannot be decreased on any of provided channels.
591 * @param mtu Channel MTU to reconfigure to.
595 int bt_l2cap_ecred_chan_reconfigure(struct bt_l2cap_chan **chans, uint16_t mtu);
600 * MTU values.
605 * This API cannot decrease the MTU of any channel, and it cannot decrease the
629 * @param mtu Desired MTU. Must be at least @ref BT_L2CAP_ECRED_MIN_MTU.
641 uint16_t mtu, uint16_t mps);
719 * @return -EMSGSIZE if `buf` is larger than `chan`'s MTU.