Searched refs:num_p2p_clients (Results 1 – 3 of 3) sorted by relevance
452 size_t num_p2p_clients; member
594 for (i = 0; s->p2p_client_list && i < s->num_p2p_clients; i++) { in wpas_p2p_add_persistent_group_client()599 if (i == s->num_p2p_clients - 1) in wpas_p2p_add_persistent_group_client()605 (s->num_p2p_clients - i - 1) * ETH_ALEN); in wpas_p2p_add_persistent_group_client()607 (s->num_p2p_clients - 1) * ETH_ALEN, addr, ETH_ALEN); in wpas_p2p_add_persistent_group_client()612 if (!found && s->num_p2p_clients < P2P_MAX_STORED_CLIENTS) { in wpas_p2p_add_persistent_group_client()614 s->num_p2p_clients + 1, ETH_ALEN); in wpas_p2p_add_persistent_group_client()617 os_memcpy(n + s->num_p2p_clients * ETH_ALEN, addr, ETH_ALEN); in wpas_p2p_add_persistent_group_client()619 s->num_p2p_clients++; in wpas_p2p_add_persistent_group_client()625 (s->num_p2p_clients - 1) * ETH_ALEN); in wpas_p2p_add_persistent_group_client()627 (s->num_p2p_clients - 1) * ETH_ALEN, in wpas_p2p_add_persistent_group_client()[all …]
1336 ssid->num_p2p_clients = count; in wpa_config_parse_p2p_client_list()1350 if (ssid->p2p_client_list == NULL || ssid->num_p2p_clients == 0) in wpa_config_write_p2p_client_list()1353 value = os_malloc(20 * ssid->num_p2p_clients); in wpa_config_write_p2p_client_list()1357 end = value + 20 * ssid->num_p2p_clients; in wpa_config_write_p2p_client_list()1359 for (i = ssid->num_p2p_clients; i > 0; i--) { in wpa_config_write_p2p_client_list()