aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorStefano Panella <stefano.panella@csr.com>2008-11-04 09:24:57 -0500
committerDavid Vrabel <david.vrabel@csr.com>2008-11-04 10:54:30 -0500
commit6d5a681dfb583b2f1eefe7cd5505419ca2d4d6c8 (patch)
tree9fd40c92608017b08521d1a9b503f96ad3fa0550 /include/linux
parentc5995bd2819dc577d0b32b26be0836d16c977e24 (diff)
uwb: add commands to add/remove IEs to the debug interface
Add the commands UWB_DBG_CMD_IE_ADD and UWB_DBG_CMD_IE_RM to the debug interface and make them call uwb_rc_ie_add() and uwb_rc_ie_rm(). Signed-off-by: Stefano Panella <stefano.panella@csr.com> Signed-off-by: David Vrabel <david.vrabel@csr.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/uwb/debug-cmd.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/uwb/debug-cmd.h b/include/linux/uwb/debug-cmd.h
index 1141f41bab5c..6a16566f0221 100644
--- a/include/linux/uwb/debug-cmd.h
+++ b/include/linux/uwb/debug-cmd.h
@@ -32,6 +32,8 @@
32enum uwb_dbg_cmd_type { 32enum uwb_dbg_cmd_type {
33 UWB_DBG_CMD_RSV_ESTABLISH = 1, 33 UWB_DBG_CMD_RSV_ESTABLISH = 1,
34 UWB_DBG_CMD_RSV_TERMINATE = 2, 34 UWB_DBG_CMD_RSV_TERMINATE = 2,
35 UWB_DBG_CMD_IE_ADD = 3,
36 UWB_DBG_CMD_IE_RM = 4,
35}; 37};
36 38
37struct uwb_dbg_cmd_rsv_establish { 39struct uwb_dbg_cmd_rsv_establish {
@@ -46,11 +48,18 @@ struct uwb_dbg_cmd_rsv_terminate {
46 int index; 48 int index;
47}; 49};
48 50
51struct uwb_dbg_cmd_ie {
52 __u8 data[128];
53 int len;
54};
55
49struct uwb_dbg_cmd { 56struct uwb_dbg_cmd {
50 __u32 type; 57 __u32 type;
51 union { 58 union {
52 struct uwb_dbg_cmd_rsv_establish rsv_establish; 59 struct uwb_dbg_cmd_rsv_establish rsv_establish;
53 struct uwb_dbg_cmd_rsv_terminate rsv_terminate; 60 struct uwb_dbg_cmd_rsv_terminate rsv_terminate;
61 struct uwb_dbg_cmd_ie ie_add;
62 struct uwb_dbg_cmd_ie ie_rm;
54 }; 63 };
55}; 64};
56 65