Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
a2mp.h File Reference
#include <net/bluetooth/l2cap.h>

Go to the source code of this file.

Data Structures

struct  amp_mgr
 
struct  a2mp_cmd
 
struct  a2mp_cmd_rej
 
struct  a2mp_discov_req
 
struct  a2mp_cl
 
struct  a2mp_discov_rsp
 
struct  a2mp_info_req
 
struct  a2mp_info_rsp
 
struct  a2mp_amp_assoc_req
 
struct  a2mp_amp_assoc_rsp
 
struct  a2mp_physlink_req
 
struct  a2mp_physlink_rsp
 

Macros

#define A2MP_FEAT_EXT   0x8000
 
#define A2MP_COMMAND_REJ   0x01
 
#define A2MP_DISCOVER_REQ   0x02
 
#define A2MP_DISCOVER_RSP   0x03
 
#define A2MP_CHANGE_NOTIFY   0x04
 
#define A2MP_CHANGE_RSP   0x05
 
#define A2MP_GETINFO_REQ   0x06
 
#define A2MP_GETINFO_RSP   0x07
 
#define A2MP_GETAMPASSOC_REQ   0x08
 
#define A2MP_GETAMPASSOC_RSP   0x09
 
#define A2MP_CREATEPHYSLINK_REQ   0x0A
 
#define A2MP_DISCONNPHYSLINK_REQ   0x0C
 
#define A2MP_CREATEPHYSLINK_RSP   0x0B
 
#define A2MP_DISCONNPHYSLINK_RSP   0x0D
 
#define A2MP_STATUS_SUCCESS   0x00
 
#define A2MP_STATUS_INVALID_CTRL_ID   0x01
 
#define A2MP_STATUS_UNABLE_START_LINK_CREATION   0x02
 
#define A2MP_STATUS_NO_PHYSICAL_LINK_EXISTS   0x02
 
#define A2MP_STATUS_COLLISION_OCCURED   0x03
 
#define A2MP_STATUS_DISCONN_REQ_RECVD   0x04
 
#define A2MP_STATUS_PHYS_LINK_EXISTS   0x05
 
#define A2MP_STATUS_SECURITY_VIOLATION   0x06
 

Functions

void amp_mgr_get (struct amp_mgr *mgr)
 
int amp_mgr_put (struct amp_mgr *mgr)
 
struct l2cap_chana2mp_channel_create (struct l2cap_conn *conn, struct sk_buff *skb)
 

Variables

struct a2mp_cmd __packed
 

Macro Definition Documentation

#define A2MP_CHANGE_NOTIFY   0x04

Definition at line 64 of file a2mp.h.

#define A2MP_CHANGE_RSP   0x05

Definition at line 65 of file a2mp.h.

#define A2MP_COMMAND_REJ   0x01

Definition at line 39 of file a2mp.h.

#define A2MP_CREATEPHYSLINK_REQ   0x0A

Definition at line 95 of file a2mp.h.

#define A2MP_CREATEPHYSLINK_RSP   0x0B

Definition at line 103 of file a2mp.h.

#define A2MP_DISCONNPHYSLINK_REQ   0x0C

Definition at line 96 of file a2mp.h.

#define A2MP_DISCONNPHYSLINK_RSP   0x0D

Definition at line 104 of file a2mp.h.

#define A2MP_DISCOVER_REQ   0x02

Definition at line 45 of file a2mp.h.

#define A2MP_DISCOVER_RSP   0x03

Definition at line 57 of file a2mp.h.

#define A2MP_FEAT_EXT   0x8000

Definition at line 20 of file a2mp.h.

#define A2MP_GETAMPASSOC_REQ   0x08

Definition at line 83 of file a2mp.h.

#define A2MP_GETAMPASSOC_RSP   0x09

Definition at line 88 of file a2mp.h.

#define A2MP_GETINFO_REQ   0x06

Definition at line 67 of file a2mp.h.

#define A2MP_GETINFO_RSP   0x07

Definition at line 72 of file a2mp.h.

#define A2MP_STATUS_COLLISION_OCCURED   0x03

Definition at line 116 of file a2mp.h.

#define A2MP_STATUS_DISCONN_REQ_RECVD   0x04

Definition at line 117 of file a2mp.h.

#define A2MP_STATUS_INVALID_CTRL_ID   0x01

Definition at line 113 of file a2mp.h.

#define A2MP_STATUS_NO_PHYSICAL_LINK_EXISTS   0x02

Definition at line 115 of file a2mp.h.

#define A2MP_STATUS_PHYS_LINK_EXISTS   0x05

Definition at line 118 of file a2mp.h.

#define A2MP_STATUS_SECURITY_VIOLATION   0x06

Definition at line 119 of file a2mp.h.

#define A2MP_STATUS_SUCCESS   0x00

Definition at line 112 of file a2mp.h.

#define A2MP_STATUS_UNABLE_START_LINK_CREATION   0x02

Definition at line 114 of file a2mp.h.

Function Documentation

struct l2cap_chan* a2mp_channel_create ( struct l2cap_conn conn,
struct sk_buff skb 
)
read

Definition at line 558 of file a2mp.c.

void amp_mgr_get ( struct amp_mgr mgr)

Definition at line 506 of file a2mp.c.

int amp_mgr_put ( struct amp_mgr mgr)

Definition at line 522 of file a2mp.c.

Variable Documentation