Home | History | Annotate | Download | only in ap

Lines Matching refs:conf

233 	if (wpa_auth->conf.wpa_gmk_rekey) {
234 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
254 if (wpa_auth->conf.wpa_group_rekey) {
255 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey,
331 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
370 * @conf: Configuration for WPA authenticator
375 struct wpa_auth_config *conf,
384 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
420 if (wpa_auth->conf.wpa_gmk_rekey) {
421 eloop_register_timeout(wpa_auth->conf.wpa_gmk_rekey, 0,
425 if (wpa_auth->conf.wpa_group_rekey) {
426 eloop_register_timeout(wpa_auth->conf.wpa_group_rekey, 0,
431 if (WPA_GET_BE32(conf->ip_addr_start)) {
432 int count = WPA_GET_BE32(conf->ip_addr_end) -
433 WPA_GET_BE32(conf->ip_addr_start) + 1;
504 * @conf: Configuration for WPA authenticator
507 struct wpa_auth_config *conf)
513 os_memcpy(&wpa_auth->conf, conf, sizeof(*conf));
524 group->GTK_len = wpa_cipher_key_len(wpa_auth->conf.wpa_group);
560 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
615 start = WPA_GET_BE32(sm->wpa_auth->conf.ip_addr_start);
639 if (sm->wpa_auth->conf.wpa_strict_rekey && sm->has_GTK) {
729 os_memcmp(wpa_auth->conf.mobility_domain, mdie->mobility_domain,
761 if (group && wpa_auth->conf.wpa_group != WPA_CIPHER_TKIP) {
800 if (wpa_auth == NULL || !wpa_auth->conf.wpa || sm == NULL)
1050 u32 start = WPA_GET_BE32(wpa_auth->conf.
1087 if (!wpa_auth->conf.peerkey) {
1335 hdr->version = wpa_auth->conf.eapol_version;
1349 alg = pairwise ? sm->pairwise : wpa_auth->conf.wpa_group;
1427 wpa_auth->conf.corrupt_gtk_rekey_mic_probability > 0.0 &&
1429 wpa_auth->conf.corrupt_gtk_rekey_mic_probability) {
1462 if (ctr == 1 && wpa_auth->conf.tx_status)
1926 len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
1939 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
1952 if (sm->wpa_auth->conf.disable_gtk) {
2010 (sm->wpa_auth->conf.wpa & WPA_PROTO_RSN) &&
2023 if (sm->wpa_auth->conf.disable_gtk) {
2102 struct wpa_auth_config *conf;
2104 conf = &sm->wpa_auth->conf;
2105 res = wpa_write_ftie(conf, conf->r0_key_holder,
2106 conf->r0_key_holder_len,
2121 WPA_PUT_LE32(pos, conf->reassociation_deadline);
2128 WPA_PUT_LE32(pos, conf->r0_key_lifetime * 60);
2136 os_memcpy(addr + 4, sm->wpa_auth->conf.ip_addr_mask, 4);
2137 os_memcpy(addr + 8, sm->wpa_auth->conf.ip_addr_go, 4);
2167 if (sm->wpa_auth->conf.wpa_ptk_rekey) {
2169 eloop_register_timeout(sm->wpa_auth->conf.
2358 if (sm->wpa_auth->conf.disable_gtk) {
2467 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
2469 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
2594 size_t len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2663 wpa_cipher_to_alg(wpa_auth->conf.wpa_group),
2669 if (wpa_auth->conf.ieee80211w != NO_MGMT_FRAME_PROTECTION) {
2673 alg = wpa_cipher_to_alg(wpa_auth->conf.group_mgmt_cipher);
2674 len = wpa_cipher_key_len(wpa_auth->conf.group_mgmt_cipher);
2860 wpa_bool_txt(wpa_auth->conf.wpa & WPA_PROTO_RSN),
2861 wpa_bool_txt(wpa_auth->conf.rsn_preauth));
2896 !!wpa_auth->conf.wpa_strict_rekey,
2899 wpa_cipher_key_len(wpa_auth->conf.wpa_group) * 8,
3054 sm->wpa_auth->conf.disable_pmksa_caching)