From patchwork Thu Jul 5 12:38:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sushant Kumar Mishra X-Patchwork-Id: 10508915 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E6E66028F for ; Thu, 5 Jul 2018 12:59:47 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1ED128F75 for ; Thu, 5 Jul 2018 12:59:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E67BF28F78; Thu, 5 Jul 2018 12:59:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9D34828F75 for ; Thu, 5 Jul 2018 12:59:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754036AbeGEM7p (ORCPT ); Thu, 5 Jul 2018 08:59:45 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:39577 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753988AbeGEM7o (ORCPT ); Thu, 5 Jul 2018 08:59:44 -0400 Received: by mail-pf0-f194.google.com with SMTP id s21-v6so5375097pfm.6 for ; Thu, 05 Jul 2018 05:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=dfB4AaAtgllc22EZQo6T4whGmbF+lN+hNq/k19ZJbtE=; b=nv8Coj9MFap2mPpEqnKEJvE/IPiiuy1+2Fyn7zhqUaDEZSmbGoXpwitWSSXK8TI+eA Viz29bIdAjwXyY15MxGdUwvkPXqsuLf9SyEfQU3160+/SBJTRGrqu0ZPvfnkL3cRb0Ys +0Dyw0tJw1Q+g19rXOmy4R44agw9hfSRaRcNRL8/qxxk2sWmQLQmxDBbo6JZgVPkUSZ7 no4IA2/jW/q6dXhxF1s8kDXAHSDghdx72TWAb0Sfd8jY37wiN/zu0DMAgF96666EOGlt kTzw4yg2lr7bOzpzdW0aKz3s23R0l6upwC6VozmuduT9o8qznbl6iwKhmlv9fpQyV8r+ nphA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=dfB4AaAtgllc22EZQo6T4whGmbF+lN+hNq/k19ZJbtE=; b=rez6lzae+sV90gy/9H1ew2/2GrmsDQwqoGjEsuoNfuh3+Z8zgVBHLmgmOyvUczby+q wAmXXGjCk8AdV6EJn0VUOjHblQTN5K35HrBfEjApyGqVi2696ZVNiQMtjSpopxGMYD24 opLOvAYZam5TB2KWmzPSPnxVURduxnN0363Qq6L77b1EP40xusUyX+pQrAObXJbopxoN LC1ZReuhZIO2HQGMxIgpNnRqVZavZ/CVMgaTpVkSVPkPGBBFWUanj1Eye8CsfAixbBSf KrEjHqyRQ71LfC1WXusvzz41t9kLq/QaJ8SIrtShX42AWIW8J1u8wRyc23XicXLhTvA4 grAA== X-Gm-Message-State: APt69E2zekglp3E/c0tq8cUdBlixW9WUdZ7SvblUOfnAjfy8WIVlGUsh +dVtMPHBUHOKH1tcu6EXDEk= X-Google-Smtp-Source: AAOMgpdB4fTjezPbPe1RS6Oq8+Kreq+9EtpMjsMWXygn1Vb2CDpbpSJk0S4ufG5f2VdvMCtcnsPRUw== X-Received: by 2002:a63:743:: with SMTP id 64-v6mr5696984pgh.216.1530795583800; Thu, 05 Jul 2018 05:59:43 -0700 (PDT) Received: from cpu188.localdomain ([203.196.161.90]) by smtp.gmail.com with ESMTPSA id v10-v6sm7713866pgo.72.2018.07.05.05.59.39 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Jul 2018 05:59:42 -0700 (PDT) From: Sushant Kumar Mishra To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Siva Rebbagondla , Sanjay Kumar Konduri , Sushant Kumar Mishra Subject: [PATCH 1/4] rsi: fix for low throughput issue Date: Thu, 5 Jul 2018 18:08:19 +0530 Message-Id: <1530794302-8833-2-git-send-email-sushant2k1513@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1530794302-8833-1-git-send-email-sushant2k1513@gmail.com> References: <1530794302-8833-1-git-send-email-sushant2k1513@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Siva Rebbagondla observed low throughput rates during verification. This is because, QoS enable flag is overridden by sequence number in the data descriptor frame. Hence, added the fix for same. Signed-off-by: Siva Rebbagondla Signed-off-by: Sushant Kumar Mishra --- drivers/net/wireless/rsi/rsi_91x_hal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/rsi/rsi_91x_hal.c b/drivers/net/wireless/rsi/rsi_91x_hal.c index 0761e61..533d9e9 100644 --- a/drivers/net/wireless/rsi/rsi_91x_hal.c +++ b/drivers/net/wireless/rsi/rsi_91x_hal.c @@ -246,7 +246,7 @@ int rsi_prepare_data_desc(struct rsi_common *common, struct sk_buff *skb) } } - data_desc->mac_flags = cpu_to_le16(seq_num & 0xfff); + data_desc->mac_flags |= cpu_to_le16(seq_num & 0xfff); data_desc->qid_tid = ((skb->priority & 0xf) | ((tx_params->tid & 0xf) << 4)); data_desc->sta_id = tx_params->sta_id;