Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp813215ybe; Thu, 5 Sep 2019 06:23:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwTilQg/XX7cDz356HrMZp7xMwfmatwGs9o33ETty9hhPeC5/x4vvj3kHRERKVoRVXiOA1r X-Received: by 2002:a63:3203:: with SMTP id y3mr3189540pgy.191.1567689805379; Thu, 05 Sep 2019 06:23:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567689805; cv=none; d=google.com; s=arc-20160816; b=rcfEArzM0Oms1kWffn2VxhKjdqfFAxLPo+8oLA+u12AwIpAxd6QIk5xkfA8UOPAmCV VApiWeohsIfDgsvJaT3Npd3+ryIl6tDDgwjo7Bhp44ErMcoUk+99jSalaWJUZX9q9qJk 3I/qE1gtAjEs87uW+fMfBcef3RiRe+qD+j9gAfgCYrVWeatdEXGifl3REddrkA0Mqv0C ipueSbLm8+o1gQz35qnzdzUOkhK8eYtvn0hSzareNLMPeCmOgcAIGcIRUdAXFKEZKg8T gintAewyXu15rwR8JKAx0p8S5q8YD7MQnT5lMlwhLOOEaZxCx3i0XxkqRiOrRUs93i7n PcIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature; bh=zloCDmVsGKmjTK1fW2Odf9qTJWs+/trOtJ9TBk+bFsw=; b=P18NXEYTAzMrFRZT+mhFxiGWacRZ1Jww72CeJ6Dr+MyEK7s+Zb3rlfyEfDeEpARr/z 6IWrA5F5JAR16rDsnd7hpJIsJ2qjZrGGl6PaD3bkSFgSDIYKQKhchwGAHQpdbdou1YbF h16UU5FVaFEfO22JeQg3jiQiMA/jAw0AKDlEo80fVrVmEo7YfWnSlhYRrV42KtkgQMVy MTby6WO3dL9pfOMlPiX2RJCGPF0fwo3n4roHfQc7nfrSwS/Eqkr+XcbLYNKAaUpPXKw0 snL4gq50tmRl0Ir0FUVNbl+xt2dvpGdtTivBerlCIV+okUCAttXl6M47jJ2rWje4pzyW oiqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=UxWrn1zH; dkim=pass header.i=@codeaurora.org header.s=default header.b=H1mxxaAJ; 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 98si1922854plb.281.2019.09.05.06.23.04; Thu, 05 Sep 2019 06:23:25 -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=UxWrn1zH; dkim=pass header.i=@codeaurora.org header.s=default header.b=H1mxxaAJ; 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 S2388901AbfIEL64 (ORCPT + 99 others); Thu, 5 Sep 2019 07:58:56 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:50678 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388858AbfIEL6z (ORCPT ); Thu, 5 Sep 2019 07:58:55 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5872D6141C; Thu, 5 Sep 2019 11:58:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567684734; bh=RFBWIwj07wtOEhbOnjqpWWtm5NCKOu5K+99w2z07EL4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=UxWrn1zHB9Gpkwy0fQWUbHF2EsJzWPLsTK4xhs3d6LlLNr3imdzVRwvHl42IL7OBW uJ1HsUlzb0tXYoPlLUaOGsz04FKYL62Bi+HCN8RyGaP6SvMwUmasBuRllkHCTd5NGp PmabpwNs3ZvUQlpYwOqSJqdgo4vkNdok0HdwojyM= 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 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id 9577F61378; Thu, 5 Sep 2019 11:58:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1567684733; bh=RFBWIwj07wtOEhbOnjqpWWtm5NCKOu5K+99w2z07EL4=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=H1mxxaAJmZpHGgfp3V8iq7pDEZta2jgcYBdnlAGnqlqlaycBh1jy1wv061/EkTvDZ IFCb4jd1CYhXK6KnvhO5vCClv3oNP+XmffJVDXv5Bsuy4fAc2Kxf9U/DyA9Y+m4T10 veV7sSUW8E6c+T4bNiV3t2t3Xbbp6kHWg26l4+Mc= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 05 Sep 2019 17:28:53 +0530 From: Vasanthakumar Thiagarajan To: Kalle Valo Cc: Johannes Berg , devicetree@vger.kernel.org, linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Subject: Re: [PATCH 31/49] ath11k: add mac.c In-Reply-To: <878sr3nfz8.fsf@kamboji.qca.qualcomm.com> 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> Message-ID: <8e90a557c1659995d117c6dc8b728d7f@codeaurora.org> X-Sender: vthiagar@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 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. Vasanth