diff options
author | Stefano Panella <stefano.panella@csr.com> | 2008-11-04 14:24:57 +0000 |
---|---|---|
committer | David Vrabel <david.vrabel@csr.com> | 2008-11-04 15:54:30 +0000 |
commit | 6d5a681dfb583b2f1eefe7cd5505419ca2d4d6c8 (patch) | |
tree | 9fd40c92608017b08521d1a9b503f96ad3fa0550 /include/linux/uwb | |
parent | c5995bd2819dc577d0b32b26be0836d16c977e24 (diff) | |
download | linux-stable-6d5a681dfb583b2f1eefe7cd5505419ca2d4d6c8.tar.gz linux-stable-6d5a681dfb583b2f1eefe7cd5505419ca2d4d6c8.tar.bz2 linux-stable-6d5a681dfb583b2f1eefe7cd5505419ca2d4d6c8.zip |
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/uwb')
-rw-r--r-- | include/linux/uwb/debug-cmd.h | 9 |
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 @@ enum uwb_dbg_cmd_type { UWB_DBG_CMD_RSV_ESTABLISH = 1, UWB_DBG_CMD_RSV_TERMINATE = 2, + UWB_DBG_CMD_IE_ADD = 3, + UWB_DBG_CMD_IE_RM = 4, }; struct uwb_dbg_cmd_rsv_establish { @@ -46,11 +48,18 @@ struct uwb_dbg_cmd_rsv_terminate { int index; }; +struct uwb_dbg_cmd_ie { + __u8 data[128]; + int len; +}; + struct uwb_dbg_cmd { __u32 type; union { struct uwb_dbg_cmd_rsv_establish rsv_establish; struct uwb_dbg_cmd_rsv_terminate rsv_terminate; + struct uwb_dbg_cmd_ie ie_add; + struct uwb_dbg_cmd_ie ie_rm; }; }; |