Lines Matching refs:conf
267 if (wpa_auth->conf.wpa_gmk_rekey) {
268 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
295 if (wpa_auth->conf.wpa_group_rekey) {
296 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey,
372 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
411 * @conf: Configuration for WPA authenticator
416 struct wpa_auth_config *conf,
426 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
465 if (wpa_auth->conf.wpa_gmk_rekey) {
466 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
470 if (wpa_auth->conf.wpa_group_rekey) {
471 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey, 0,
476 if (WPA_GET_BE32(conf->ip_addr_start)) {
477 int count = WPA_GET_BE32(conf->ip_addr_end) -
478 WPA_GET_BE32(conf->ip_addr_start) + 1;
544 * @conf: Configuration for WPA authenticator
547 struct wpa_auth_config *conf)
553 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
564 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
601 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
668 start = WPA_GET_BE32(sm->wpa_auth->conf.ip_addr_start);
693 if (sm->wpa_auth->conf.wpa_strict_rekey && sm->has_GTK) {
783 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain,
815 if (group && wpa_auth->conf.wpa_group != WPA_CIPHER_TKIP) {
905 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
1183 if (!wpa_auth->conf.peerkey) {
1464 hdr->version = wpa_auth->conf.eapol_version;
1480 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1594 wpa_auth->conf.corrupt_gtk_rekey_mic_probability > 0.0 &&
1596 wpa_auth->conf.corrupt_gtk_rekey_mic_probability) {
1629 if (ctr == 1 && wpa_auth->conf.tx_status)
1999 if (sm->TimeoutCtr > sm->wpa_auth->conf.wpa_pairwise_update_count) {
2352 if (sm->wpa_auth->conf.disable_gtk) {
2558 u32 start = WPA_GET_BE32(wpa_auth->conf.ip_addr_start);
2622 len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2635 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2648 if (sm->wpa_auth->conf.disable_gtk) {
2691 if (sm->TimeoutCtr > sm->wpa_auth->conf.wpa_pairwise_update_count) {
2706 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) &&
2721 if (sm->wpa_auth->conf.disable_gtk) {
2805 struct wpa_auth_config *conf;
2807 conf = &sm->wpa_auth->conf;
2814 res = wpa_write_ftie(conf, conf->r0_key_holder,
2815 conf->r0_key_holder_len,
2832 WPA_PUT_LE32(pos, conf->reassociation_deadline);
2839 WPA_PUT_LE32(pos, conf->r0_key_lifetime * 60);
2847 os_memcpy(addr + 4, sm->wpa_auth->conf.ip_addr_mask, 4);
2848 os_memcpy(addr + 8, sm->wpa_auth->conf.ip_addr_go, 4);
2879 if (sm->wpa_auth->conf.wpa_ptk_rekey) {
2881 eloop_register_timeout(sm->wpa_auth->conf.
2986 sm->wpa_auth->conf.wpa_pairwise_update_count) {
2991 sm->wpa_auth->conf.wpa_pairwise_update_count);
3015 sm->wpa_auth->conf.wpa_pairwise_update_count) {
3020 sm->wpa_auth->conf.wpa_pairwise_update_count);
3055 if (sm->GTimeoutCtr > sm->wpa_auth->conf.wpa_group_update_count) {
3072 if (sm->wpa_auth->conf.disable_gtk) {
3137 sm->wpa_auth->conf.wpa_group_update_count);
3157 sm->wpa_auth->conf.wpa_group_update_count)
3187 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
3189 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
3314 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
3383 wpa_cipher_to_alg(wpa_auth->conf.wpa_group),
3389 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
3393 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
3394 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
3580 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN),
3581 wpa_bool_txt(wpa_auth->conf.rsn_preauth));
3616 !!wpa_auth->conf.wpa_strict_rekey,
3617 wpa_auth->conf.wpa_group_update_count,
3618 wpa_auth->conf.wpa_pairwise_update_count,
3619 wpa_cipher_key_len(wpa_auth->conf.wpa_group) * 8,
3775 sm->wpa_auth->conf.disable_pmksa_caching)
3817 if (wpa_auth->conf.disable_pmksa_caching)