From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from wolverine02.qualcomm.com ([199.106.114.251]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bLSjH-0002pm-HZ for ath10k@lists.infradead.org; Fri, 08 Jul 2016 10:09:51 +0000 From: "Manoharan, Rajkumar" Subject: Re: ath10k + iw set bitrates is causing FW crash Date: Fri, 8 Jul 2016 10:09:21 +0000 Message-ID: <1467972560885.99812@qti.qualcomm.com> References: , In-Reply-To: Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Krishna Chaitanya , linux-wireless , ath10k >> I am using ath10k driver with qca988x hw2.0 and trying to limit it to use >> VHT MCS0-7 (iw set bitrates vht-mcs-5 2:0-7). >> >> But the command it causing a FW crash, if it disable HW_HAS_RATE_CONTROL >> no crash is observed but it still uses MCS9. >> >> tree: wireless-drivers-next: commit#535633a5ba4ea2504fa6c33176633becf0e59339 >> >> 1) If i disable HW_RATE_CONTROL, will ath10k honor >> the mac80211 rates? >> > Thanks for reporting the issue. Could you please try with below change? diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c index 5e1cc8f4c43c..cfa7e01a6103 100644 --- a/drivers/net/wireless/ath/ath10k/mac.c +++ b/drivers/net/wireless/ath/ath10k/mac.c @@ -2812,6 +2812,9 @@ static int ath10k_station_assoc(struct ath10k *ar, return ret; } + if (vif->type != NL80211_IFTYPE_ADHOC) + peer_arg.peer_reassoc = reassoc; + ret = ath10k_wmi_peer_assoc(ar, &peer_arg); if (ret) { ath10k_warn(ar, "failed to run peer assoc for STA %pM vdev %i: %d\n", _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k