Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp318996ybb; Wed, 1 Apr 2020 00:12:39 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtcIbr1ZiJmKTsbiJTA2nqyiF8GFe834h4zL42Ggw8sXPvM5SomNvuFMIX4rv6eUrjl3aqP X-Received: by 2002:a9d:7a8:: with SMTP id 37mr16629918oto.209.1585725159211; Wed, 01 Apr 2020 00:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585725159; cv=none; d=google.com; s=arc-20160816; b=JomLtuPm2vnJICEtXrs233QX40sqHeq+gbdhD9N3A6TwlXbuaqWtKVdkImlpiHN/jl NdFkLFbZCP0SM+DslHfhRdYWZJB8oq2trRoxCM/fYFFmn0haNXxkVwtw7VmYUKpjcpsx cjn/f0TZSimMH+hjzzl7qSpQfFrhI9Ps7EwkvNN/b46mnUv2sXNHxpZ9bJMF+aur4lnz vKtkQibm9qfKDiYpI+dyGQl5IFt+fHoG2GiepERM8cnPTIhyIWYv1fW4Q31Im35XgA8H Z67nIr+Zyedwjul8Ws8koctpLOdayoUcyQubfHxGQn9wn9TKJkPuY0GAdTnzrj9FPgfN ef0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=3kMey81hFPD3gdh5Mlkfz+E0ItmAtwgbSseUvSkfWUE=; b=u8xH3x9I9E/rjTjdYbJAdBqLdetZpllnOQJkIi9PpPeaakJDSmDwO3njsvSmvh9OYS ieqy9Gzco1Aq3idR/uOM8sErgZ8kGMDIE498iuuTfFzyyOYsE/Pe7PAmUiLkl5Vnx7GH 8assqzQJiyMDnLGRQNg9dN0ATw0RGscgPNT99FG2/tJCC1qmu5tJ2YTRffYKutwK0bpr NEqTsdFONAoLHIhXEpsu5pUx270Yw5/Yrl1+Ug3ZDhAf3jj4YND9hfUCuIO16ViaSAXS yq6Jke89AR8uBGOrLYQxBvjscPFwRpK0k5Gx+fikDD3ORWla9xUgHP62Ve2jWFHqBoKV b6JA== ARC-Authentication-Results: i=1; mx.google.com; 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 o6si529876oih.267.2020.04.01.00.12.27; Wed, 01 Apr 2020 00:12:39 -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; 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 S1731898AbgDAHMW (ORCPT + 99 others); Wed, 1 Apr 2020 03:12:22 -0400 Received: from s3.sipsolutions.net ([144.76.43.62]:33608 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731725AbgDAHMW (ORCPT ); Wed, 1 Apr 2020 03:12:22 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) (envelope-from ) id 1jJXXx-00BTsu-3s; Wed, 01 Apr 2020 09:12:21 +0200 Message-ID: <4c7937c50320ef5b0a5bb70a924aba741652ac77.camel@sipsolutions.net> Subject: Re: [RFC 6/7] nl80211: add KHz frequency offset for most wifi commands From: Johannes Berg To: Thomas Pedersen Cc: linux-wireless Date: Wed, 01 Apr 2020 09:12:18 +0200 In-Reply-To: <20200401062150.3324-7-thomas@adapt-ip.com> References: <20200401062150.3324-1-thomas@adapt-ip.com> <20200401062150.3324-7-thomas@adapt-ip.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2020-03-31 at 23:21 -0700, Thomas Pedersen wrote: > > + [NL80211_ATTR_CENTER_FREQ1_OFFSET] = { .type = NLA_U32 }, These should probably all be something like NLA_POLICY_RANGE(NLA_U32, 0, 999)? johannes