Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp829757ybe; Thu, 5 Sep 2019 06:36:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGBZVo4Y9thTP0J21yDaULewkSgj+LcBIYvjWcZINAjI7VFmWd9baOLovdzPIiumxNSsr/ X-Received: by 2002:aa7:81c1:: with SMTP id c1mr3758015pfn.78.1567690610645; Thu, 05 Sep 2019 06:36:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567690610; cv=none; d=google.com; s=arc-20160816; b=Y563ef+nWdltH3nObVKW7iiY7p9vm955p8uvr8nVrKIM+rAuyTwRpdVSWq0MWwg3i4 nXaRczX28hnGn0CvL5BNpJPosA0pozURtby/CR1kOXiwYeyyYEc4qE7EN3JJ3hSrQj9b /ANFzTP8EOoKQpYxVSJA7t1VKKr+lPMwCgOJt29i75ZnDdDl2z8LHz5ijjrJUgo0Swko ATxKU6/iNRD7NGJ2RF7gw0CvHI0hO9eUQoQXEcBxCOkbQgKFaWenvU2KVvUBE/RiqSXU 2bvgBjexbys3F09mlOi8Ebezu9Y45f84Rm6D7gX+/H8QcSXBysJ8/bd3WbYzoOdeUkWK 6sZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:dmarc-filter :dkim-signature:dkim-signature; bh=0HhO5ilDwt0Z3xc+CXyDuRSivXEd5fb3LNBvfiimOb4=; b=xUGoNVReI5AEFZPzNM3q8YRXKKLJcejVx1tkZP2alRl5WxJeGGGvCmmE5TIUn2G2gK OI0za+Edus1S5CorjEFMLFQtM/mSKdhtTUiAOZYXW9py86+mPs0uTXTGaZ6XrGn/U/qu W3Nyrok4B+g94aqP8LzcRmH2OfrQaqOIDSt330CzA6kggnhm1wn19kpLsoFY2EzjSYLe 0dbIoPbhh8hKgMMpfJ4FUr1knCFz8jadb2ri9KYa/FJwD0cG0PSsYji/kEvM9k/Tp8Mz /IERE/L20+5Jn5zhvRz1aQbNU8nQ7hQ2oFWtG5OQ7VGWJy2y+jyFSl1zSC9evTCJ1C1W /k9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=eko1zFEN; dkim=pass header.i=@codeaurora.org header.s=default header.b=jXJiqHaK; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s128si1920290pfb.207.2019.09.05.06.36.33; Thu, 05 Sep 2019 06:36:50 -0700 (PDT) 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=@codeaurora.org header.s=default header.b=eko1zFEN; dkim=pass header.i=@codeaurora.org header.s=default header.b=jXJiqHaK; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389364AbfIEM3q (ORCPT + 99 others); Thu, 5 Sep 2019 08:29:46 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46044 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388457AbfIEM3p (ORCPT ); Thu, 5 Sep 2019 08:29:45 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 0BAC761156; Thu, 5 Sep 2019 12:29:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567686585; bh=w28KEsOScY0eiDy8iwTbqHacHS1x80YGi2SWuFeJWgU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=eko1zFENroTN9NzY/YjIQHB/9daem2+xOnPMEmPNtpIm+eOQHkz1/ykMIGrs3u54T Yz7mKjttsOWCANtkzVJeWLnMBnRuaf0/BEGb5GbvdFJVvcKY4dreqz+JFYsdu6CgQv Lcx3J3bFFZN6TRdXSTnwJ233db69GEceTTzhlVxQ= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED,SPF_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: kvalo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 179CC601D4; Thu, 5 Sep 2019 12:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567686584; bh=w28KEsOScY0eiDy8iwTbqHacHS1x80YGi2SWuFeJWgU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=jXJiqHaKSQ7rOb9wXwPlsxaJuWeigwU7+8o0J/jQGY7LtDV+JCMsOPGg5/pR0myPc wNzNUwCb8nOjdv0eVPgz1cOLXlYgOjlxwpx24sMnT6DqnrV1GDplaVgFj2vuL694gF bKYrJNBFdSyPrUyQLE2GZESs1QMjds73xYkEUPoQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 179CC601D4 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=kvalo@codeaurora.org From: Kalle Valo To: Vasanthakumar Thiagarajan Cc: devicetree@vger.kernel.org, Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH 31/49] ath11k: add mac.c References: <1566316095-27507-1-git-send-email-kvalo@codeaurora.org> <1566316095-27507-32-git-send-email-kvalo@codeaurora.org> <4076919b34cad119eb4146025f587285ef40e37c.camel@sipsolutions.net> <878sr3nfz8.fsf@kamboji.qca.qualcomm.com> <8e90a557c1659995d117c6dc8b728d7f@codeaurora.org> Date: Thu, 05 Sep 2019 15:29:40 +0300 In-Reply-To: <8e90a557c1659995d117c6dc8b728d7f@codeaurora.org> (Vasanthakumar Thiagarajan's message of "Thu, 05 Sep 2019 17:28:53 +0530") Message-ID: <87woenkjt7.fsf@kamboji.qca.qualcomm.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Vasanthakumar Thiagarajan writes: > On 2019-09-05 16:54, Kalle Valo wrote: >> Vasanthakumar Thiagarajan writes: >> >>> On 2019-08-21 02:16, Johannes Berg wrote: >>>> On Tue, 2019-08-20 at 18:47 +0300, Kalle Valo wrote: >>>> >>>>> +static int ath11k_mac_op_config(struct ieee80211_hw *hw, u32 >>>>> changed) >>>>> +{ >>>>> + struct ath11k *ar = hw->priv; >>>>> + int ret = 0; >>>>> + >>>>> + /* mac80211 requires this op to be present and that's why >>>>> + * there's an empty function, this can be extended when >>>>> + * required. >>>>> + */ >>>> >>>> Well, oops. Maybe it shouldn't be required? >>> >>> I think we require this for some configuration handling. The comment >>> is to be updated with proper information. We'll address that. >> >> The way I'm understanding Johannes' comment is that maybe we should >> change mac80211 to require this op to be present. Should be easy to fix >> in mac80211, right? > > Ok. So make this callback optional in mac80211? should be a simple > code change. Yeah, I was supposed to write: "maybe we should change mac80211 to not require this op to be present" But of course I could have just misunderstood, let's see what Johannes says :) -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches