Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp4110379pxu; Mon, 12 Oct 2020 09:42:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNo97UQRV0Ni5liUE0aaKs9zxjijBPsQDPjrQuZnjGik8T4bXtBw4YqoXX1obZLoDkxOzm X-Received: by 2002:aa7:d8cf:: with SMTP id k15mr14738556eds.110.1602520961529; Mon, 12 Oct 2020 09:42:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602520961; cv=none; d=google.com; s=arc-20160816; b=P+v5n4NeaGyQkJlHUb4hqd/W5LAs45zz81/0ThSPaDlTf6tpGxRCzsyeB9CWq33jcK AAAP+bQzXUPAGR5DeSzSqIxhev2SN688phht1zxUHChFqLQWfD52a21t+VbEpNv/Ovth x05Tpxa5OzAp1j4hJMOkqz5NpmGviI2XUuYD6W/MvIxzKHVsFpMq7nBma8jjV/ShkRrO nLfyxoxU3vFvUSIpotO3UyVQ3E0tVGN+TFnmAHqSKAp7BO5oBr0p0rPnH3oM9E3A6AEW aU9M4P6XM/xTdtwE29qfmbs6rp+GPYokYUAtfEWeKHj1xVYEg4TG520ZO2rcwYutDHg+ 7aKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=4b6HjVPJx7bWlKGDMwRW4NablLyrW3oR4n+QdccdtWE=; b=wvMm3M7ZoNjgJqAgphIXZDSXqtAVTdHUD0p4lJ36lQGKy6hzsBmaGAI5JEikKgDb9E JlJU+lVMJBQlM836WThdOWSNuYhcQV50Kg0XLfe/F0bF3STwpBXafmSGRjKrAIFdzBgK 0SIBMMvJoNYBGeTv8MGS1y7LsjOb8kMNHMDBwvo7150yYz7/bltTgq9gEO8QRwhWU/EH q0ai/t9wr8wVV70r7wJNCKpNC1d4NwFPRfErs03X39J6UhR7I2duri32T3lxLfYBKy4s fl2Fkl+Dhd1T64+6aKKBtfGLVIfDS2RKIY//uHJ9J7/hRtBp4HQjNi3IA6mBTAL5fVx8 +low== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Dk7uxLEj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o21si12427820ejr.500.2020.10.12.09.42.16; Mon, 12 Oct 2020 09:42:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=Dk7uxLEj; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403855AbgJLQlg (ORCPT + 99 others); Mon, 12 Oct 2020 12:41:36 -0400 Received: from z5.mailgun.us ([104.130.96.5]:64146 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403785AbgJLQlg (ORCPT ); Mon, 12 Oct 2020 12:41:36 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1602520896; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=4b6HjVPJx7bWlKGDMwRW4NablLyrW3oR4n+QdccdtWE=; b=Dk7uxLEjq8NLHmOYM5a204VjoPkgaWTZafeLjPEZMfEaX7KFGy54SE8f+HnC9jx/IUz9U2T8 q4j6FxeHvXVlnlVPKSqHNr7UJW+9VQfXXYRvJzY2CeqOS2VwQRdjz1o5vuDDp/Ba8Z/8+Gkx jLCO5D8p5I9Abm6RsBILBmmrfDY= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-west-2.postgun.com with SMTP id 5f848736a03b63d6734064a4 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 12 Oct 2020 16:41:26 GMT Sender: pradeepc=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 23C18C433F1; Mon, 12 Oct 2020 16:41:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pradeepc) by smtp.codeaurora.org (Postfix) with ESMTPSA id DA9B7C433CB; Mon, 12 Oct 2020 16:41:25 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 12 Oct 2020 09:41:25 -0700 From: Pradeep Kumar Chitrapu To: Johannes Berg Cc: linux-wireless@vger.kernel.org, linux-wireless-owner@vger.kernel.org Subject: Re: [PATCH] mac80211: save he oper info in bss config for AP and mesh In-Reply-To: References: <20200715030937.25290-1-pradeepc@codeaurora.org> (sfid-20200715_050947_264568_478AF07B) Message-ID: <561813d2d5a5268261c48e51a6ad90b9@codeaurora.org> X-Sender: pradeepc@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org >> -u8 *ieee80211_ie_build_he_oper(u8 *pos, struct cfg80211_chan_def >> *chandef) >> +u8 *ieee80211_ie_build_he_oper(u8 *pos, struct cfg80211_chan_def >> *chandef, >> + struct ieee80211_sub_if_data *sdata) >> { >> struct ieee80211_he_operation *he_oper; >> struct ieee80211_he_6ghz_oper *he_6ghz_op; >> @@ -3056,6 +3057,7 @@ u8 *ieee80211_ie_build_he_oper(u8 *pos, struct >> cfg80211_chan_def *chandef) >> he_oper = (struct ieee80211_he_operation *)pos; >> he_oper->he_oper_params = cpu_to_le32(he_oper_params); >> >> + sdata->vif.bss_conf.he_oper.params = he_oper_params; > > I think these changes are inappropriate. This is a helper function to > build something, not to store the data. Please change the callers > instead. > > johannes Hi Johannes, Sorry for late response.. Thanks for the review.. I have tried to address the review comments provided and created new series @ https://patchwork.kernel.org/cover/11824871/ Thanks Pradeep