From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i5qtV-0002vl-NU for ath11k@lists.infradead.org; Thu, 05 Sep 2019 12:29:47 +0000 From: Kalle Valo 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> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: Vasanthakumar Thiagarajan Cc: devicetree@vger.kernel.org, Johannes Berg , linux-wireless@vger.kernel.org, ath11k@lists.infradead.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 _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k