mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-29 18:19:11 +00:00
change the rssi_half_db_offset back to original
to get the correct rssi report.
This commit is contained in:
parent
6c09c64871
commit
09316927a9
@ -984,7 +984,7 @@ static int openwifi_start(struct ieee80211_hw *dev)
|
||||
xpu_api->hw_init(priv->xpu_cfg);
|
||||
|
||||
agc_gain_delay = 50; //samples
|
||||
rssi_half_db_offset = 134; // to be consistent
|
||||
rssi_half_db_offset = 150; // to be consistent
|
||||
xpu_api->XPU_REG_RSSI_DB_CFG_write(0x80000000|((rssi_half_db_offset<<16)|agc_gain_delay) );
|
||||
xpu_api->XPU_REG_RSSI_DB_CFG_write((~0x80000000)&((rssi_half_db_offset<<16)|agc_gain_delay) );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user