mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 15:11:16 +00:00
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>
This commit is contained in:
parent
c5995bd281
commit
6d5a681dfb
2 changed files with 28 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue