I am trying to use the HackRF One to simulate GPS to test devices in a production environment. I am currently able to get the GPS signal on my GPS receiver that I am testing, but the signal is much stronger than the devices would see in the real world. I want the GPS signal to be more representative of the outside environment to ensure that the devices I am manufacturing actually work in the field, so i am trying to decrease the GPS signal.
I know that GPS signal outside is low This document says that "the received power is -125 dBm". The HackRF One User document says that the maximum output power for 1575.42 MHz is between 0 dbm to 10dbm. The antenna I have attached to the HackRF One has a gain of -3.34 db. So if I assume that the HackRF One is 2.5 dbm at 1575.42 MHz then I need a ~-125 db attenuator. -125dbm + 2.5dbm -3.34 db =attenuator = ~125 db. Is this math correct to assume that I need a -125 db attenuator? Am I missing something?
P.S. I am using the HackRF One in a RF chamber to do this testing to not interfere with other devices.
edit: changed "reprehensive" to representative