A method for device to device, D2D, communication by a terminal, the method comprising: receiving first information for transmission via a D2D dedicated logical channel (421, 431,441,451); receiving second information for transmission via a logical channel for a cellular network (401, 411) communication; buffering, to a first buffer, information received for transmission through any D2D-dedicated logical channel without information received through any logical channel for cellular network communication; buffering, to a second buffer, information received for transmission through any logical channel for cellular network communication without the information received for transmission through any D2D-dedicated logical channel; triggering a buffer status report, BSR; distinguishing between the information received for transmission through any D2D-dedicated logical channel against the information received for transmission through any logical channel for cellular network communication; calculating per-logical channel group buffer size information based on the information received for transmission through any D2D dedicated logical channel; calculating per-logical channel group second buffer size information based on the information received for transmission through any logical channel for cellular network communication, wherein each logical channel group is formed by grouping a plurality of logical channels with similar priorities for BSR, and the per-logical channel configuration information, which comprises logical channel group ID information per logical channel, is informed by the network; generating a first medium access control, MAC, control element, CE, for a D2D BSR of the D2D communication based on the per-logical channel group first buffer size information; and generating a second MAC CE for a BSR of the cellular network communication based on the per-logical channel group second buffer size information, characterized in that the method further comprises if a radio resource allocated by the network is not enough to transmit the first MAC CE and the second MAC CE, selecting the second MAC CE and transmitting the second MAC CE with priority. receiving first information for transmission via a D2D dedicated logical channel (421, 431,441,451); receiving second information for transmission via a logical channel for a cellular network (401, 411) communication; buffering, to a first buffer, information received for transmission through any D2D-dedicated logical channel without information received through any logical channel for cellular network communication; buffering, to a second buffer, information received for transmission through any logical channel for cellular network communication without the information received for transmission through any D2D-dedicated logical channel; triggering a buffer status report, BSR; distinguishing between the information received for transmission through any D2D-dedicated logical channel against the information received for transmission through any logical channel for cellular network communication; calculating per-logical channel group buffer size information based on the information received for transmission through any D2D dedicated logical channel; calculating per-logical channel group second buffer size information based on the information received for transmission through any logical channel for cellular network communication, wherein each logical channel group is formed by grouping a plurality of logical channels with similar priorities for BSR, and the per-logical channel configuration information, which comprises logical channel group ID information per logical channel, is informed by the network; generating a first medium access control, MAC, control element, CE, for a D2D BSR of the D2D communication based on the per-logical channel group first buffer size information; and generating a second MAC CE for a BSR of the cellular network communication based on the per-logical channel group second buffer size information, characterized in that the method further comprises if a radio resource allocated by the network is not enough to transmit the first MAC CE and the second MAC CE, selecting the second MAC CE and transmitting the second MAC CE with priority.