Question: In a sidelink grant associated with an SL-PRS shared resource pool, how does the MAC entity allocate resources to logical channels if any resources remain after serving higher priority channels?
Option 1: Resources are allocated equally among all remaining logical channels regardless of their priority.
Option 2: Only the logical channel with the next highest priority is served until either its data or the SL grant is exhausted.
Option 3: All remaining logical channels selected for the SL grant are served in a strict decreasing priority order until either the data for that logical channel or the SL grant is exhausted, whichever comes first.
Option 4: Resources are allocated based on the size of the MAC SDUs available for transmission, with larger SDUs being served first.
Explanation: According to sidelink resource allocation rules, if resources remain after serving higher priority channels, the MAC entity allocates these remaining resources to all selected logical channels in a strict decreasing order of priority. This ensures efficient utilization of available resources while maintaining priority among different types of data.