P2P: Disable periodic NoA when non-P2P STA is connected

For now, this applies to the test command that can be used to set
periodic NoA (p2p_set noa). The value are stored and periodic NoA
is enabled whenever there are no non-P2P STAs connected to the GO.
This commit is contained in:
Jouni Malinen 2010-07-08 17:14:24 -07:00 committed by Jouni Malinen
parent 4c08c0bd57
commit aefb53bd5d
12 changed files with 122 additions and 11 deletions

View file

@ -55,6 +55,7 @@ struct sta_info {
unsigned int no_ht_gf_set:1;
unsigned int no_ht_set:1;
unsigned int ht_20mhz_set:1;
unsigned int no_p2p_set:1;
u16 auth_alg;
u8 previous_ap[6];