Lines Matching refs:conf
262 if (wpa_auth->conf.wpa_gmk_rekey) {
263 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
290 if (wpa_auth->conf.wpa_group_rekey) {
291 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey,
367 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
406 * @conf: Configuration for WPA authenticator
411 struct wpa_auth_config *conf,
420 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
458 if (wpa_auth->conf.wpa_gmk_rekey) {
459 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
463 if (wpa_auth->conf.wpa_group_rekey) {
464 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey, 0,
469 if (WPA_GET_BE32(conf->ip_addr_start)) {
470 int count = WPA_GET_BE32(conf->ip_addr_end) -
471 WPA_GET_BE32(conf->ip_addr_start) + 1;
542 * @conf: Configuration for WPA authenticator
545 struct wpa_auth_config *conf)
551 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
562 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
599 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
654 start = WPA_GET_BE32(sm->wpa_auth->conf.ip_addr_start);
679 if (sm->wpa_auth->conf.wpa_strict_rekey && sm->has_GTK) {
769 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain,
801 if (group && wpa_auth->conf.wpa_group != WPA_CIPHER_TKIP) {
890 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
1174 u32 start = WPA_GET_BE32(wpa_auth->conf.
1211 if (!wpa_auth->conf.peerkey) {
1470 hdr->version = wpa_auth->conf.eapol_version;
1486 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1590 wpa_auth->conf.corrupt_gtk_rekey_mic_probability > 0.0 &&
1592 wpa_auth->conf.corrupt_gtk_rekey_mic_probability) {
1625 if (ctr == 1 && wpa_auth->conf.tx_status)
2145 len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2158 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2171 if (sm->wpa_auth->conf.disable_gtk) {
2229 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) &&
2244 if (sm->wpa_auth->conf.disable_gtk) {
2328 struct wpa_auth_config *conf;
2330 conf = &sm->wpa_auth->conf;
2337 res = wpa_write_ftie(conf, conf->r0_key_holder,
2338 conf->r0_key_holder_len,
2355 WPA_PUT_LE32(pos, conf->reassociation_deadline);
2362 WPA_PUT_LE32(pos, conf->r0_key_lifetime * 60);
2370 os_memcpy(addr + 4, sm->wpa_auth->conf.ip_addr_mask, 4);
2371 os_memcpy(addr + 8, sm->wpa_auth->conf.ip_addr_go, 4);
2401 if (sm->wpa_auth->conf.wpa_ptk_rekey) {
2403 eloop_register_timeout(sm->wpa_auth->conf.
2593 if (sm->wpa_auth->conf.disable_gtk) {
2703 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
2705 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
2830 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2899 wpa_cipher_to_alg(wpa_auth->conf.wpa_group),
2905 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
2909 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
2910 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
3096 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN),
3097 wpa_bool_txt(wpa_auth->conf.rsn_preauth));
3132 !!wpa_auth->conf.wpa_strict_rekey,
3135 wpa_cipher_key_len(wpa_auth->conf.wpa_group) * 8,
3291 sm->wpa_auth->conf.disable_pmksa_caching)
3333 if (wpa_auth->conf.disable_pmksa_caching)