We have different measurement files with different RF attenuator settings and we are backtracking the process from receive power to transmit power using Friis transmission equation. One power correction we have done which is cable loss. My question is do we need to consider the RF attenuator value of the spectrum analyzer?