- Add macros to distingish between requests and responses
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
#define htole32(x) (x)
|
||||
|
||||
#define HZ 1000000 // us per second TODO: move somewhere more generic
|
||||
#define bluetooth_l2cap_ertx_timeout (60*HZ)
|
||||
#define bluetooth_l2cap_rtx_timeout (300*HZ)
|
||||
#define bluetooth_l2cap_ertx_timeout (60 * HZ)
|
||||
#define bluetooth_l2cap_rtx_timeout (300 * HZ)
|
||||
|
||||
/*
|
||||
* Channel IDs are assigned relative to the instance of L2CAP node, i.e.
|
||||
@@ -294,6 +294,10 @@ typedef struct {
|
||||
*/
|
||||
} __attribute__ ((packed)) l2cap_info_rsp_cp;
|
||||
|
||||
#define IS_SIGNAL_REQ(code) ((code & 1) == 0)
|
||||
#define IS_SIGNAL_RSP(code) ((code & 1) == 1)
|
||||
|
||||
|
||||
typedef union {
|
||||
/* L2CAP_CONNLESS_MTU */
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user