Return-path: Received: from mail-yw0-f179.google.com ([209.85.161.179]:34660 "EHLO mail-yw0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058AbcGVOsf (ORCPT ); Fri, 22 Jul 2016 10:48:35 -0400 Received: by mail-yw0-f179.google.com with SMTP id z8so83436516ywa.1 for ; Fri, 22 Jul 2016 07:48:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <57922074.5060009@candelatech.com> References: <1467972560885.99812@qti.qualcomm.com> <1467982766213.21223@qti.qualcomm.com> <1469188781289.75799@qti.qualcomm.com> <57922074.5060009@candelatech.com> From: Krishna Chaitanya Date: Fri, 22 Jul 2016 20:18:14 +0530 Message-ID: (sfid-20160722_164838_782156_7F935385) Subject: Re: ath10k + iw set bitrates is causing FW crash To: Ben Greear Cc: "Manoharan, Rajkumar" , linux-wireless , ath10k Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Fri, Jul 22, 2016 at 7:02 PM, Ben Greear wrote: > > > On 07/22/2016 05:21 AM, Krishna Chaitanya wrote: >> >> On Fri, Jul 22, 2016 at 5:29 PM, Manoharan, Rajkumar >> wrote: >>> >>> [...] >>>>>> >>>>>> Thanks Raj, with this fix the rates are 0-7, if i disable then i am >>>>>> seeing 0-9, so its >>>>>> working. >>>>>> >>>>>> But i am seeing a weird issues, the moment i give bitrates command, >>>>>> ath10k no longer does encryption, link is a WPA2-PSK: AES. Even after >>>>>> interface up/down >>>>>> it doesn't work. >>>>> >>>>> After reboot i dont see the "unencrypted" packet issue, i will do >>>>> some more testing on limiting the rates, currently in my setup its >>>>> not reaching MCS9 so cannot verify now. >>>> >>>> Rajkumar, >>>> >>>> I am still not able to make mcs9 work, so i have tried to change the Nss >>>> to 1 >>>> using iw, but that is not taking affect. This command is not taking >>>> effect. >>>> >>> you mean not able to fix VHT rates alone. am i right? By auto rate mode, >>> is firmware selecting >>> mcs9? What is the command used for fixing vht rate? >> >> Basically my requirement is to disable MCS8 and 9 for comparison. >> to check whether ath10k honors the iw command, i used below >> command. changing to 1SS, but i could see that it still transmits >> using 2SS. Does your patch ignore these settings except for >> adhoc mode? >> >> iw set bitrates vht-mcs-5 1:0-7 > > > You can set the number of spatial streams on the phy device. Search around > for a 'chainmask' configurable. > > In general, stock ath10k firmware does not have full support for setting > arbitrary bitrates options. Yes, i know that option but havent tried that. My intention was to limit to MCS7 so in order to verify that commands i tried to change nss.