Home | History | Annotate | Download | only in hostapd

Lines Matching refs:conf

737 	os_memcpy(hapd->conf->qos_map_set, qos_map_set, count);
738 hapd->conf->qos_map_set_len = count;
750 u8 *qos_map_set = hapd->conf->qos_map_set;
751 u8 qos_map_set_len = hapd->conf->qos_map_set_len;
875 wpa_ssid_txt(hapd->conf->ssid.ssid,
876 hapd->conf->ssid.ssid_len));
883 hapd->conf->wps_state == 0 ? "disabled" :
884 (hapd->conf->wps_state == 1 ? "not configured" :
890 if (hapd->conf->wps_state && hapd->conf->wpa &&
891 hapd->conf->ssid.wpa_passphrase) {
893 hapd->conf->ssid.wpa_passphrase);
899 if (hapd->conf->wps_state && hapd->conf->wpa &&
900 hapd->conf->ssid.wpa_psk &&
901 hapd->conf->ssid.wpa_psk->group) {
904 hapd->conf->ssid.wpa_psk->psk, PMK_LEN);
912 if (hapd->conf->wpa && hapd->conf->wpa_key_mgmt) {
918 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) {
924 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) {
931 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) {
937 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) {
944 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) {
953 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK_SHA256) {
959 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) {
967 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE) {
981 if (hapd->conf->wpa) {
983 wpa_cipher_txt(hapd->conf->wpa_group));
989 if ((hapd->conf->wpa & WPA_PROTO_RSN) && hapd->conf->rsn_pairwise) {
995 ret = wpa_write_ciphers(pos, end, hapd->conf->rsn_pairwise,
1007 if ((hapd->conf->wpa & WPA_PROTO_WPA) && hapd->conf->wpa_pairwise) {
1013 ret = wpa_write_ciphers(pos, end, hapd->conf->wpa_pairwise,
1082 ret = hostapd_set_iface(hapd->iconf, hapd->conf, cmd, value);
1089 hapd->conf->deny_mac,
1090 hapd->conf->num_deny_mac, sta->addr,
1097 } else if (hapd->conf->macaddr_acl == DENY_UNLESS_ACCEPTED &&
1101 hapd->conf->accept_mac,
1102 hapd->conf->num_accept_mac,
1581 if (hapd->conf->ctrl_interface == NULL)
1584 len = os_strlen(hapd->conf->ctrl_interface) +
1585 os_strlen(hapd->conf->iface) + 2;
1591 hapd->conf->ctrl_interface, hapd->conf->iface);
1618 if (hapd->conf->ctrl_interface == NULL)
1621 if (mkdir(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
1631 if (hapd->conf->ctrl_interface_gid_set &&
1632 chown(hapd->conf->ctrl_interface, -1,
1633 hapd->conf->ctrl_interface_gid) < 0) {
1638 if (!hapd->conf->ctrl_interface_gid_set &&
1640 chown(hapd->conf->ctrl_interface, -1,
1654 if (chmod(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
1661 if (os_strlen(hapd->conf->ctrl_interface) + 1 +
1662 os_strlen(hapd->conf->iface) >= sizeof(addr.sun_path))
1712 if (hapd->conf->ctrl_interface_gid_set &&
1713 chown(fname, -1, hapd->conf->ctrl_interface_gid) < 0) {
1718 if (!hapd->conf->ctrl_interface_gid_set &&
1764 if (hapd->conf->ctrl_interface &&
1765 rmdir(hapd->conf->ctrl_interface) < 0) {
1773 hapd->conf->ctrl_interface,