lib: Add BT_PKT_STATUS
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 19 Oct 2020 20:03:00 +0000 (13:03 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
BT_PKT_STATUS has been introduced to the kernel but userspace has not
been updated to reflect that.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
lib/bluetooth.h

index 246ebd7..7001c5e 100755 (executable)
@@ -146,6 +146,10 @@ struct le_conn_param {
 #define BT_MODE_LE_FLOWCTL     0x03
 #define BT_MODE_EXT_FLOWCTL    0x04
 
+#define BT_PKT_STATUS          16
+
+#define BT_SCM_PKT_STATUS      0x03
+
 /* Connection and socket states */
 enum {
        BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */