Home
last modified time | relevance | path

Searched hist:"8 aca46f9" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/bluetooth/
H A Dmgmt_util.h8aca46f9 Fri Dec 03 18:15:40 CST 2021 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: mgmt: Introduce mgmt_alloc_skb and mgmt_send_event_skb

This introduces mgmt_alloc_skb and mgmt_send_event_skb which are
convenient when building MGMT events that have variable length as the
likes of skb_put_data can be used to insert portion directly on the skb
instead of having to first build an intermediate buffer just to be
copied over the skb.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
H A Dmgmt_util.c8aca46f9 Fri Dec 03 18:15:40 CST 2021 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: mgmt: Introduce mgmt_alloc_skb and mgmt_send_event_skb

This introduces mgmt_alloc_skb and mgmt_send_event_skb which are
convenient when building MGMT events that have variable length as the
likes of skb_put_data can be used to insert portion directly on the skb
instead of having to first build an intermediate buffer just to be
copied over the skb.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
/openbmc/linux/include/net/bluetooth/
H A Dbluetooth.h8aca46f9 Fri Dec 03 18:15:40 CST 2021 Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Bluetooth: mgmt: Introduce mgmt_alloc_skb and mgmt_send_event_skb

This introduces mgmt_alloc_skb and mgmt_send_event_skb which are
convenient when building MGMT events that have variable length as the
likes of skb_put_data can be used to insert portion directly on the skb
instead of having to first build an intermediate buffer just to be
copied over the skb.

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>