A method for employing timestamps received by a media access controller
(MAC) of a cable modem from a cable modem termination system (CMTS) to
schedule upstream transmissions of the cable modem. A plurality of
adjustment values, at least one of which is calculated using a
least-square estimation algorithm, are used to adjust a local clock
counter of the cable modem MAC. The local clock counter of the MAC is
adjusted by one count for every number of cycles equal to a first
adjustment value. The local clock counter of the MAC is further adjusted
by a number of counts equal to a second adjustment value each time a
corrected timestamp is calculated.