主权项 |
1. A computer-implemented method of tuning at least one of a receiver and a transmitter of a client device, the method comprising:
at least one of (i) receiving a first pilot signal from a base station via the receiver of the client device, and (ii) transmitting a second pilot signal from the client device to the base station via the transmitter of the client device; at least one of:
(i) determining, via one of a physical layer device (PHY) and a medium access controller (MAC) of the client device, first time differences and first signal quality values for N samples of N respective packets in the first pilot signal, where N is an integer greater than 1; and(ii) receiving second time differences and second signal quality values from the base station via the receiver of the client device, wherein the second time differences and second signal quality values are generated for M samples of M respective packets in the second pilot signal at the base station, where M is an integer greater than 1; comparing each of the first time differences or the second time differences to a preselected amount of time in one of the PHY and the MAC; for each of the first time differences or the second time differences that is less than or equal to the preselected amount of time, generating a complex number based on (i) the corresponding first time difference or second time difference, and (ii) one of the first signal quality values and second signal quality values; weighting the complex numbers with respective ones of the first signal quality values or second signal quality values; determining, via one of the PHY and the MAC, an offset value based on the weighted complex numbers; and adjusting, via the PHY and based on the offset value, at least one of:
(i) an activation time or a deactivation time of the receiver of the client device; and(ii) a transmission time, an activation time, or a deactivation time of the transmitter of the client device. |