Skip to content

cfg80211: add a workqueue for regulatory processing

Luis R. Rodriguez linux-wireless 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest15 patches 2 repliesIn review
  2. v515 patches 1 replySuperseded
  3. v415 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v36 of 15 patches1 replySuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15cfg80211: rename cfg80211_registered_device's idx to wiphy_idxnet/wireless/core.c net/wireless/core.h net/wireless/nl80211.c +1 more+22 -210 replies
2/15cfg80211: add wiphy_idx_valid to check for wiphy_idx sanitynet/wireless/core.c net/wireless/core.h+11 -10 replies
3/15cfg80211: rename cfg80211_drv_mutex to cfg80211_mutexnet/wireless/core.c net/wireless/core.h net/wireless/nl80211.c +1 more+42 -370 replies
4/15nl80211: disallow user requests prior to regulatory_init()net/wireless/nl80211.c+26 -80 replies
5/15cfg80211: add regulatory_hint_core() to separate the core reg hintnet/wireless/reg.c+25 -90 replies
6/15cfg80211: propagate -ENOMEM during regulatory_init()net/wireless/reg.c+17 -50 replies
7/15cfg80211: add assert_cfg80211_lock() to ensure proper protectionnet/wireless/core.c net/wireless/core.h net/wireless/nl80211.c +1 more+27 -20 replies
8/15cfg80211: make regulatory_request use wiphy_idx instead of wiphyinclude/net/cfg80211.h net/wireless/core.c net/wireless/core.h +1 more+82 -300 replies
9/15cfg80211: protect first access of last_request on 11d hint under mutexnet/wireless/reg.c+5 -30 replies
10/15cfg80211: remove likely from an 11d hint casenet/wireless/reg.c+8 -60 replies
11/15cfg80211: free rd on unlikely event on 11d hintnet/wireless/reg.c+5 -10 replies
12/15cfg80211: move all regulatory hints to workqueuedrivers/net/wireless/ath9k/main.c drivers/net/wireless/zd1211rw/zd_mac.c include/net/cfg80211.h +4 more+194 -410 replies
13/15cfg80211: comments style cleanupnet/wireless/reg.c+199 -1000 replies
14/15cfg80211: allow drivers that agree on regulatory to agreenet/wireless/reg.c+10 -00 replies
15/15cfg80211: rename regdom_changed to regdom_changes() and use itnet/wireless/reg.c+8 -110 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [PATCH v6 00/15] cfg80211: add a workqueue for regulatory processing

I found one bug in my v5 series on the workqueue patch -- I was accessing wiphy->custom_regulatory without first checking if the wiphy existed, in case there are any conflicts I am rebasing the other patches and just sending a new version 6 series.

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                     |  665 +++++++++++++++++++++++--------
 net/wireless/reg.h                     |    2 +
 net/wireless/sysfs.c                   |    2 +-
 10 files changed, 644 insertions(+), 238 deletions(-)