diff options
author | Andrei Emeltchenko <andrei.emeltchenko@intel.com> | 2012-05-29 10:59:03 (GMT) |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2012-06-05 03:34:12 (GMT) |
commit | f6d3c6e783b0e9f75b18232f8ff8cd5dbc3f7301 (patch) | |
tree | 868a752db0c703cdb9152ada0c2e3e6f276d7545 /include/net/bluetooth | |
parent | 9740e49d17e55f3832661fd99a8e0a17e921a82e (diff) | |
download | linux-fsl-qoriq-f6d3c6e783b0e9f75b18232f8ff8cd5dbc3f7301.tar.xz |
Bluetooth: A2MP: Build and Send msg helpers
Helper function to build and send A2MP messages.
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/a2mp.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/bluetooth/a2mp.h b/include/net/bluetooth/a2mp.h index ff47540..654df60 100644 --- a/include/net/bluetooth/a2mp.h +++ b/include/net/bluetooth/a2mp.h @@ -24,6 +24,13 @@ struct amp_mgr { unsigned long flags; }; +struct a2mp_cmd { + __u8 code; + __u8 ident; + __le16 len; + __u8 data[0]; +} __packed; + void amp_mgr_get(struct amp_mgr *mgr); int amp_mgr_put(struct amp_mgr *mgr); |