A device for equalising attenuation of a
signal by a radio-frequency, RF, chain, includes an input port (18;39;57), an output port (19;40;58), at least one series path interconnecting the input port (18;39;57) and the output port (19;40;58), and at least one shunt path (35;50,53;62,65) having an impedance of which the magnitude increases with frequency. At least one of the series paths and the shunt paths (35;50,53;62,65) includes at least one variable
resistor (28,32,36;47,51,54;63,66). The device includes a device (13) for adjusting the respective resistance values of the variable resistors (28,32,36;47,51,54;63,66). Each series path interconnecting the input port (18;39;57) and the output port (19;40;58;70) is a series path including all nodes (20;41,42;59,60) connecting the respective at least one shunt paths (35;50,53;62,65) to the at least one series paths.