Lines Matching refs:pos

1761 	char *pos = cmd;  local
1762 char *end = pos + SUPPLICANT_CANDIDATE_SCAN_CMD_BUF_SIZE;
1765 strcpy(pos, "freq=");
1766 pos += 5;
1769 pos += snprintf(pos, end - pos, ",");
1772 pos += snprintf(pos, end - pos, "%d", freq);
2972 char *pos = cmd; local
2977 strncpy(pos, "DPP_CONFIGURATOR_ADD", end - pos);
2978 STR_CUR_TO_END(pos);
2981 snprintf(pos, end - pos, " curve=%s",
2983 STR_CUR_TO_END(pos);
2987 snprintf(pos, end - pos, " net_access_key_curve=%s",
2993 strncpy(pos, "DPP_AUTH_INIT", end - pos);
2994 STR_CUR_TO_END(pos);
2997 snprintf(pos, end - pos, " peer=%d", params->auth_init.peer);
2998 STR_CUR_TO_END(pos);
3002 snprintf(pos, end - pos, " conf=%s",
3005 STR_CUR_TO_END(pos);
3009 strncpy(pos, " ssid=", end - pos);
3010 STR_CUR_TO_END(pos);
3011 dpp_ssid_bin2str(pos, params->auth_init.ssid,
3013 STR_CUR_TO_END(pos);
3017 snprintf(pos, end - pos, " configurator=%d",
3019 STR_CUR_TO_END(pos);
3023 snprintf(pos, end - pos, " role=%s",
3029 strncpy(pos, "DPP_QR_CODE", end - pos);
3030 STR_CUR_TO_END(pos);
3033 snprintf(pos, end - pos, " %s", params->dpp_qr_code);
3037 strncpy(pos, "DPP_CHIRP", end - pos);
3038 STR_CUR_TO_END(pos);
3041 snprintf(pos, end - pos, " own=%d", params->chirp.id);
3042 STR_CUR_TO_END(pos);
3046 snprintf(pos, end - pos, " listen=%d", params->chirp.freq);
3050 strncpy(pos, "DPP_LISTEN", end - pos);
3051 STR_CUR_TO_END(pos);
3054 snprintf(pos, end - pos, " %d", params->listen.freq);
3055 STR_CUR_TO_END(pos);
3059 snprintf(pos, end - pos, " role=%s",
3065 strncpy(pos, "DPP_BOOTSTRAP_GEN", end - pos);
3066 STR_CUR_TO_END(pos);
3069 strncpy(pos, " type=qrcode", end - pos);
3070 STR_CUR_TO_END(pos);
3075 snprintf(pos, end - pos, " chan=%d/%d",
3078 STR_CUR_TO_END(pos);
3082 snprintf(pos, end - pos, " mac=%02x:%02x:%02x:%02x:%02x:%02x",
3086 STR_CUR_TO_END(pos);
3089 snprintf(pos, end - pos, " curve=%s",
3094 snprintf(pos, end - pos, "DPP_BOOTSTRAP_GET_URI %d", params->id);
3097 strncpy(pos, "SET dpp_configurator_params", end - pos);
3098 STR_CUR_TO_END(pos);
3101 snprintf(pos, end - pos, " peer=%d", params->configurator_set.peer);
3102 STR_CUR_TO_END(pos);
3106 snprintf(pos, end - pos, " conf=%s",
3109 STR_CUR_TO_END(pos);
3113 strncpy(pos, " ssid=", end - pos);
3114 STR_CUR_TO_END(pos);
3115 dpp_ssid_bin2str(pos, params->configurator_set.ssid,
3117 STR_CUR_TO_END(pos);
3121 snprintf(pos, end - pos, " configurator=%d",
3123 STR_CUR_TO_END(pos);
3127 snprintf(pos, end - pos, " role=%s",
3130 STR_CUR_TO_END(pos);
3134 snprintf(pos, end - pos, " curve=%s",
3136 STR_CUR_TO_END(pos);
3140 snprintf(pos, end - pos, " net_access_key_curve=%s",
3146 snprintf(pos, end - pos, "SET dpp_resp_wait_time %d",
3150 snprintf(pos, end - pos, "DPP_RECONFIG %d", params->network_id);