Hi, What buffer size need be defined for calling wpa_ctrl_recv(ctrl_conn, buf, &len)? And what's happen if the replay_len is smaller than the real size, will the function returns a trucked data, or an error? Thank you. Jim