~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/net/bluetooth/mgmt.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
#define MGMT_SETTING_BREDR              0x00000080
94
94
#define MGMT_SETTING_HS                 0x00000100
95
95
#define MGMT_SETTING_LE                 0x00000200
 
96
#define MGMT_SETTING_ADVERTISING        0x00000400
96
97
 
97
98
#define MGMT_OP_READ_INFO               0x0004
98
99
#define MGMT_READ_INFO_SIZE             0
351
352
} __packed;
352
353
#define MGMT_SET_DEVICE_ID_SIZE         8
353
354
 
 
355
#define MGMT_OP_SET_ADVERTISING         0x0029
 
356
 
 
357
#define MGMT_OP_SET_BREDR               0x002A
 
358
 
 
359
#define MGMT_OP_SET_STATIC_ADDRESS      0x002B
 
360
struct mgmt_cp_set_static_address {
 
361
        bdaddr_t bdaddr;
 
362
} __packed;
 
363
#define MGMT_SET_STATIC_ADDRESS_SIZE    6
 
364
 
 
365
#define MGMT_OP_SET_SCAN_PARAMS         0x002C
 
366
struct mgmt_cp_set_scan_params {
 
367
        __le16  interval;
 
368
        __le16  window;
 
369
} __packed;
 
370
#define MGMT_SET_SCAN_PARAMS_SIZE       4
 
371
 
354
372
#define MGMT_EV_CMD_COMPLETE            0x0001
355
373
struct mgmt_ev_cmd_complete {
356
374
        __le16  opcode;