In free air and far field conditions, the path-loss is given by the formula PL=-27+20*Log(d*f) with d distance in meter and f frequency in MHz. This is the attenuation due to the free space. It doesn't apply in near field. At 3Ghz the wavelength is about 10 cm. You are in far field if d > 2*D^2/wavelength where D is the dimension of the antenna i.e. if D < sqrt(0.5*0.1/2) = 16 cm. Also objects near the main lobe can distort the field and change the attenuation.
However did you take into account the gain of the antennas (I mean its variation with frequency) ? In fact the received signal will be given by:
RX = TX + AntennaGain(TX) - PL + AntennaGain(RX) - ExtraAttenuation (the 30 dB) - CableLosses
if the two antennas are the same type, then rougly:
RX = TX + 2*AntennaGain(TX) - PL - ExtraAttenuation - CableLosses
So to calculate the space attenuation, that is the path loss you have to apply:
PL =TX -RX + 2*AntennaGain(TX) - PL - ExtraAttenuation - CableLosses