From e54a7ba324e5c98a46bf55d2bfe92cde9327c77c Mon Sep 17 00:00:00 2001 From: Wolfgang Puffitsch Date: Mon, 15 Jul 2019 12:22:26 +0200 Subject: [PATCH] Bluetooth: controller: hci: Add some documentation for encode_control(). No functional change. Signed-off-by: Wolfgang Puffitsch --- subsys/bluetooth/controller/hci/hci.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subsys/bluetooth/controller/hci/hci.c b/subsys/bluetooth/controller/hci/hci.c index 6ff6ceda9000..2b54ffbf7738 100644 --- a/subsys/bluetooth/controller/hci/hci.c +++ b/subsys/bluetooth/controller/hci/hci.c @@ -2985,6 +2985,14 @@ static void mesh_adv_cplt(struct pdu_data *pdu_data, } #endif /* CONFIG_BT_HCI_MESH_EXT */ +/** + * @brief Encode a control-PDU into an HCI buffer + * @details Execution context: Host thread + * + * @param node_rx_pdu[in] RX node containing header and PDU + * @param pdu_data[in] PDU. Same as node_rx_pdu->pdu, but more convenient + * @param net_buf[out] Upwards-going HCI buffer to fill + */ static void encode_control(struct node_rx_pdu *node_rx, struct pdu_data *pdu_data, struct net_buf *buf) {