Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit acab6400 authored by Vivek Natarajan's avatar Vivek Natarajan Committed by Kalle Valo
Browse files

ath10k: do not limit RTS threshold value to 2347



Increase the rts threshold from the legacy value of 2347 to support higher
threshold limit.

Signed-off-by: default avatarVivek Natarajan <nataraja@qti.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent cfd1061e
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -427,10 +427,6 @@ static int ath10k_mac_set_rts(struct ath10k_vif *arvif, u32 value)
	struct ath10k *ar = arvif->ar;
	u32 vdev_param;

	if (value != 0xFFFFFFFF)
		value = min_t(u32, arvif->ar->hw->wiphy->rts_threshold,
			      ATH10K_RTS_MAX);

	vdev_param = ar->wmi.vdev_param->rts_threshold;
	return ath10k_wmi_vdev_set_param(ar, arvif->vdev_id, vdev_param, value);
}
+0 −1
Original line number Diff line number Diff line
@@ -4552,7 +4552,6 @@ struct wmi_dbglog_cfg_cmd {
	__le32 config_valid;
} __packed;

#define ATH10K_RTS_MAX		2347
#define ATH10K_FRAGMT_THRESHOLD_MIN	540
#define ATH10K_FRAGMT_THRESHOLD_MAX	2346