diff options
author | Harald Welte <laforge@gnumonks.org> | 2010-06-20 18:21:01 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2010-06-20 18:44:27 +0200 |
commit | cdc91973ee004c5de90739bfb53f439f568f59d7 (patch) | |
tree | 96c0145b6aba06ca0f83dc849ee718d28e1947e5 /include/l1a_l23_interface.h | |
parent | 67ad275e647a48bdafc73113e3a9228b18fc257d (diff) |
[L1CTL] rename L1CTL_RESET to L1CTL_RESET_IND
and define a new structure that indicates the type of reset
Diffstat (limited to 'include/l1a_l23_interface.h')
-rw-r--r-- | include/l1a_l23_interface.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/include/l1a_l23_interface.h b/include/l1a_l23_interface.h index 12eaf7ab..5651d7b1 100644 --- a/include/l1a_l23_interface.h +++ b/include/l1a_l23_interface.h @@ -30,12 +30,13 @@ #define L1CTL_RACH_REQ 4 #define L1CTL_DM_EST_REQ 5 #define L1CTL_DATA_REQ 7 -#define L1CTL_RESET 8 +#define L1CTL_RESET_IND 8 #define L1CTL_PM_REQ 9 /* power measurement */ #define L1CTL_PM_RESP 10 /* power measurement */ #define L1CTL_ECHO_REQ 11 #define L1CTL_ECHO_RESP 12 #define L1CTL_RACH_RESP 13 +#define L1CTL_RESET_REQ 14 /* * NOTE: struct size. We do add manual padding out of the believe @@ -166,4 +167,15 @@ struct l1ctl_pm_resp { uint8_t pm[2]; } __attribute__((packed)); +enum l1ctl_reset_type { + L1CTL_RES_T_BOOT, /* only _IND */ + L1CTL_RES_T_FULL, +}; + +/* argument to L1CTL_RESET_REQ and L1CTL_RESET_IND */ +struct l1ctl_reset { + uint8_t type; + uint8_t pad[3]; +} __attribute__((packed)); + #endif |