• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/wpa/src/ap/

Lines Matching defs:conf

277 	if (wpa_auth->conf.wpa_gmk_rekey) {
278 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
305 if (wpa_auth->conf.wpa_group_rekey) {
306 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey,
325 if (sm && sm->wpa_auth->conf.wpa_ptk_rekey) {
328 sm->wpa_auth->conf.wpa_ptk_rekey);
330 eloop_register_timeout(sm->wpa_auth->conf.wpa_ptk_rekey, 0,
399 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
438 * @conf: Configuration for WPA authenticator
443 struct wpa_auth_config *conf,
453 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
492 if (wpa_auth->conf.wpa_gmk_rekey) {
493 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
497 if (wpa_auth->conf.wpa_group_rekey) {
498 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey, 0,
503 if (WPA_GET_BE32(conf->ip_addr_start)) {
504 int count = WPA_GET_BE32(conf->ip_addr_end) -
505 WPA_GET_BE32(conf->ip_addr_start) + 1;
572 * @conf: Configuration for WPA authenticator
575 struct wpa_auth_config *conf)
581 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
592 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
629 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
696 start = WPA_GET_BE32(sm->wpa_auth->conf.ip_addr_start);
724 if (sm->wpa_auth->conf.wpa_strict_rekey && sm->has_GTK) {
818 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain,
850 if (group && wpa_auth->conf.wpa_group != WPA_CIPHER_TKIP) {
958 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
1491 hdr->version = wpa_auth->conf.eapol_version;
1507 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1627 wpa_auth->conf.corrupt_gtk_rekey_mic_probability > 0.0 &&
1629 wpa_auth->conf.corrupt_gtk_rekey_mic_probability) {
1662 if (ctr == 1 && wpa_auth->conf.tx_status)
1667 if (wpa_auth->conf.wpa_disable_eapol_key_retries &&
2109 if (sm->TimeoutCtr > sm->wpa_auth->conf.wpa_pairwise_update_count) {
2272 struct wpa_auth_config *conf = &wpa_auth->conf;
2278 conf->ssid, conf->ssid_len,
2279 conf->mobility_domain,
2280 conf->r0_key_holder,
2281 conf->r0_key_holder_len,
2293 res = wpa_derive_pmk_r1_name(pmk_r0_name, conf->r1_key_holder,
2681 if (sm->wpa_auth->conf.disable_gtk ||
2982 u32 start = WPA_GET_BE32(wpa_auth->conf.ip_addr_start);
3054 len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
3067 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
3080 if (sm->wpa_auth->conf.disable_gtk ||
3154 if (sm->wpa_auth->conf.wpa_disable_eapol_key_retries &&
3159 if (sm->TimeoutCtr > sm->wpa_auth->conf.wpa_pairwise_update_count) {
3174 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) &&
3189 if (sm->wpa_auth->conf.disable_gtk ||
3278 struct wpa_auth_config *conf;
3280 conf = &sm->wpa_auth->conf;
3289 res = wpa_write_ftie(conf, use_sha384,
3290 conf->r0_key_holder,
3291 conf->r0_key_holder_len,
3308 WPA_PUT_LE32(pos, conf->reassociation_deadline);
3315 WPA_PUT_LE32(pos, conf->r0_key_lifetime);
3323 os_memcpy(addr + 4, sm->wpa_auth->conf.ip_addr_mask, 4);
3324 os_memcpy(addr + 8, sm->wpa_auth->conf.ip_addr_go, 4);
3475 sm->wpa_auth->conf.wpa_pairwise_update_count) {
3480 sm->wpa_auth->conf.wpa_pairwise_update_count);
3504 sm->wpa_auth->conf.wpa_pairwise_update_count ||
3505 (sm->wpa_auth->conf.wpa_disable_eapol_key_retries &&
3511 sm->wpa_auth->conf.wpa_pairwise_update_count);
3546 if (sm->wpa_auth->conf.wpa_disable_eapol_key_retries &&
3551 if (sm->GTimeoutCtr > sm->wpa_auth->conf.wpa_group_update_count) {
3568 if (sm->wpa_auth->conf.disable_gtk ||
3698 sm->wpa_auth->conf.wpa_group_update_count);
3718 sm->wpa_auth->conf.wpa_group_update_count ||
3719 (sm->wpa_auth->conf.wpa_disable_eapol_key_retries &&
3750 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
3752 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
3877 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
3946 wpa_cipher_to_alg(wpa_auth->conf.wpa_group),
3952 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
3956 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
3957 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
4143 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN),
4144 wpa_bool_txt(wpa_auth->conf.rsn_preauth));
4179 !!wpa_auth->conf.wpa_strict_rekey,
4180 wpa_auth->conf.wpa_group_update_count,
4181 wpa_auth->conf.wpa_pairwise_update_count,
4182 wpa_cipher_key_len(wpa_auth->conf.wpa_group) * 8,
4367 sm->wpa_auth->conf.disable_pmksa_caching)
4420 if (wpa_auth->conf.disable_pmksa_caching)
4445 if (wpa_auth->conf.disable_pmksa_caching)
4872 if (a == data->auth || !a->conf.fils_cache_id_set ||
4873 os_memcmp(a->conf.fils_cache_id, data->cache_id,
4887 if (!wpa_auth->conf.fils_cache_id_set)
4890 idata.cache_id = wpa_auth->conf.fils_cache_id;
4903 struct wpa_auth_config *conf = &wpa_auth->conf;
4905 return wpa_write_ftie(conf, use_sha384, conf->r0_key_holder,
4906 conf->r0_key_holder_len,
5000 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) &&
5098 struct wpa_auth_config *conf;
5100 conf = &sm->wpa_auth->conf;
5109 res = wpa_write_ftie(conf, use_sha384,
5110 conf->r0_key_holder,
5111 conf->r0_key_holder_len,
5128 WPA_PUT_LE32(pos, conf->reassociation_deadline);
5135 WPA_PUT_LE32(pos, conf->r0_key_lifetime);