diff options
| author | Maksim Krasnyanskiy <maxk@qualcomm.com> | 2003-02-19 05:13:41 -0800 |
|---|---|---|
| committer | Maksim Krasnyanskiy <maxk@qualcomm.com> | 2003-02-19 05:13:41 -0800 |
| commit | d5b82b8869bd3a26474ddd429b3f50679af96870 (patch) | |
| tree | 2f66a3365940264be3d07ab663468c17f9f6ca4e /include/net | |
| parent | 05b9ae6f47e650987d1937e91bb4fb51293e1640 (diff) | |
| parent | 69990bbc07b6badb56e42ea2626f90b1fac31872 (diff) | |
Merge bk://linux-bt.bkbits.net/marcel-2.5
into qualcomm.com:/usr/src/linux-2.5
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/bluetooth/hci.h | 51 | ||||
| -rw-r--r-- | include/net/bluetooth/hci_core.h | 3 |
2 files changed, 30 insertions, 24 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index 9a5718c62217..650b604d262e 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -66,27 +66,28 @@ enum { }; /* HCI ioctl defines */ -#define HCIDEVUP _IOW('H', 201, int) -#define HCIDEVDOWN _IOW('H', 202, int) -#define HCIDEVRESET _IOW('H', 203, int) -#define HCIDEVRESTAT _IOW('H', 204, int) - -#define HCIGETDEVLIST _IOR('H', 210, int) -#define HCIGETDEVINFO _IOR('H', 211, int) -#define HCIGETCONNLIST _IOR('H', 212, int) -#define HCIGETCONNINFO _IOR('H', 213, int) - -#define HCISETRAW _IOW('H', 220, int) -#define HCISETSCAN _IOW('H', 221, int) -#define HCISETAUTH _IOW('H', 222, int) -#define HCISETENCRYPT _IOW('H', 223, int) -#define HCISETPTYPE _IOW('H', 224, int) -#define HCISETLINKPOL _IOW('H', 225, int) -#define HCISETLINKMODE _IOW('H', 226, int) -#define HCISETACLMTU _IOW('H', 227, int) -#define HCISETSCOMTU _IOW('H', 228, int) - -#define HCIINQUIRY _IOR('H', 240, int) +#define HCIDEVUP _IOW('H', 201, int) +#define HCIDEVDOWN _IOW('H', 202, int) +#define HCIDEVRESET _IOW('H', 203, int) +#define HCIDEVRESTAT _IOW('H', 204, int) + +#define HCIGETDEVLIST _IOR('H', 210, int) +#define HCIGETDEVINFO _IOR('H', 211, int) +#define HCIGETCONNLIST _IOR('H', 212, int) +#define HCIGETCONNINFO _IOR('H', 213, int) + +#define HCISETRAW _IOW('H', 220, int) +#define HCISETSCAN _IOW('H', 221, int) +#define HCISETAUTH _IOW('H', 222, int) +#define HCISETENCRYPT _IOW('H', 223, int) +#define HCISETPTYPE _IOW('H', 224, int) +#define HCISETLINKPOL _IOW('H', 225, int) +#define HCISETLINKMODE _IOW('H', 226, int) +#define HCISETACLMTU _IOW('H', 227, int) +#define HCISETSCOMTU _IOW('H', 228, int) +#define HCISETRAWVND _IOW('H', 229, int) + +#define HCIINQUIRY _IOR('H', 240, int) /* HCI timeouts */ #define HCI_CONN_TIMEOUT (HZ * 40) @@ -384,7 +385,13 @@ struct hci_rp_write_link_policy { } __attribute__ ((packed)); /* Status params */ -#define OGF_STATUS_PARAM 0x05 +#define OGF_STATUS_PARAM 0x05 + +/* Testing commands */ +#define OGF_TESTING_CMD 0x3E + +/* Vendor specific commands */ +#define OGF_VENDOR_CMD 0x3F /* ---- HCI Events ---- */ #define HCI_EV_INQUIRY_COMPLETE 0x01 diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index d83017cc3ebb..044df634d3bd 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -472,7 +472,6 @@ int hci_unregister_notifier(struct notifier_block *nb); int hci_send_cmd(struct hci_dev *hdev, __u16 ogf, __u16 ocf, __u32 plen, void *param); int hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags); int hci_send_sco(struct hci_conn *conn, struct sk_buff *skb); -int hci_send_raw(struct sk_buff *skb); void *hci_sent_cmd_data(struct hci_dev *hdev, __u16 ogf, __u16 ocf); @@ -490,7 +489,7 @@ struct hci_pinfo { }; /* HCI security filter */ -#define HCI_SFLT_MAX_OGF 4 +#define HCI_SFLT_MAX_OGF 5 struct hci_sec_filter { unsigned long type_mask; |
