Return-path: Received: from mail2.candelatech.com ([208.74.158.173]:42732 "EHLO mail2.candelatech.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753995AbcGVNci (ORCPT ); Fri, 22 Jul 2016 09:32:38 -0400 Message-ID: <57922074.5060009@candelatech.com> (sfid-20160722_153241_287477_175301E4) Date: Fri, 22 Jul 2016 06:32:36 -0700 From: Ben Greear MIME-Version: 1.0 To: Krishna Chaitanya , "Manoharan, Rajkumar" CC: linux-wireless , ath10k Subject: Re: ath10k + iw set bitrates is causing FW crash References: <1467972560885.99812@qti.qualcomm.com> <1467982766213.21223@qti.qualcomm.com> <1469188781289.75799@qti.qualcomm.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: 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. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com