13. A scheduler device for allocating time-frequency resources to data packets for transmitting said data packets via a communications network in which communications are performed over a frequency selective channel, the scheduler device comprising:a computer processor, and
a memory comprising instructions which, when executed by the computer processor, performs a process including
obtaining data packets to be transmitted, or descriptions thereof, each data packet being either a latency-constrained data packet or a non latency-constrained data packet; and
obtaining information representative of transmission conditions for each channel available to transmit at least one obtained data packet within a predefined time period;
performing an assignment of time-frequency resources within said predefined time period for transmitting data of non latency-constrained data packets, according to the obtained information representative of transmission conditions, each of said time-frequency resources comprising a time interval within said predetermined time period for a corresponding frequency, said time intervals for the respective time-frequency resources being of a same duration;
performing a revision of the assignment so that at least one time-frequency resource previously allocated to at least one respective transmission of data of the non latency-constrained data packets is re-allocated to at least one respective transmission of data of the latency-constrained data packets instead of the previously-allocated data of the non latency-constrained data packets that incurred the assignment revision, said revision being performed by minimizing a cost impact of the revision on a global performance metric related to the transmissions of said non latency-constrained data packets; and
allocating the time-frequency resources as assigned to the non latency-constrained data that did not incur the assignment revision, whereas the non latency-constrained data that incurred the assignment revision are put aside for later scheduling in a subsequent time period.