Return-path: Received: from cantor2.suse.de ([195.135.220.15]:51864 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750828AbaKYTmp (ORCPT ); Tue, 25 Nov 2014 14:42:45 -0500 Date: Tue, 25 Nov 2014 20:42:44 +0100 From: "Luis R. Rodriguez" To: Arik Nemtsov Cc: linux-wireless@vger.kernel.org, Johannes Berg , Jonathan Doron Subject: Re: [PATCH v3 2/3] cfg80211: allow wiphy specific regdomain management Message-ID: <20141125194244.GK25677@wotan.suse.de> (sfid-20141125_204250_263149_3AD61E27) References: <1416754941-4439-1-git-send-email-arik@wizery.com> <1416754941-4439-2-git-send-email-arik@wizery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1416754941-4439-2-git-send-email-arik@wizery.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Sun, Nov 23, 2014 at 05:02:20PM +0200, Arik Nemtsov wrote: > From: Jonathan Doron > > Add a new regulatory flag that allows a driver to manage regdomain > changes/updates for its own wiphy. > A self-managed wiphys only employs regulatory information obtained from > the FW and driver and does not use other cfg80211 sources like > beacon-hints, country-code IEs and hints from other devices on the same > system. Conversely, a self-managed wiphy does not share its regulatory > hints with other devices in the system. If a system contains several > devices, one or more of which are self-managed, there might be > contradictory regulatory settings between them. Usage of flag is > generally discouraged. Only use it if the FW/driver is incompatible > with non-locally originated hints. > > A new API lets the driver send a complete regdomain, to be applied on > its wiphy only. > > After a wiphy-specific regdomain change takes place, usermode will get > a new type of change notification. The regulatory core also takes care > enforce regulatory restrictions, in case some interfaces are on > forbidden channels. > > Signed-off-by: Jonathan Doron > Signed-off-by: Arik Nemtsov Reviewed-by: Luis R. Rodriguez Luis