Lines Matching refs:cli
650 struct p2p_client_info *cli; in p2p_group_info_parse() local
655 cli = &info->client[info->num_clients]; in p2p_group_info_parse()
661 cli->p2p_device_addr = g; in p2p_group_info_parse()
663 cli->p2p_interface_addr = g; in p2p_group_info_parse()
665 cli->dev_capab = *g++; in p2p_group_info_parse()
667 cli->config_methods = WPA_GET_BE16(g); in p2p_group_info_parse()
669 cli->pri_dev_type = g; in p2p_group_info_parse()
676 cli->num_sec_dev_types = len; in p2p_group_info_parse()
677 cli->sec_dev_types = g; in p2p_group_info_parse()
692 cli->dev_name = (const char *) g; in p2p_group_info_parse()
693 cli->dev_name_len = count; in p2p_group_info_parse()
718 struct p2p_client_info *cli; in p2p_group_info_text() local
724 cli = &info.client[i]; in p2p_group_info_text()
727 MAC2STR(cli->p2p_device_addr), in p2p_group_info_text()
728 MAC2STR(cli->p2p_interface_addr)); in p2p_group_info_text()
736 cli->dev_capab, cli->config_methods, in p2p_group_info_text()
737 wps_dev_type_bin2str(cli->pri_dev_type, in p2p_group_info_text()
744 for (s = 0; s < cli->num_sec_dev_types; s++) { in p2p_group_info_text()
747 &cli->sec_dev_types[s * 8], in p2p_group_info_text()
754 os_memcpy(name, cli->dev_name, cli->dev_name_len); in p2p_group_info_text()
755 name[cli->dev_name_len] = '\0'; in p2p_group_info_text()
756 count = (int) cli->dev_name_len - 1; in p2p_group_info_text()