-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bluetooth: A2MP: AMP Manager basic functions
Define AMP Manager and some basic functions. Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com> Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
- Loading branch information
Andrei Emeltchenko
authored and
Johan Hedberg
committed
Jun 5, 2012
1 parent
466f800
commit 9740e49
Showing
4 changed files
with
89 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
Copyright (c) 2010,2011 Code Aurora Forum. All rights reserved. | ||
Copyright (c) 2011,2012 Intel Corp. | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License version 2 and | ||
only version 2 as published by the Free Software Foundation. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
*/ | ||
|
||
#ifndef __A2MP_H | ||
#define __A2MP_H | ||
|
||
struct amp_mgr { | ||
struct l2cap_conn *l2cap_conn; | ||
struct l2cap_chan *a2mp_chan; | ||
struct kref kref; | ||
__u8 ident; | ||
__u8 handle; | ||
unsigned long flags; | ||
}; | ||
|
||
void amp_mgr_get(struct amp_mgr *mgr); | ||
int amp_mgr_put(struct amp_mgr *mgr); | ||
|
||
#endif /* __A2MP_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters