summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSudha Bheemanna <b.sudha@samsung.com>2016-09-07 15:22:08 +0530
committerJaehoon Chung <jh80.chung@samsung.com>2023-07-25 08:25:10 +0900
commitb0f7bebfed073124c1a9a6938268703d965de379 (patch)
treeccaef7db1dba4aaa7987ea67d61c084c717ad920 /include
parentc88daea6ae3d3555d76bf77fc2cf8e18573da174 (diff)
downloadlinux-starfive-b0f7bebfed073124c1a9a6938268703d965de379.tar.gz
linux-starfive-b0f7bebfed073124c1a9a6938268703d965de379.tar.bz2
linux-starfive-b0f7bebfed073124c1a9a6938268703d965de379.zip
Bluetooth: Get Advertising TX power
This patch adds MGMT command to read the advertising TX power. Change-Id: Ide9e5d332f034928d2eae2cbd68a025a0d42be1b Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com> Signed-off-by: Amit Purwar <amit.purwar@samsung.com> Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Diffstat (limited to 'include')
-rw-r--r--include/net/bluetooth/mgmt_tizen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt_tizen.h b/include/net/bluetooth/mgmt_tizen.h
index 4eaa867bb126..982c00d35c9b 100644
--- a/include/net/bluetooth/mgmt_tizen.h
+++ b/include/net/bluetooth/mgmt_tizen.h
@@ -161,6 +161,12 @@ struct mgmt_cp_set_voice_setting {
} __packed;
#define MGMT_SET_VOICE_SETTING_SIZE 9
+#define MGMT_OP_GET_ADV_TX_POWER (TIZEN_OP_CODE_BASE + 0x11)
+#define MGMT_GET_ADV_TX_POWER_SIZE 0
+struct mgmt_rp_get_adv_tx_power {
+ __s8 adv_tx_power;
+} __packed;
+
/* EVENTS */
/* For device name update changes */