Patent attributes
There is provided mechanisms for PIM removal in an antenna system. A method is performed by a controller of the antenna codebook based beamforming, which transmission radio chains of the antenna system that cause a signal received by receiver radio chains of the antenna system to be impacted by PIM. These transmission radio chains are identified based on which codeword in the codebook is used for the beamforming. The method comprises determining a correction signal by subjecting the signals only as transmitted by the identified transmission radio chains to a model of the PIM. The method comprises removing PIM from the signal received by the receiver radio chains by subtracting the correction signal from the signal received by the receiver radio chains.