A terminal device, comprising: a transmission unit configured and/or programmed to transmit a Rank Indicator, RI, for Physical Downlink Shared CHannel, PDSCH, transmission to a base station device, and transmit the RI on a Physical Uplink Shared CHannel, PUSCH; a reception unit configured and/or programmed to receive from the base station device first information used for determining a first maximum number of layers being the first maximum number assumed for determining a bit width for the RI, and receive a transport block on the PDSCH from the base station device; and a decoding unit configured and/or programmed to decode a code block of the transport block; wherein the transmission unit transmits capability information including second information and third information, the second information indicates a second maximum number of the layers supported by the terminal device in a downlink, and a first User Equipment, UE, category corresponding to a first total number of soft channel bits capable of being utilized for Hybrid Automatic Repeat reQuest, HARQ, processing in the downlink, the third information indicates a third maximum number of the layers supported by the terminal device in the downlink, and a second UE category corresponding to a second total number of soft channel bits capable of being utilized for HARQ processing in the downlink, in a case that a first transmission mode relating to the PDSCH transmission is configured, a rate matching for the code block is processed based on the first total number, in a case that a second transmission mode different from the first transmission mode is configured and the first information is configured in the terminal device, a rate matching for the code block is processed based on the first total number, and in a case that the second transmission mode is configured and the first information is not configured in the terminal device, a rate matching for the code block is processed based on the second total number. a transmission unit configured and/or programmed to transmit a Rank Indicator, RI, for Physical Downlink Shared CHannel, PDSCH, transmission to a base station device, and transmit the RI on a Physical Uplink Shared CHannel, PUSCH; transmit a Rank Indicator, RI, for Physical Downlink Shared CHannel, PDSCH, transmission to a base station device, and transmit the RI on a Physical Uplink Shared CHannel, PUSCH; a reception unit configured and/or programmed to receive from the base station device first information used for determining a first maximum number of layers being the first maximum number assumed for determining a bit width for the RI, and receive a transport block on the PDSCH from the base station device; and receive from the base station device first information used for determining a first maximum number of layers being the first maximum number assumed for determining a bit width for the RI, and receive a transport block on the PDSCH from the base station device; and a decoding unit configured and/or programmed to decode a code block of the transport block; wherein the transmission unit transmits capability information including second information and third information, the second information indicates a second maximum number of the layers supported by the terminal device in a downlink, and a first User Equipment, UE, category corresponding to a first total number of soft channel bits capable of being utilized for Hybrid Automatic Repeat reQuest, HARQ, processing in the downlink, the third information indicates a third maximum number of the layers supported by the terminal device in the downlink, and a second UE category corresponding to a second total number of soft channel bits capable of being utilized for HARQ processing in the downlink, in a case that a first transmission mode relating to the PDSCH transmission is configured, a rate matching for the code block is processed based on the first total number, in a case that a second transmission mode different from the first transmission mode is configured and the first information is configured in the terminal device, a rate matching for the code block is processed based on the first total number, and in a case that the second transmission mode is configured and the first information is not configured in the terminal device, a rate matching for the code block is processed based on the second total number.