hostapd: Allow TDLS use to be prohibited in the BSS

tdls_prohibit=1 and tdls_prohibit_chan_switch=1 and now be used to
disable use of TDLS or TDLS channel switching in the BSS using
extended cabilities IE as defined in IEEE 802.11z.
This commit is contained in:
Jouni Malinen 2011-01-28 19:21:59 +02:00 committed by Jouni Malinen
parent 9a994178f1
commit 1161ff1ef5
7 changed files with 57 additions and 0 deletions

View file

@ -325,6 +325,10 @@ struct hostapd_bss_config {
int p2p;
int disassoc_low_ack;
#define TDLS_PROHIBIT BIT(0)
#define TDLS_PROHIBIT_CHAN_SWITCH BIT(1)
int tdls;
};