Linux wireless drivers development
 help / color / mirror / Atom feed
* [PATCHv2 0/3] add HT support for IBSS
@ 2011-11-30 15:56 Simon Wunderlich
  2011-11-30 15:56 ` [PATCHv2 1/3] nl80211: Parse channel type attribute in an ibss join request Simon Wunderlich
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Simon Wunderlich @ 2011-11-30 15:56 UTC (permalink / raw)
  To: linux-wireless
  Cc: linville, Johannes Berg, Simon Wunderlich, Mathias Kretschmer,
	Alexander Simon, Marek Lindner, Felix Fietkau

This patch set adds support for HT datarates in IBSS. It is based on Alexander
Simons previous work. The changes can be found in the individual patch messages.

The HT configuration set through nl80211 is not adopted from other STAs as the
standard (10.3.2.2.2/11.14.2) suggests - after several discussion with other
developers, we agreed that this may lead to unpredictable behaviour. We prefer
to keep the local configuration and adapt the HT parameters for transmission
to other STAs individually. 

For further standard compatibility (see fourth patch):
 * 9.13.3.1: IEEE80211_HT_OP_MODE_PROTECTION_NONHT_MIXED is set and may
   be used, so far only a few drivers consider it (iwl*, rt2x00, wl12xx,
   brcm80211, mwl8k)
 * 9.13.3.1: IEEE80211_HT_PARAM_RIFS_MODE is set and may be used, so far
   no driver seems to consider it.
 * 11.5.1.1: BA is only allowed when we previously received a probe response
   or beacon with HT information. Therefore, this is partially implemented
   - we don't implement a probe request. However, this should serve the same
   purpose IMHO and and avoids sending the ADDBA requests to legacy stations.

I have tested this feature in an IBSS of two ath9k and one ath5k device. The
devices join the cell succesfully and the ath9k use HT40 if the configuration
matches (I've measured 70 Mbit/s) or HT20 (~40 Mbit/s) if it does not. 
Also the (legacy) communication to ath5k works.

There is an iw patch as well to make use of this feature.

It should apply well on the latest wireless-testing kernel.

Changes between this version and PATCH:
 * change patch order
 * add 802.11n-2009 reference name
 * fix authorship
 * add nl80211_feature_flag for HT IBSS
 * remove internal scan request fix to send it separately

Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>

Alexander Simon (2):
  nl80211: Parse channel type attribute in an ibss join request
  mac80211: Add HT operation modes for IBSS

Simon Wunderlich (1):
  mac80211: handle protection mode, RIFS and ADDBA for HT IBSS

 include/linux/nl80211.h    |    2 +
 include/net/cfg80211.h     |   11 +++++
 net/mac80211/agg-rx.c      |    2 +
 net/mac80211/agg-tx.c      |   26 +++++++++++-
 net/mac80211/ht.c          |    2 +
 net/mac80211/ibss.c        |  101 ++++++++++++++++++++++++++++++++++++++++----
 net/mac80211/ieee80211_i.h |    1 +
 net/mac80211/main.c        |    3 +-
 net/mac80211/rx.c          |    3 +-
 net/mac80211/util.c        |    5 ++
 net/wireless/chan.c        |   12 +++--
 net/wireless/nl80211.c     |   32 +++++++++++++-
 12 files changed, 181 insertions(+), 19 deletions(-)

-- 
1.7.7.3


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

end of thread, other threads:[~2011-12-06 12:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-30 15:56 [PATCHv2 0/3] add HT support for IBSS Simon Wunderlich
2011-11-30 15:56 ` [PATCHv2 1/3] nl80211: Parse channel type attribute in an ibss join request Simon Wunderlich
2011-11-30 15:56 ` [PATCHv2 2/3] mac80211: handle protection mode, RIFS and ADDBA for HT IBSS Simon Wunderlich
2011-11-30 15:56 ` [PATCHv2 3/3] mac80211: Add HT operation modes for IBSS Simon Wunderlich
2011-11-30 15:56 ` [PATCH] iw: add HT options for ibss Simon Wunderlich
2011-12-06 12:26 ` [PATCHv2 0/3] add HT support for IBSS Johannes Berg
2011-12-06 12:32   ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox