[PATCH 00/14] TDLS support for nl80211 drivers

Jouni Malinen j at w1.fi
Sun Oct 23 15:28:17 EDT 2011


On Mon, Sep 26, 2011 at 01:55:21PM +0300, Arik Nemtsov wrote:
> 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.

Thanks! Applied. Please note that I changes some of driver_ops design
and did various cleanup changes, so it could be a good idea to re-test
this in your setup.

> 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.

Hmm.. How exactly did you get this working? My tests with mac80211_hwsim
(after making it claim TDLS support) resulted in various kernel panics
(minstral does not exactly like the STA entry with no supported rates)
and cfg80211 rejecting the key configuration for the direct link. The
latter one is now fixed in wpa_supplicant (driver_nl80211.c).

I do have this working with mac80211_hwsim now, i.e., I do see frames
first going with FromDS/ToDS flags and then after TDLS setup without
those and finally after teardown, back to FromDS/ToDS flags and AP path.
However, this requires some kernel fixes (to be discussed on
linux-wireless).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list