Skip to content

ath9k: first series for regulatory cleanup

Luis R. Rodriguez ath9k-devel linux-wireless 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest16 patches 0 repliesNew
  2. v2 posting 2/20 of 18 patches 0 repliesSuperseded
  3. v2 posting 1/218 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v10 of 16 patches0 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16mac80211: add HT conf helpersinclude/net/mac80211.h+30 -00 replies
2/16ath9k: use hw->conf on ath_setcurmode()drivers/net/wireless/ath9k/main.c+40 -321 reply
2/16ath9k: use hw->conf on ath_setcurmode()+0 -01 reply
2/16ath9k: use hw->conf on ath_setcurmode()+0 -00 replies
3/16ath9k: remove cache of rate preference when using 11g protectiondrivers/net/wireless/ath9k/core.h drivers/net/wireless/ath9k/main.c drivers/net/wireless/ath9k/xmit.c+13 -140 replies
4/16ath9k: Rename ath_setcurmode() to ath_cache_conf_rate()drivers/net/wireless/ath9k/main.c+6 -40 replies
5/16ath9k: consolidate arguments on hw resetdrivers/net/wireless/ath9k/ath9k.h drivers/net/wireless/ath9k/hw.c drivers/net/wireless/ath9k/main.c +1 more+74 -1270 replies
6/16ath9k: make request to get the noisefloor threshold band specificdrivers/net/wireless/ath9k/ath9k.h drivers/net/wireless/ath9k/calib.c drivers/net/wireless/ath9k/main.c+10 -140 replies
7/16ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()drivers/net/wireless/ath9k/ath9k.h drivers/net/wireless/ath9k/calib.c drivers/net/wireless/ath9k/main.c+27 -421 reply
7/16ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()+0 -01 reply
8/16ath9k: make use of conf_is_ht*() in the rest of the driverdrivers/net/wireless/ath9k/main.c drivers/net/wireless/ath9k/rc.c drivers/net/wireless/ath9k/xmit.c+6 -70 replies
9/16iwlwifi: make use of conf_is_ht*() helpersdrivers/net/wireless/iwlwifi/iwl-agn-rs.c drivers/net/wireless/iwlwifi/iwl-agn.c+6 -60 replies
10/16mac80211: no need for ht.enabledinclude/net/mac80211.h net/mac80211/ht.c net/mac80211/main.c +1 more+1 -140 replies
11/16ath9k: Make ANI CCK and OFDM error triggers band specificdrivers/net/wireless/ath9k/ani.c+4 -80 replies
12/16ath9k: remove mode specific default noise floor valuesdrivers/net/wireless/ath9k/calib.c+3 -60 replies
13/16ath9k: remove ath9k_hw_chan2wmode()drivers/net/wireless/ath9k/hw.c+19 -270 replies
14/16ath9k: remove ath9k_hw_check_chan()drivers/net/wireless/ath9k/hw.c+1 -250 replies
15/16ath9k: remove superfluous check on changing channeldrivers/net/wireless/ath9k/main.c+41 -460 replies
16/16ath9k: fix sparse warningsdrivers/net/wireless/ath9k/eeprom.c drivers/net/wireless/ath9k/hw.c drivers/net/wireless/ath9k/hw.h+28 -260 replies

Reviews trailers per patch

3 of 19 patches have a Reviewed-by or Acked-by.

PatchJohannes Berg
1/16A-b
2/16
2/16
2/16
3/16
4/16
5/16
6/16
7/16
7/16
8/16
9/16A-b
10/16A-b
11/16
12/16
13/16
14/16
15/16
16/16

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 00/16] ath9k: first series for regulatory cleanup

This is the first series of general cleanup to get us into abandon our complex internal regulatory infrastructure. This is quite a lot of work as we rely on our own internal "mode" stuff and our own ath9k_channel heavily.

We start this work by ditching the mode stuff where we can and set a staging ground for us to abandon our own internal ath9k_channel. The values which we want to actually keep from ath9k_channel are the calibration data. To make use of this we will eventually map channels to our private channel structure by indexing on their position on the static array.

The next series will deal more with this and then slowly start to nuke our complex regulatory infrastructure in favor for internal generic CRDA/cfg80211 regulatory infrastructure.

This work is all being done so we won't have to malloc() all over again our new set of channels on country IE changes as doing that would be a bit messy. We will instead prefer to use static channels.

This should not have any major functional changes, its mostly cleanup stuff.

This v3 abandones the private void pointer in ieee80211_channel based on Johannes's recommendations.

Luis R. Rodriguez (16):
mac80211: add HT conf helpers
ath9k: use hw->conf on ath_setcurmode()
ath9k: remove cache of rate preference when using 11g protection
ath9k: Rename ath_setcurmode() to ath_cache_conf_rate()
ath9k: consolidate arguments on hw reset
ath9k: make request to get the noisefloor threshold band specific
ath9k: use ieee80211_conf on ath9k_hw_iscal_supported()
ath9k: make use of conf_is_ht*() in the rest of the driver
iwlwifi: make use of conf_is_ht*() helpers
mac80211: no need for ht.enabled
ath9k: Make ANI CCK and OFDM error triggers band specific
ath9k: remove mode specific default noise floor values
ath9k: remove ath9k_hw_chan2wmode()
ath9k: remove ath9k_hw_check_chan()
ath9k: remove superfluous check on changing channel
ath9k: fix sparse warnings

 drivers/net/wireless/ath9k/ani.c          |   12 +-
 drivers/net/wireless/ath9k/ath9k.h        |    9 +-
 drivers/net/wireless/ath9k/calib.c        |   93 ++++------
 drivers/net/wireless/ath9k/core.h         |    1 -
 drivers/net/wireless/ath9k/eeprom.c       |   30 ++--
 drivers/net/wireless/ath9k/hw.c           |  154 +++++------------
 drivers/net/wireless/ath9k/hw.h           |    8 +
 drivers/net/wireless/ath9k/main.c         |  268 +++++++++++++----------------
 drivers/net/wireless/ath9k/rc.c           |    4 +-
 drivers/net/wireless/ath9k/xmit.c         |   31 ++--
 drivers/net/wireless/iwlwifi/iwl-agn-rs.c |    6 +-
 drivers/net/wireless/iwlwifi/iwl-agn.c    |    6 +-
 include/net/mac80211.h                    |   31 ++++-
 net/mac80211/ht.c                         |    3 +-
 net/mac80211/main.c                       |   10 -
 net/mac80211/mlme.c                       |    1 -
 16 files changed, 289 insertions(+), 378 deletions(-)