Lines Matching refs:param
1560 char *pos, *param; in hostapd_ctrl_iface_radar() local
1567 param = os_strchr(cmd, ' '); in hostapd_ctrl_iface_radar()
1568 if (param == NULL) in hostapd_ctrl_iface_radar()
1570 *param++ = '\0'; in hostapd_ctrl_iface_radar()
1586 pos = os_strstr(param, "freq="); in hostapd_ctrl_iface_radar()
1590 pos = os_strstr(param, "ht_enabled=1"); in hostapd_ctrl_iface_radar()
1594 pos = os_strstr(param, "chan_offset="); in hostapd_ctrl_iface_radar()
1598 pos = os_strstr(param, "chan_width="); in hostapd_ctrl_iface_radar()
1602 pos = os_strstr(param, "cf1="); in hostapd_ctrl_iface_radar()
1606 pos = os_strstr(param, "cf2="); in hostapd_ctrl_iface_radar()
1647 char *pos, *param; in hostapd_ctrl_iface_mgmt_tx_status_process() local
1661 param = os_strstr(pos, "stype="); in hostapd_ctrl_iface_mgmt_tx_status_process()
1662 if (param) { in hostapd_ctrl_iface_mgmt_tx_status_process()
1663 param += 6; in hostapd_ctrl_iface_mgmt_tx_status_process()
1664 stype = atoi(param); in hostapd_ctrl_iface_mgmt_tx_status_process()
1667 param = os_strstr(pos, " ok="); in hostapd_ctrl_iface_mgmt_tx_status_process()
1668 if (param) { in hostapd_ctrl_iface_mgmt_tx_status_process()
1669 param += 4; in hostapd_ctrl_iface_mgmt_tx_status_process()
1670 ok = atoi(param); in hostapd_ctrl_iface_mgmt_tx_status_process()
1673 param = os_strstr(pos, " buf="); in hostapd_ctrl_iface_mgmt_tx_status_process()
1674 if (!param) in hostapd_ctrl_iface_mgmt_tx_status_process()
1676 param += 5; in hostapd_ctrl_iface_mgmt_tx_status_process()
1678 len = os_strlen(param); in hostapd_ctrl_iface_mgmt_tx_status_process()
1684 if (!buf || hexstr2bin(param, buf, len) < 0) { in hostapd_ctrl_iface_mgmt_tx_status_process()
1708 char *pos, *param; in hostapd_ctrl_iface_mgmt_rx_process() local
1722 param = os_strstr(pos, "freq="); in hostapd_ctrl_iface_mgmt_rx_process()
1723 if (param) { in hostapd_ctrl_iface_mgmt_rx_process()
1724 param += 5; in hostapd_ctrl_iface_mgmt_rx_process()
1725 freq = atoi(param); in hostapd_ctrl_iface_mgmt_rx_process()
1728 param = os_strstr(pos, " datarate="); in hostapd_ctrl_iface_mgmt_rx_process()
1729 if (param) { in hostapd_ctrl_iface_mgmt_rx_process()
1730 param += 10; in hostapd_ctrl_iface_mgmt_rx_process()
1731 datarate = atoi(param); in hostapd_ctrl_iface_mgmt_rx_process()
1734 param = os_strstr(pos, " ssi_signal="); in hostapd_ctrl_iface_mgmt_rx_process()
1735 if (param) { in hostapd_ctrl_iface_mgmt_rx_process()
1736 param += 12; in hostapd_ctrl_iface_mgmt_rx_process()
1737 ssi_signal = atoi(param); in hostapd_ctrl_iface_mgmt_rx_process()
1740 param = os_strstr(pos, " frame="); in hostapd_ctrl_iface_mgmt_rx_process()
1741 if (param == NULL) in hostapd_ctrl_iface_mgmt_rx_process()
1743 param += 7; in hostapd_ctrl_iface_mgmt_rx_process()
1745 len = os_strlen(param); in hostapd_ctrl_iface_mgmt_rx_process()
1754 if (hexstr2bin(param, buf, len) < 0) { in hostapd_ctrl_iface_mgmt_rx_process()
3006 int reply_size, const char *param) in hostapd_ctrl_iface_mib() argument
3009 if (os_strcmp(param, "radius_server") == 0) { in hostapd_ctrl_iface_mib()
3108 char *pos = cmd, *param; in hostapd_ctrl_iface_eapol_set() local
3113 param = pos; in hostapd_ctrl_iface_eapol_set()
3123 return eapol_auth_set_conf(sta->eapol_sm, param, pos); in hostapd_ctrl_iface_eapol_set()
5197 const char *param) in hostapd_ctrl_iface_dup_param() argument
5206 param); in hostapd_ctrl_iface_dup_param()
5210 if (os_strcmp(param, "wpa") == 0) { in hostapd_ctrl_iface_dup_param()
5213 } else if (os_strcmp(param, "wpa_key_mgmt") == 0 && in hostapd_ctrl_iface_dup_param()
5219 } else if (os_strcmp(param, "wpa_pairwise") == 0 && in hostapd_ctrl_iface_dup_param()
5226 } else if (os_strcmp(param, "rsn_pairwise") == 0 && in hostapd_ctrl_iface_dup_param()
5233 } else if (os_strcmp(param, "wpa_passphrase") == 0 && in hostapd_ctrl_iface_dup_param()
5237 } else if (os_strcmp(param, "wpa_psk") == 0 && in hostapd_ctrl_iface_dup_param()
5242 wpa_printf(MSG_WARNING, "DUP: %s cannot be duplicated", param); in hostapd_ctrl_iface_dup_param()
5246 res = hostapd_set_iface(dst_hapd->iconf, dst_hapd->conf, param, value); in hostapd_ctrl_iface_dup_param()
5251 wpa_printf(MSG_ERROR, "DUP: cannot stringify %s", param); in hostapd_ctrl_iface_dup_param()