Home | History | Annotate | Download | only in hostapd

Lines Matching refs:txt

148 static int hostapd_ctrl_iface_wps_pin(struct hostapd_data *hapd, char *txt)
150 char *pin = os_strchr(txt, ' ');
173 return hostapd_wps_add_pin(hapd, addr, txt, pin, timeout);
437 static int hostapd_ctrl_iface_wps_ap_pin(struct hostapd_data *hapd, char *txt,
444 pos = os_strchr(txt, ' ');
448 if (os_strcmp(txt, "disable") == 0) {
453 if (os_strcmp(txt, "random") == 0) {
462 if (os_strcmp(txt, "get") == 0) {
469 if (os_strcmp(txt, "set") == 0) {
490 static int hostapd_ctrl_iface_wps_config(struct hostapd_data *hapd, char *txt)
495 ssid = txt;
496 pos = os_strchr(txt, ' ');
2438 const char *txt, size_t len)
2443 hostapd_ctrl_iface_send(hapd, level, type, txt, len);