linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv4 00/18] Add support for 5 and 10 MHz channels
@ 2013-06-27 12:44 Simon Wunderlich
  2013-06-27 12:44 ` [PATCHv4 01/18] nl80211: add scan width to bss and scan request Simon Wunderlich
                   ` (17 more replies)
  0 siblings, 18 replies; 30+ messages in thread
From: Simon Wunderlich @ 2013-06-27 12:44 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless, Mathias Kretschmer, Simon Wunderlich

This patchset adds support for 5 and 10 MHz in nl80211/cfg80211/mac80211
and enables support in ath5k and ath9k, which already support this feature
on the driver side. 5 and 10 MHz wide channels might be useful for:

 * long shot links, as the transmissions are more robust
 * future support for 802.11y which allows some 5 and 10 MHz channels in
   3.6 GHz range
 * future support for 802.11p which uses 10 MHz in 5.9 GHz range
 * ... and more "special" applications.

This patchset enables 5 and 10 MHz channels only for OFDM, and without
HT/MIMO/aggregation (for now). Support may be added later.

Changes to PATCHv3:

 * some patches dropped which were already merged by Johannes
 * add new patches:
	* nl80211: add scan width to bss and scan request
	* mac80211/rc80211: add chandef to rate initialization
	* cfg80211/mac80211: get mandatory rates based on rate flags
	* mac80211: allow scanning for 5/10 MHz channels in IBSS
	* mac80211: return if IBSS chandef can not be used
 * add scan/bss handling support for 5/10 MHz (see new patches above)
 * add chandef parameter to rate control API (see new patches above)
 * never access hw.conf to acquire the current channel width/chandef
   -> this should (in theory?) make this usable in chanctx drivers as well
 * fix txpower according to Felix' suggestion
 * various smaller fixes

As always, any comments are appreciated!
Cheers,
        Simon

