open-sdr / openwifi-hw

open-source IEEE 802.11 WiFi baseband FPGA (chip) design: FPGA, hardware
GNU Affero General Public License v3.0
675 stars 233 forks source link

rssi issue #84

Closed guessaname closed 1 year ago

guessaname commented 1 year ago

Dear Xianjun,

I have a question about rssi calculation in module xpu. The average of IQ absolute value is used instead of IQ energy which usually denoted as the square of IQ. Is there any special assumption on this?

Thanks, Lei

JiaoXianjun commented 1 year ago

Just to save some FPGA resources. The result is still correct, because we use a lookup table to guarantee this.

guessaname commented 1 year ago

Thanks for your reply. I will do more research on it.