open-sdr / openwifi

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: driver, software

Repository from Github https://github.comopen-sdr/openwifiRepository from Github https://github.comopen-sdr/openwifi

rssi correction

wangdan25 opened this issue · comments

Hi xianjun,
I'm confused about how the RSSI value is obtained, and why is the rssi_half_db_offset 150? If I want to use the 1G band, how should I determine these values?

if (freq_MHz<2412) {
rssi_correction = 153;
} else if (freq_MHz<=2484) {
rssi_correction = 153;
} else if (freq_MHz<5160) {
rssi_correction = 153;
} else if (freq_MHz<=5240) {
rssi_correction = 145;
} else if (freq_MHz<=5320) {
rssi_correction = 145;
} else {
rssi_correction = 145;
}

Hello, sorry to bother you. May I ask you some questions regarding IQ capture in OpenWiFi? Here is my contact information: c2385405729.

Hi xianjun, I'm confused about how the RSSI value is obtained, and why is the rssi_half_db_offset 150? If I want to use the 1G band, how should I determine these values?

if (freq_MHz<2412) {
rssi_correction = 153;
} else if (freq_MHz<=2484) {
rssi_correction = 153;
} else if (freq_MHz<5160) {
rssi_correction = 153;
} else if (freq_MHz<=5240) {
rssi_correction = 145;
} else if (freq_MHz<=5320) {
rssi_correction = 145;
} else {
rssi_correction = 145;
}

This is kind of "manual calibration" values.
If the RSSI in your new band is not accurate, you need to add the new calibration/correction value into that piece of code.