Simon Wunderlich (18):
  nl80211: add scan width to bss and scan request
  mac80211/rc80211: add chandef to rate initialization
  mac80211: fix timing for 5 MHz and 10 MHz channels
  mac80211: select and adjust bitrates according to channel mode
  cfg80211/mac80211: get mandatory rates based on rate flags
  cfg80211/mac80211: use reduced txpower for 5 and 10 MHz
  mac80211: add radiotap flag and handling for 5/10 MHz
  mac80211: allow scanning for 5/10 MHz channels in IBSS
  mac80211: return if IBSS chandef can not be used
  nl80211: allow 5 and 10 MHz channels for IBSS
  ath9k: always use SIFS times from OFDM for 5/10 MHz
  ath9k: use chandef instead of channel_type
  ath9k: report 5/10 MHz channels
  ath9k: set 5/10 MHz supported channels and fix bitrate
  ath9k: announce that ath9k supports 5/10 MHz
  ath5k: report 5/10 MHz channels
  ath5k: set 5/10 MHz supported channels and fix duration
  ath5k: enable support for 5 MHz and 10 MHz channels

 drivers/net/wireless/ath/ath5k/ath5k.h        |    1 +
 drivers/net/wireless/ath/ath5k/base.c         |   59 ++++++--
 drivers/net/wireless/ath/ath5k/base.h         |    2 +-
 drivers/net/wireless/ath/ath5k/mac80211-ops.c |    2 +-
 drivers/net/wireless/ath/ath5k/pcu.c          |    2 +
 drivers/net/wireless/ath/ath5k/qcu.c          |   25 +++-
 drivers/net/wireless/ath/ath9k/common.c       |   67 +++++----
 drivers/net/wireless/ath/ath9k/common.h       |    3 +-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c |    5 +-
 drivers/net/wireless/ath/ath9k/hw.c           |    5 +-
 drivers/net/wireless/ath/ath9k/init.c         |   29 ++--
 drivers/net/wireless/ath/ath9k/main.c         |    8 +-
 drivers/net/wireless/ath/ath9k/rc.c           |   12 +-
 drivers/net/wireless/ath/ath9k/recv.c         |   11 ++
 drivers/net/wireless/iwlegacy/3945-rs.c       |    1 +
 drivers/net/wireless/iwlegacy/4965-rs.c       |    1 +
 drivers/net/wireless/iwlwifi/dvm/rs.c         |    3 +-
 drivers/net/wireless/iwlwifi/mvm/rs.c         |    5 +-
 drivers/net/wireless/rtlwifi/rc.c             |    1 +
 include/net/cfg80211.h                        |   85 ++++++++++-
 include/net/ieee80211_radiotap.h              |    4 +
 include/net/mac80211.h                        |    6 +
 include/uapi/linux/nl80211.h                  |   18 +++
 net/mac80211/cfg.c                            |   47 +++---
 net/mac80211/ibss.c                           |  126 ++++++++++++----
 net/mac80211/ieee80211_i.h                    |   43 +++++-
 net/mac80211/iface.c                          |    2 +-
 net/mac80211/main.c                           |   12 +-
 net/mac80211/mesh.c                           |    2 +-
 net/mac80211/mesh_plink.c                     |    2 +-
 net/mac80211/mlme.c                           |   96 +++++++------
 net/mac80211/rate.c                           |   50 ++++---
 net/mac80211/rate.h                           |   22 ++-
 net/mac80211/rc80211_minstrel.c               |   33 ++++-
 net/mac80211/rc80211_minstrel_ht.c            |   15 +-
 net/mac80211/rc80211_pid_algo.c               |    1 +
 net/mac80211/rx.c                             |   28 ++--
 net/mac80211/scan.c                           |   72 ++++++++--
 net/mac80211/status.c                         |   17 ++-
 net/mac80211/tx.c                             |   24 +++-
 net/mac80211/util.c                           |  190 ++++++++++++++++++++-----
 net/wireless/mesh.c                           |    5 +-
 net/wireless/nl80211.c                        |    3 +
 net/wireless/scan.c                           |   31 ++--
 net/wireless/trace.h                          |   12 +-
 net/wireless/util.c                           |   14 +-
 46 files changed, 887 insertions(+), 315 deletions(-)

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2013-06-27 16:07 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-27 12:44 [PATCHv4 00/18] Add support for 5 and 10 MHz channels Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 01/18] nl80211: add scan width to bss and scan request Simon Wunderlich
2013-06-27 12:57   ` Johannes Berg
2013-06-27 16:07     ` Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 02/18] mac80211/rc80211: add chandef to rate initialization Simon Wunderlich
2013-06-27 12:59   ` Johannes Berg
2013-06-27 14:27     ` Simon Wunderlich
2013-06-27 14:30       ` Johannes Berg
2013-06-27 14:31         ` Johannes Berg
2013-06-27 15:29           ` Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 03/18] mac80211: fix timing for 5 MHz and 10 MHz channels Simon Wunderlich
2013-06-27 13:06   ` Johannes Berg
2013-06-27 13:08   ` Johannes Berg
2013-06-27 12:44 ` [PATCHv4 04/18] mac80211: select and adjust bitrates according to channel mode Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 05/18] cfg80211/mac80211: get mandatory rates based on rate flags Simon Wunderlich
2013-06-27 13:09   ` Johannes Berg
2013-06-27 12:44 ` [PATCHv4 06/18] cfg80211/mac80211: use reduced txpower for 5 and 10 MHz Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 07/18] mac80211: add radiotap flag and handling for 5/10 MHz Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 08/18] mac80211: allow scanning for 5/10 MHz channels in IBSS Simon Wunderlich
2013-06-27 13:12   ` Johannes Berg
2013-06-27 12:44 ` [PATCHv4 09/18] mac80211: return if IBSS chandef can not be used Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 10/18] nl80211: allow 5 and 10 MHz channels for IBSS Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 11/18] ath9k: always use SIFS times from OFDM for 5/10 MHz Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 12/18] ath9k: use chandef instead of channel_type Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 13/18] ath9k: report 5/10 MHz channels Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 14/18] ath9k: set 5/10 MHz supported channels and fix bitrate Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 15/18] ath9k: announce that ath9k supports 5/10 MHz Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 16/18] ath5k: report 5/10 MHz channels Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 17/18] ath5k: set 5/10 MHz supported channels and fix duration Simon Wunderlich
2013-06-27 12:44 ` [PATCHv4 18/18] ath5k: enable support for 5 MHz and 10 MHz channels Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).