ath9k: set pulse_rssi threshold to 15
authorLorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Tue, 28 Oct 2014 11:37:16 +0000 (12:37 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 30 Oct 2014 19:24:49 +0000 (15:24 -0400)
Reduce pulse_rssi threshold to 15 in order to improve radar pattern detection
probability on ext channel

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c

index ba3d788c57d3f6ad3be401f9cebc2316e77b0880..5829074208fa8173c343c6eaee050c86c8d30c41 100644 (file)
@@ -1228,7 +1228,7 @@ static void ar5008_hw_set_radar_conf(struct ath_hw *ah)
        conf->fir_power = -33;
        conf->radar_rssi = 20;
        conf->pulse_height = 10;
-       conf->pulse_rssi = 24;
+       conf->pulse_rssi = 15;
        conf->pulse_inband = 15;
        conf->pulse_maxlen = 255;
        conf->pulse_inband_step = 12;
index 30b2f95e926ce5037e677cc58cbcf1224e1cbe7d..9bdaa0afc37f7bed18594e7cab050e1467bfb279 100644 (file)
@@ -1391,7 +1391,7 @@ static void ar9003_hw_set_radar_conf(struct ath_hw *ah)
        conf->fir_power = -28;
        conf->radar_rssi = 0;
        conf->pulse_height = 10;
-       conf->pulse_rssi = 24;
+       conf->pulse_rssi = 15;
        conf->pulse_inband = 8;
        conf->pulse_maxlen = 255;
        conf->pulse_inband_step = 12;