[PATCH] TDLS: Add get_capability tdls command

Jouni Malinen j
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
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 mailing list