Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2013363ybl; Thu, 19 Dec 2019 06:42:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwFaeiJ416UrJTDGx/J2IeYAdQTIR56EGd3V4wjTvxenSS+287nL+0fAA6ujYnPsivwzY4c X-Received: by 2002:a9d:7410:: with SMTP id n16mr9440805otk.23.1576766537323; Thu, 19 Dec 2019 06:42:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576766537; cv=none; d=google.com; s=arc-20160816; b=fFb4ABhP6TqWDccHbwS1yObSYJXuA1rkEZ0C8Wzdj8SRNUe9rPsG5QAmanqbUZ20ed xCuXSnHn+rGFuU3qOFD0dz0AIRlr5kywD2WHwUfxcqwVqzjdOb3JQz2nd78TyAlPHM7a hfArVf07nwy2bbfJQv+CIWArgtO/BhOFO+GSQvt4jWK2gzIg/WUQ7UpReg1LDdqCS6WC L4b7Ez6qx+HSCtpm7zT1IcmeGIBo/dU4BiKKM2YkpU7OvYEFVP+Z1YETfI76rhfgb2Ea aFTyQsl2t/1o/yqfZtK3HfAami08r7Bhudnx/87I32W7K7Bzh2HF+rrAH0ZAjUWRKWCi Ch5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature; bh=oFOf+MWDFUmc1sY/Zs1YC5RTRUuqHQJ3teYVmEjeOEk=; b=UtqyIs5lVYYDBXLhCbf1e+s8YDH5YNp8fTX3QNqajuhfDpNMM0PQkYWdBrVaX8HTHT bgxd7gZ0GMII6RLvoX/APV5vgBKuHNBT9f05GIRE0EqWhvi2uFneHA7Rppm66yeJkqzc z8niNgx+0dTZjd3En+ZoXyq941WpQbzTY7dahayQkDYS068TQoVSmLmK4+NTU3q4vmcW csoscutByBqRcdv/iPKqU4CG+WhtWX0TjqpYMBy6KNsth5emtwpc+kFonKAUjFNxKmKM mk5u9P26p2db0UUBy62X1/u+tHhjtc0G4XJwrWJiZ0OfJTHwKUbrm+2P0uJSYO3wFZpo hYwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TcAXceDg; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a136si3168406oib.252.2019.12.19.06.42.02; Thu, 19 Dec 2019 06:42:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TcAXceDg; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726846AbfLSOjd (ORCPT + 99 others); Thu, 19 Dec 2019 09:39:33 -0500 Received: from mail-ot1-f66.google.com ([209.85.210.66]:41161 "EHLO mail-ot1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726778AbfLSOjd (ORCPT ); Thu, 19 Dec 2019 09:39:33 -0500 Received: by mail-ot1-f66.google.com with SMTP id r27so7467377otc.8 for ; Thu, 19 Dec 2019 06:39:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=oFOf+MWDFUmc1sY/Zs1YC5RTRUuqHQJ3teYVmEjeOEk=; b=TcAXceDg+FJbb4u0xRlVaA0he7AjjE1+5vDSYAOP6ejWO7reVxKZrniNpKP/5/YeRs RQNdePo51hLzFoIKVChThZSGXKCV7Kas4RoO+ASQg5PRSu50grABrFel3G/OCr+cgmKJ wn1UkksgcM3Nur419xZbqTXqysZLOGnck/fhCXDfyUfh7BTpmwjmcJjZLh4tYYJzBfxB EbDSsF2ErHFAfE2W6OV0PfLxujWtknAVyAEPDmY9iwIy5cXLU0UVQR/9iJOJySDM09v8 /1B9q7Pd+Se6B9U2hKj99HBV6rfQfuLMDW/wfyOdYVH+G0xXIxIRcpNIrwDLIN346iBt qEug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=oFOf+MWDFUmc1sY/Zs1YC5RTRUuqHQJ3teYVmEjeOEk=; b=jEqe+JxkJUx6hj4bu3r2UbeFhzdiY68WgMy1x7X8KG9DYd5OD8+BSvO7p4pB7wY0MH 4QaqYe1E20vHSBpIBRgtZ0Je5G4Cfw139BpEmAbqjhzAl4O3ULpIHmx/bKP0WkiL8kc2 Ko8DN/xZh3vMOSJSTnmJIlL3l7QJ4ApqpQxXMbPK4G9f57l7frzTj80P2z6dV3KSsCT1 JzWyhVjGjIh8Ki5VqDf369LlFa11VlSJsQHdazHayEggDJnEiTK3gQMsbwFfVnLsXOAp OljccAQxOixQu2Frc6JeyTTC/5qEaN/6rCKyr8TBe1m2q0iqoyCcmkUWFOORhQGf/Km2 RDNw== X-Gm-Message-State: APjAAAVG4zQ2zdAAlSd/aA+btt0asgr7uCfycRe/+rS3DxTPL2lpVbKg FSSZEgh621KuLMIGp3CIrVbzrsztSbujU4HdSe5isD25 X-Received: by 2002:a05:6830:1116:: with SMTP id w22mr9391597otq.63.1576766372387; Thu, 19 Dec 2019 06:39:32 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a9d:362:0:0:0:0:0 with HTTP; Thu, 19 Dec 2019 06:39:31 -0800 (PST) In-Reply-To: <000eaa2a-4798-a855-93a9-c9679b8860c8@newmedia-net.de> References: <20191216092207.31032-1-john@phrozen.org> <20191217153000.76AB1C4479C@smtp.codeaurora.org> <000eaa2a-4798-a855-93a9-c9679b8860c8@newmedia-net.de> From: Tom Psyborg Date: Thu, 19 Dec 2019 15:39:31 +0100 Message-ID: Subject: Re: [RESEND] ath10k: add tx hw 802.11 encapusaltion offloading support To: Sebastian Gottschall Cc: Kalle Valo , John Crispin , ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, Vasanthakumar Thiagarajan , Johannes Berg Content-Type: text/plain; charset="UTF-8" Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org in core.c there is also needed ethernetmode check in ath10k_core_init_firmware_features ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_NATIVE_WIFI replace with if (ethernetmode) ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_ETHERNET else ar->wmi.rx_decap_mode = ATH10K_HW_TXRX_NATIVE_WIFI QSDK driver sets it like that when using eth mode