[PATCH] TDLS: Add get_capability tdls command
Thu Mar 13 14:53:05 PDT 2014
On Thu, Mar 13, 2014 at 02:03:28PM -0700, Dmitry Shmidt wrote:
> Command returns info in format:
> TDLS supported = YES / NO
> Driver uses INTERNAL / EXTERNAL link setup
This looks pretty verbose and harder than necessary format to parse..
Why not simply return UNSUPPORTED/INTERNAL/EXTERNAL? In addition, this
information is available from wpa_s->drv_flags
(WPA_DRIVER_FLAGS_TDLS_SUPPORT and WPA_DRIVER_FLAGS_TDLS_EXTERNAL_SETUP
bits), so there is no need to add the new wpa_tdls_is_supported()
wrapper function (the core wpa_supplicant code sets that
sm->tdls_supported based on drv_flags anyway).
Jouni Malinen PGP id EFC895FA
More information about the Hostap