[PATCH 00/14] TDLS support for nl80211 drivers

Arik Nemtsov arik at wizery.com
Mon Sep 26 06:55:21 EDT 2011


This series adds basic TDLS support for nl80211 based drivers.
It is based in part on patches by Kalyan C. Gaddam, cc-ed here.

Support is added for peer discovery and data path setup/teardown.
Currently not implemented: QoS/HT, peer PSM, peer U-APSD and channel
switching.

Kernel-mode support is added in a companion series.

The main change from the RFC series is the addition of a TDLS peer STA
before initiating setup. This allows the driver to drop/buffer frames
sent to the peer during link setup, as required by the specification.

Tested with wl12xx hardware, with a nl80211/mac80211 based driver.

Arik

Cc: Kalyan C Gaddam <chakkal at iit.edu>

Arik Nemtsov (14):
  TDLS: support setting CONFIG_TDLS_TESTING in .config
  nl80211: update nl80211_copy.h to kernel version with TDLS support
  nl80211: implement TDLS callback functions and propagate capabilities
  TDLS: get TDLS related capabilities from driver
  TDLS: process discovery requests and send discovery responses
  TDLS/nl80211: support receiving TDLS discovery response frames
  TDLS: support sending a teardown frame from usermode
  TDLS: support sending TDLS discovery requests
  TDLS: implement low-ack event for lost TDLS peers
  TDLS: collect peer capabilities and supp-rates during link setup
  TDLS: add peer as a STA during link setup
  TDLS: support mgmt-frame Tx for ctrl-iface operations
  TDLS: make use of wpa_tdls_add_peer to avoid code duplication
  TDLS: use a valid dialog-token in a setup request

 src/common/ieee802_11_defs.h |    1 +
 src/drivers/driver.h         |   30 ++++-
 src/drivers/driver_nl80211.c |  181 +++++++++++++++++++++-
 src/drivers/nl80211_copy.h   |   48 ++++++
 src/rsn_supp/tdls.c          |  350 ++++++++++++++++++++++++++++++++++++------
 src/rsn_supp/wpa.h           |   13 ++-
 src/rsn_supp/wpa_i.h         |   31 ++++
 src/rsn_supp/wpa_ie.c        |   11 ++
 src/rsn_supp/wpa_ie.h        |    4 +
 wpa_supplicant/Android.mk    |    4 +
 wpa_supplicant/Makefile      |    4 +
 wpa_supplicant/ctrl_iface.c  |   20 ++-
 wpa_supplicant/driver_i.h    |   11 ++
 wpa_supplicant/events.c      |   18 ++-
 wpa_supplicant/wpas_glue.c   |   43 +++++
 15 files changed, 698 insertions(+), 71 deletions(-)

-- 
1.7.4.1



More information about the HostAP mailing list