[RFC 00/13] TDLS support for nl80211 drivers

Arik Nemtsov arik
Thu Sep 15 03:22:18 PDT 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. More
advanced features are not implemented. These include QoS/HT, peer PSM,
peer U-APSD and channel switching.

Kernel-mode support is added in a companion series.

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

Comments/reviews are welcome.

Arik

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

Arik Nemtsov (13):
  TDLS: support setting CONFIG_TDLS_TESTING in .config
  nl80211: update nl80211_copy.h to kernel version with TDLS support
  nl80211: implement wpa TDLS callback functions
  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 new STA when enabling TDLS link
  TDLS: support mgmt-frame Tx fallback 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         |    1 +
 src/drivers/driver_nl80211.c |  103 +++++++++++++++
 src/drivers/nl80211_copy.h   |   40 ++++++
 src/rsn_supp/tdls.c          |  291 +++++++++++++++++++++++++++++++++++-------
 src/rsn_supp/wpa.h           |    8 +-
 src/rsn_supp/wpa_i.h         |   10 ++
 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  |   13 ++-
 wpa_supplicant/events.c      |   18 ++-
 wpa_supplicant/wpas_glue.c   |   21 +++
 14 files changed, 478 insertions(+), 51 deletions(-)

-- 
1.7.4.1




More information about the Hostap mailing list