Return-path: Received: from bombadil.infradead.org ([18.85.46.34]:55324 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751366AbZBRXZq (ORCPT ); Wed, 18 Feb 2009 18:25:46 -0500 From: "Luis R. Rodriguez" To: johannes@sipsolutions.net Cc: "Luis R. Rodriguez" , linux-wireless@vger.kernel.org Subject: [PATCH v4 00/15] cfg80211: add a workqueue for regulatory processing Date: Wed, 18 Feb 2009 18:25:30 -0500 Message-Id: <1234999545-14357-1-git-send-email-lrodriguez@atheros.com> (sfid-20090219_002554_225305_A5157636) To: johannes@sipsolutions.net, linville@tuxdriver.com Sender: linux-wireless-owner@vger.kernel.org List-ID: This series has a few cleanups and minor fixes but mainly adds a workqueue for cfg80211 to use to process all regulatory hints. This v4 just changes the spin_lock to only be held _only_ during dequeing (not like this matters much). This series is also rebased on today's pull of wl. Using a new SMTP server now, so hopefully this goes through fine in one shot. Luis R. Rodriguez (15): cfg80211: rename cfg80211_registered_device's idx to wiphy_idx cfg80211: add wiphy_idx_valid to check for wiphy_idx sanity cfg80211: rename cfg80211_drv_mutex to cfg80211_mutex nl80211: disallow user requests prior to regulatory_init() cfg80211: add regulatory_hint_core() to separate the core reg hint cfg80211: propagate -ENOMEM during regulatory_init() cfg80211: add assert_cfg80211_lock() to ensure proper protection cfg80211: make regulatory_request use wiphy_idx instead of wiphy cfg80211: protect first access of last_request on 11d hint under mutex cfg80211: remove likely from an 11d hint case cfg80211: free rd on unlikely event on 11d hint cfg80211: move all regulatory hints to workqueue cfg80211: comments style cleanup cfg80211: allow drivers that agree on regulatory to agree cfg80211: rename regdom_changed to regdom_changes() and use it drivers/net/wireless/ath9k/main.c | 8 +- drivers/net/wireless/zd1211rw/zd_mac.c | 6 +- include/net/cfg80211.h | 8 +- include/net/wireless.h | 9 +- net/wireless/core.c | 102 ++++-- net/wireless/core.h | 33 ++- net/wireless/nl80211.c | 47 ++- net/wireless/reg.c | 662 +++++++++++++++++++++++--------- net/wireless/reg.h | 2 + net/wireless/sysfs.c | 2 +- 10 files changed, 641 insertions(+), 238 deletions(-)