A non-transitory computer readable medium that stores a program for execution by a processor, the program including instructions to:
- detect self-loopback responses, transmission responses, and receiving responses of a to-be-calibrated antenna and a reference antenna;
- determine second transmission responses and second receiving responses of the to-be-calibrated antenna and the reference antenna according to the transmission responses, the receiving responses, and transport channel responses of the to-be-calibrated antenna and the reference antenna;
- determine a transmit channel compensation response and a receive channel compensation response of the to-be-calibrated antenna according to the second transmission responses and the second receiving responses of the to-be-calibrated antenna and the reference antenna after determining the second transmission responses and the second receiving responses;
- compensate for a transmit channel of the to-be-calibrated antenna according to the transmit channel compensation response, wherein a transmit channel response of the to-be-calibrated antenna is consistent with t transmit channel response of the reference antenna;
- and
- compensate for a receive channel of the to-be-calibrated antenna according to the receive channel compensation response, wherein a receive channel response of the to-be-calibrated antenna is consistent with a receive channel response of the reference antenna;
- wherein the self-loopback response of the to-be-calibrated antenna is a ratio of a signal sent by a transmit channel of the to-be-calibrated antenna to a signal received by a receive channel of the to-be-calibrated antenna in response to the signal sent by the transmit channel of the to-be-calibrated antenna being received by the receive channel of the to-be-calibrated antenna;
- wherein the transmission response of the to-be-calibrated antenna is a ratio of the signal sent by the transmit channel of the to-be-calibrated antenna to a signal received by a receive channel of a calibration channel in response to the signal sent by the transmit channel of the to-be-calibrated antenna being received by the receive channel of the calibration channel;
- wherein the receiving response of the to-be-calibrated antenna is a ratio of a signal sent by a transmit channel of a calibration channel to a signal received by a receive channel of the to-be-calibrated antenna in response to the signal sent by the transmit channel of the calibration channel being received by the receive channel of the to-be-calibrated antenna;
- wherein the self-loopback response of the reference antenna is a ratio of a signal sent by a transmit channel of the reference antenna to a signal received by a receive channel of the reference antenna in response to the signal sent by the transmit channel of the reference antenna being received by the receive channel of the reference antenna;
- wherein the transmission response of the reference antenna is a ratio of the signal sent by a transmit channel of the reference antenna to the signal received by a receive channel of a calibration channel in response to the signal sent by the transmit channel of the reference antenna being received by the receive channel of the calibration channel;
- and
- wherein the receiving response of the reference antenna is a ratio of the signal sent by a transmit channel of a calibration channel to the signal received by a receive channel of the reference antenna in response to the signal sent by the transmit channel of the calibration channel being received by the receive channel of the reference antenna.