Home | History | Annotate | Download | only in hostapd

Lines Matching refs:conf

705 	os_memcpy(hapd->conf->qos_map_set, qos_map_set, count);
706 hapd->conf->qos_map_set_len = count;
718 u8 *qos_map_set = hapd->conf->qos_map_set;
719 u8 qos_map_set_len = hapd->conf->qos_map_set_len;
1092 WPA_ASSERT(hapd->conf->wpa_key_mgmt);
1094 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) {
1100 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) {
1107 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) {
1113 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) {
1120 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) {
1128 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) {
1134 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) {
1143 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK_SHA256) {
1149 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) {
1157 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE) {
1164 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B) {
1170 if (hapd->conf->wpa_key_mgmt &
1179 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FILS_SHA256) {
1185 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FILS_SHA384) {
1214 wpa_ssid_txt(hapd->conf->ssid.ssid,
1215 hapd->conf->ssid.ssid_len));
1222 hapd->conf->wps_state == 0 ? "disabled" :
1223 (hapd->conf->wps_state == 1 ? "not configured" :
1229 if (hapd->conf->wps_state && hapd->conf->wpa &&
1230 hapd->conf->ssid.wpa_passphrase) {
1232 hapd->conf->ssid.wpa_passphrase);
1238 if (hapd->conf->wps_state && hapd->conf->wpa &&
1239 hapd->conf->ssid.wpa_psk &&
1240 hapd->conf->ssid.wpa_psk->group) {
1243 hapd->conf->ssid.wpa_psk->psk, PMK_LEN);
1251 if (hapd->conf->wpa) {
1252 ret = os_snprintf(pos, end - pos, "wpa=%d\n", hapd->conf->wpa);
1258 if (hapd->conf->wpa && hapd->conf->wpa_key_mgmt) {
1272 if (hapd->conf->wpa) {
1274 wpa_cipher_txt(hapd->conf->wpa_group));
1280 if ((hapd->conf->wpa & WPA_PROTO_RSN) && hapd->conf->rsn_pairwise) {
1286 ret = wpa_write_ciphers(pos, end, hapd->conf->rsn_pairwise,
1298 if ((hapd->conf->wpa & WPA_PROTO_WPA) && hapd->conf->wpa_pairwise) {
1304 ret = wpa_write_ciphers(pos, end, hapd->conf->wpa_pairwise,
1367 if (!hapd->conf->mbo_enabled)
1386 ret = hostapd_set_iface(hapd->iconf, hapd->conf, cmd, value);
1393 hapd->conf->deny_mac,
1394 hapd->conf->num_deny_mac, sta->addr,
1402 } else if (hapd->conf->macaddr_acl == DENY_UNLESS_ACCEPTED &&
1406 hapd->conf->accept_mac,
1407 hapd->conf->num_accept_mac,
1746 ifname = hapd->conf->iface;
1834 const char *ifname = hapd->conf->iface;
2290 if (!(hapd->conf->radio_measurements[0] &
2810 if (hapd->conf->ctrl_interface == NULL)
2813 len = os_strlen(hapd->conf
2814 os_strlen(hapd->conf->iface) + 2;
2820 hapd->conf->ctrl_interface, hapd->conf->iface);
2853 if (hapd->conf->ctrl_interface == NULL)
2856 pos = os_strstr(hapd->conf->ctrl_interface, "udp:");
2911 os_free(hapd->conf->ctrl_interface);
2912 hapd->conf->ctrl_interface = tmp;
2944 if (hapd->conf->ctrl_interface == NULL)
2947 if (mkdir(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
2958 if (hapd->conf->ctrl_interface_gid_set &&
2959 chown(hapd->conf->ctrl_interface, -1,
2960 hapd->conf->ctrl_interface_gid) < 0) {
2966 if (!hapd->conf->ctrl_interface_gid_set &&
2968 chown(hapd->conf->ctrl_interface, -1,
2983 if (chmod(hapd->conf->ctrl_interface, S_IRWXU | S_IRWXG) < 0) {
2990 if (os_strlen(hapd->conf->ctrl_interface) + 1 +
2991 os_strlen(hapd->conf->iface) >= sizeof(addr.sun_path))
3042 if (hapd->conf->ctrl_interface_gid_set &&
3043 chown(fname, -1, hapd->conf->ctrl_interface_gid) < 0) {
3049 if (!hapd->conf->ctrl_interface_gid_set &&
3105 if (hapd->conf->ctrl_interface &&
3106 rmdir(hapd->conf->ctrl_interface) < 0) {
3114 hapd->conf->ctrl_interface,
3247 if (os_strcmp(ifname, hapd->conf->iface) == 0)
3273 src_hapd->conf->wpa);
3275 src_hapd->conf->wpa_key_mgmt) {
3281 src_hapd->conf->wpa_pairwise) {
3284 src_hapd->conf->wpa_pairwise, " ");
3288 src_hapd->conf->rsn_pairwise) {
3291 src_hapd->conf->rsn_pairwise, " ");
3295 src_hapd->conf->ssid.wpa_passphrase) {
3297 src_hapd->conf->ssid.wpa_passphrase);
3299 src_hapd->conf->ssid.wpa_psk_set) {
3301 src_hapd->conf->ssid.wpa_psk->psk, PMK_LEN);
3307 res = hostapd_set_iface(dst_hapd->iconf, dst_hapd->conf, param, value);
3340 struct hostapd_bss_config *conf;
3342 conf = iface->conf->bss[j];
3346 conf->iface,
3347 conf->ctrl_interface ?
3348 conf->ctrl_interface : "N/A");
3351 conf->iface);