Add flow specificacion command. Add port names being used among the Stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28106 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -299,6 +299,23 @@ struct hci_command_header {
|
|||||||
uint8 role;
|
uint8 role;
|
||||||
} __attribute__ ((packed));
|
} __attribute__ ((packed));
|
||||||
|
|
||||||
|
#define OCF_FLOW_SPECIFICATION
|
||||||
|
struct hci_cp_flow_specification {
|
||||||
|
uint16 handle;
|
||||||
|
uint8 flags;
|
||||||
|
uint8 flow_direction;
|
||||||
|
uint8 service_type;
|
||||||
|
uint32 token_rate;
|
||||||
|
uint32 token_bucket;
|
||||||
|
uint32 peak;
|
||||||
|
uint32 latency;
|
||||||
|
} __attribute__ ((packed));
|
||||||
|
/* Quality of service types */
|
||||||
|
#define HCI_SERVICE_TYPE_NO_TRAFFIC 0x00
|
||||||
|
#define HCI_SERVICE_TYPE_BEST_EFFORT 0x01
|
||||||
|
#define HCI_SERVICE_TYPE_GUARANTEED 0x02
|
||||||
|
/* 0x03 - 0xFF - reserved for future use */
|
||||||
|
|
||||||
#define OCF_READ_LINK_POLICY 0x000C
|
#define OCF_READ_LINK_POLICY 0x000C
|
||||||
struct hci_cp_read_link_policy {
|
struct hci_cp_read_link_policy {
|
||||||
uint16 handle;
|
uint16 handle;
|
||||||
|
|||||||
@@ -89,6 +89,8 @@ enum {
|
|||||||
|
|
||||||
/* Port drivers can use to send information (1 for all for
|
/* Port drivers can use to send information (1 for all for
|
||||||
at moment refer to ioctl GET_NOTIFICATION_PORT)*/
|
at moment refer to ioctl GET_NOTIFICATION_PORT)*/
|
||||||
#define BT_USERLAND_PORT_NAME "BT kernel-user Land"
|
#define BT_USERLAND_PORT_NAME "bluetooth kernel-user Land"
|
||||||
|
#define BLUETOOTH_CONNECTION_PORT "bluetooth connection port"
|
||||||
|
#define BLUETOOTH_CONNECTION_SCHED_PORT "bluetooth con sched port"
|
||||||
|
|
||||||
#endif // _BTHCI_TRANSPORT_H_
|
#endif // _BTHCI_TRANSPORT_H_
|
||||||
|
|||||||
Reference in New Issue
Block a user