[layer 1] Reset option for scheduled frames.

This is usefull to drop a scheduled RACH request after an IMM.ASS is
received.
This commit is contained in:
Andreas.Eversberg 2010-07-13 14:03:13 +00:00
parent 0719e9ac7d
commit 9a422ceb25
2 changed files with 6 additions and 0 deletions

View File

@ -195,6 +195,7 @@ struct l1ctl_pm_conf {
enum l1ctl_reset_type {
L1CTL_RES_T_BOOT, /* only _IND */
L1CTL_RES_T_FULL,
L1CTL_RES_T_SCHED,
};
/* argument to L1CTL_RESET_REQ and L1CTL_RESET_IND */

View File

@ -292,6 +292,11 @@ static void l1ctl_rx_reset_req(struct msgb *msg)
l1s_reset_hw();
l1ctl_tx_reset(L1CTL_RESET_CONF, reset_req->type);
break;
case L1CTL_RES_T_SCHED:
printf("L1CTL_RESET_REQ: SCHED!\n");
l1ctl_tx_reset(L1CTL_RESET_CONF, reset_req->type);
sched_gsmtime_reset();
break;
default:
printf("unknown L1CTL_RESET_REQ type\n");
break;