| CPC H04W 74/0833 (2013.01) [H04W 74/0808 (2013.01)] | 12 Claims |

|
1. A communication method, implemented by a terminal device, the method comprising:
performing a first random access procedure on a first bandwidth part of an active bandwidth,
wherein the first random access procedure is a first two-step random access procedure or first four-step random access procedure;
determining that a counter reaches a maximum value of a listen before talk (LBT) failure count, wherein the counter is configured to record a quantity of LBT failures;
switching the active bandwidth from the first bandwidth part to a second bandwidth part;
determining, based on a reference signal received power threshold, whether to initiate a second random access procedure on the second bandwidth part as a second two-step random access procedure or a second four-step random access procedure;
initiating the second random access procedure on the second bandwidth part;
keeping a buffer of the first random access procedure performed on the first bandwidth part,
wherein the buffer is a MsgA buffer when the first random access procedure is the first two-step random access procedure, and
wherein the buffer is a Msg3 buffer when the first random access procedure is the first four-step random access procedure;
obtaining a packet from the Msg3 buffer based on initiating the second random access procedure on the second bandwidth part as the second four-step random access procedure or obtaining a packet from the MsgA buffer based on initiating the second random access procedure on the second bandwidth part as the second two-step random access procedure; and
sending the packet without reassembling the packet.
|