Section: 5.9 MAC Reset
Content: If a reset of the MAC entity is requested by upper layers, the MAC entity shall: - initialize Bj for each logical channel to zero; - except for pur-TimeAlignmentTimer, if configured, stop (if running) all timers; - except for pur-TimeAlignmentTimer, if configured, consider all timeAlignmentTimers as expired and perform the corresponding actions in clause 5.2; - set the NDIs for all uplink HARQ processes to the value 0; - stop, if any, ongoing RACH procedure; - discard explicitly signalled ra-PreambleIndex and ra-PRACH-MaskIndex, if any; - flush Msg3 buffer; - cancel, if any, triggered Scheduling Request procedure; - cancel, if any, triggered Buffer Status Reporting procedure; - cancel, if any, triggered Power Headroom Reporting procedure; - cancel, if any, triggered Recommended bit rate query procedure; - cancel, if any, triggered Timing Advance Reporting procedure; - flush the soft buffers for all DL HARQ processes; - for each DL HARQ process, consider the next received transmission for a TB as the very first transmission; - release, if any, Temporary C-RNTI; - clear, if any, Differential Koffset. If a partial reset of the MAC entity is requested by upper layers, for a serving cell, the MAC entity shall for the serving cell: - set the NDIs for all uplink HARQ processes to the value 0; - flush all UL HARQ buffers; - stop all running drx-ULRetransmissionTimers; - stop all running UL HARQ RTT timers; - stop, if any, ongoing RACH procedure; - discard explicitly signalled ra-PreambleIndex and ra-PRACH-MaskIndex, if any; - flush Msg3 buffer; - release, if any, Temporary C-RNTI.