From patchwork Tue May 28 21:52:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pradeep Kumar Chitrapu X-Patchwork-Id: 10965859 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-2.web.codeaurora.org (Postfix) with ESMTP id 2D41992A for ; Tue, 28 May 2019 21:53:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1999328893 for ; Tue, 28 May 2019 21:53:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0DD9828897; Tue, 28 May 2019 21:53:13 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DC8E928894 for ; Tue, 28 May 2019 21:53:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=T66xBW2WAwWDtVfFow63MrkPyeLTlz+1GjKKljn0F+Y=; b=HejE4GToAMiM9LDz9H/cdGh0NO sjoXCfCTf8rJes+qfODx+IdW+DcihAl/fZcfP3FLyXKDMLydNKAjWkZbE1Q45vW4M8NRCr0Z7N67P eGyFvE5UXCOuj2wVGZyg3dYixo6KR7rtImN7ju5ycamAW1vjxWUCKEQkZoon5eg1PXDxHY4UfMsyO hwGE+14IhlThf+RVspirGaz9dQVGwNH7cwoinzmsLsJ3hHGfKvKV4UaEjeTmflHDJNWr05sAcRUam zT8JJM0rYP1K1re7h89ihjh7tDfrtcyxD6jXI19x031u8iiD0Zo9tW9UYPdV4VpSG0PVifxHysx31 jOsGno2A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVk1u-0003zT-2v; Tue, 28 May 2019 21:53:10 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVk1p-0003vg-2X for ath11k@lists.infradead.org; Tue, 28 May 2019 21:53:06 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9EBA360C72; Tue, 28 May 2019 21:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559080382; bh=AAK1eZ5oGMsHSnL+TPdlsM8DID6qRKbgeVlDAuE7uKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MomgjoouZ5IPWCNOXRsNT2Ex1q7+umxP6IPAKvXqLcwsUgK+1vxU14VB7h56gfEKI 1l0QaJ4/xUSKriRY86ukYYNWFv3aM0XCsSP+x+6uRtuvbOL4BKlFGmW8SWL4846Hjo Z5pp6zXvCUTpAabzFLqMAkY7iezU1vf0JRKwUyqY= Received: from pradeepc2-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pradeepc@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 2343160A63; Tue, 28 May 2019 21:53:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1559080382; bh=AAK1eZ5oGMsHSnL+TPdlsM8DID6qRKbgeVlDAuE7uKI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MomgjoouZ5IPWCNOXRsNT2Ex1q7+umxP6IPAKvXqLcwsUgK+1vxU14VB7h56gfEKI 1l0QaJ4/xUSKriRY86ukYYNWFv3aM0XCsSP+x+6uRtuvbOL4BKlFGmW8SWL4846Hjo Z5pp6zXvCUTpAabzFLqMAkY7iezU1vf0JRKwUyqY= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 2343160A63 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=pradeepc@codeaurora.org From: Pradeep Kumar Chitrapu To: ath11k@lists.infradead.org Subject: [PATCH 1/4] ath11k: reset qos control bit after stripping qos field in iee80211_hdr Date: Tue, 28 May 2019 14:52:53 -0700 Message-Id: <1559080376-26817-2-git-send-email-pradeepc@codeaurora.org> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1559080376-26817-1-git-send-email-pradeepc@codeaurora.org> References: <1559080376-26817-1-git-send-email-pradeepc@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190528_145305_131607_65769493 X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Pradeep Kumar Chitrapu MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP fix resetting qos control bit in frame control when qos control field is stripped from native wifi packet. Signed-off-by: Pradeep Kumar Chitrapu --- drivers/net/wireless/ath/ath11k/dp_tx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/ath/ath11k/dp_tx.c b/drivers/net/wireless/ath/ath11k/dp_tx.c index 55a19a05558f..2a15ca33d83c 100644 --- a/drivers/net/wireless/ath/ath11k/dp_tx.c +++ b/drivers/net/wireless/ath/ath11k/dp_tx.c @@ -32,6 +32,7 @@ static void ath11k_dp_encap_nwifi(struct sk_buff *skb) skb->data, (void *)qos_ctl - (void *)skb->data); skb_pull(skb, IEEE80211_QOS_CTL_LEN); + hdr = (void *)skb->data; hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); }