mirror of
https://github.com/open-sdr/openwifi.git
synced 2024-12-23 15:32:41 +00:00
use a better cca rssi threshold in sdr.c
This commit is contained in:
parent
9634f24ef2
commit
aa239344c1
@ -149,8 +149,8 @@ static void ad9361_rf_set_channel(struct ieee80211_hw *dev,
|
||||
priv->rssi_correction = 148;
|
||||
}
|
||||
|
||||
// xpu_api->XPU_REG_LBT_TH_write((priv->rssi_correction-62)<<1);
|
||||
xpu_api->XPU_REG_LBT_TH_write((priv->rssi_correction-68)<<1); // make the threshold lower to avoid ping pang around the signal tail after some rx packet
|
||||
// xpu_api->XPU_REG_LBT_TH_write((priv->rssi_correction-62)<<1); // -62dBm
|
||||
xpu_api->XPU_REG_LBT_TH_write((priv->rssi_correction-62-16)<<1); // wei's magic value is 135, here is 134 @ ch 44
|
||||
|
||||
if (actual_rx_lo < 2500) {
|
||||
//priv->slot_time = 20; //20 is default slot time in ERP(OFDM)/11g 2.4G; short one is 9.
|
||||
|
Loading…
Reference in New Issue
Block a user