Return-path: Received: from s3.sipsolutions.net ([144.76.43.152]:37720 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750800AbaDHJyt (ORCPT ); Tue, 8 Apr 2014 05:54:49 -0400 Message-ID: <1396950886.5936.12.camel@jlt4.sipsolutions.net> (sfid-20140408_115528_551100_2744A2E0) Subject: Re: [PATCH 1/4] cfg80211: Add attributes describing prohibited channel bandwidth From: Johannes Berg To: Rostislav Lisovy Cc: "John W. Linville" , linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Michal Sojka , s.sander@nordsys.de, jan-niklas.meier@volkswagen.de, Rostislav Lisovy Date: Tue, 08 Apr 2014 11:54:46 +0200 In-Reply-To: <1396445515-5808-2-git-send-email-rostislav.lisovy@fel.cvut.cz> (sfid-20140402_153205_125660_90C9D001) References: <1396445515-5808-1-git-send-email-rostislav.lisovy@fel.cvut.cz> <1396445515-5808-2-git-send-email-rostislav.lisovy@fel.cvut.cz> (sfid-20140402_153205_125660_90C9D001) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, 2014-04-02 at 15:31 +0200, Rostislav Lisovy wrote: > Since there are frequency bands (e.g. 5.9GHz) allowing channels > with only 10 or 5 MHz bandwidth, this patch adds attributes that > allow keeping track about this information. > > When channel attributes are reported to user-space, make sure to > not break old tools, i.e. if the 'split wiphy dump' is enabled, > report the extra attributes (if present) describing the bandwidth > restrictions. If the 'split wiphy dump' is not enabled, > completely omit those channels that have flags set to either > IEEE80211_CHAN_NO_10MHZ or IEEE80211_CHAN_NO_20MHZ. I think you should probably squash patches 1 and 2, since otherwise you could use the new channels? Anyway, the patches don't seem to apply on mac80211-next, please rebase. johannes