Patchwork [pull-request,Quantal] brcmsmac regulatory rework

login
register
mail settings
Submitter Seth Forshee
Date June 25, 2012, 5:01 p.m.
Message ID <1340643703-22932-1-git-send-email-seth.forshee@canonical.com>
Download mbox
Permalink /patch/167171/
State New
Headers show

Pull-request

git://kernel.ubuntu.com/sforshee/ubuntu-quantal.git lp950320

Comments

Seth Forshee - June 25, 2012, 5:01 p.m.
brcmsmac has it's own internal implementation for adhering to regulatory
rules governing wireless spectrum use. This is an inferior duplication
of the support contained in mac80211. These two implementations can be
in conflict, causing wireless frequencies that should be usable to be
disabled.

These patches represent an extensive rewrite of brcmsmac's regulatory
support to remove the internal implementation and integrate with the
support in mac80211. These are all clean cherry-picks from
wireless-testing. I've been testing the patches for the past couple of
months while working to get them accepted upstream. I'm proposing we
pick them up for quantal to increase test coverage and to improve the
behavior of brcmsmac if we end up releasing with a 3.5 kernel.

The pull request follows. I'm also sending the patches to ease
reviewing.

Thanks,
Seth


The following changes since commit ee611cc51e4f742d0d950cbf631cfff694395f8a:

  UBUNTU: Ubuntu-3.5.0-1.1 (2012-06-19 00:03:29 -0700)

are available in the git repository at:

  git://kernel.ubuntu.com/sforshee/ubuntu-quantal.git lp950320

for you to fetch changes up to 505c3befd7de19832411022aa2d96ff133eab6d0:

  UBUNTU: SAUCE: (drop after 3.5) brcmsmac: fix NULL pointer crash in brcms_c_regd_init() (2012-06-25 10:59:43 -0500)

----------------------------------------------------------------
Arend van Spriel (1):
  UBUNTU: SAUCE: (drop after 3.5) brcmsmac: fix NULL pointer crash in
    brcms_c_regd_init()

Seth Forshee (9):
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: don't set up tx
    power limits during initialization
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: always set channel
    specified by mac80211
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: remove unused code
    for 40MHz channels
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: clean up channel.c
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: inform mac80211 of
    the X2 regulatory domain
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: enable/disable radio
    on regulatory updates
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: use mac80211 channel
    data for tx power limits
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: don't validate
    channels against internal regulatory data
  UBUNTU: SAUCE: (drop after 3.5) brcm80211: smac: use current
    regulatory domain when checking whether OFDM is allowed

 drivers/net/wireless/brcm80211/brcmsmac/channel.c  | 1226 ++++----------------
 drivers/net/wireless/brcm80211/brcmsmac/channel.h  |    4 +-
 .../net/wireless/brcm80211/brcmsmac/mac80211_if.c  |    2 +
 drivers/net/wireless/brcm80211/brcmsmac/main.c     |   36 +-
 4 files changed, 266 insertions(+), 1002 deletions(-)
Tim Gardner - June 25, 2012, 6 p.m.