Lines Matching defs:conf
787 int wpa_write_mdie(struct wpa_auth_config *conf, u8 *buf, size_t len)
796 os_memcpy(pos, conf->mobility_domain, MOBILITY_DOMAIN_ID_LEN);
799 if (conf->ft_over_ds)
807 int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384,
849 os_memcpy(pos, conf->r1_key_holder, FT_R1KH_ID_LEN);
1417 int max_expires_in = wpa_auth->conf.r1_max_key_lifetime;
1550 if (wpa_auth->conf.r0kh_list)
1551 r0kh = *wpa_auth->conf.r0kh_list;
1597 if (wpa_auth->conf.r1kh_list)
1598 r1kh = *wpa_auth->conf.r1kh_list;
1621 if (f_r0kh_id_len != wpa_auth->conf.r0_key_holder_len ||
1622 os_memcmp_const(f_r0kh_id, wpa_auth->conf.r0_key_holder,
1633 if (os_memcmp_const(f_r1kh_id, wpa_auth->conf.r1_key_holder,
1646 if (!wpa_auth->conf.r0kh_list)
1649 for (r0kh = *wpa_auth->conf.r0kh_list; r0kh; r0kh = r0kh->next) {
1659 *wpa_auth->conf.r0kh_list = r0kh->next;
1695 if (!wpa_auth->conf.r0kh_list)
1712 r0kh->next = *wpa_auth->conf.r0kh_list;
1713 *wpa_auth->conf.r0kh_list = r0kh;
1731 if (!wpa_auth->conf.r1kh_list)
1734 for (r1kh = *wpa_auth->conf.r1kh_list; r1kh; r1kh = r1kh->next) {
1744 *wpa_auth->conf.r1kh_list = r1kh->next;
1768 if (!wpa_auth->conf.r1kh_list)
1778 r1kh->next = *wpa_auth->conf.r1kh_list;
1779 *wpa_auth->conf.r1kh_list = r1kh;
1805 if (wpa_auth->conf.r0kh_list)
1806 r0kh = *wpa_auth->conf.r0kh_list;
1817 if (wpa_auth->conf.r1kh_list)
1818 r1kh = *wpa_auth->conf.r1kh_list;
1836 if (wpa_auth->conf.r0kh_list)
1837 r0kh = *wpa_auth->conf.r0kh_list;
1847 *wpa_auth->conf.r0kh_list = r0kh_next;
1855 if (wpa_auth->conf.r1kh_list)
1856 r1kh = *wpa_auth->conf.r1kh_list;
1866 *wpa_auth->conf.r1kh_list = r1kh_next;
1888 if (!wpa_auth->conf.rkh_neg_timeout)
1904 wpa_auth->conf.rkh_neg_timeout);
1909 wpa_auth->conf.rkh_neg_timeout);
1934 const u8 *key, *f_r1kh_id = sm->wpa_auth->conf.r1_key_holder;
1962 sm->wpa_auth->conf.rkh_pull_retries;
1969 r0kh_timeout = sm->wpa_auth->conf.rkh_pull_timeout / 1000 +
2036 tsecs = sm->wpa_auth->conf.rkh_pull_timeout / 1000;
2037 tusecs = (sm->wpa_auth->conf.rkh_pull_timeout % 1000) * 1000;
2052 int expires_in = sm->wpa_auth->conf.r0_key_lifetime;
2086 const u8 *mdid = sm->wpa_auth->conf.mobility_domain;
2087 const u8 *r0kh = sm->wpa_auth->conf.r0_key_holder;
2088 size_t r0kh_len = sm->wpa_auth->conf.r0_key_holder_len;
2089 const u8 *r1kh = sm->wpa_auth->conf.r1_key_holder;
2090 const u8 *ssid = sm->wpa_auth->conf.ssid;
2091 size_t ssid_len = sm->wpa_auth->conf.ssid_len;
2092 int psk_local = sm->wpa_auth->conf.ft_psk_generate_local;
2093 int expires_in = sm->wpa_auth->conf.r0_key_lifetime;
2253 igtk_len = wpa_cipher_key_len(sm->wpa_auth->conf.group_mgmt_cipher);
2340 if (parse.wmm_tspec && sm->wpa_auth->conf.ap_mlme) {
2360 if (parse.wmm_tspec && !sm->wpa_auth->conf.ap_mlme) {
2424 struct wpa_auth_config *conf;
2436 conf = &sm->wpa_auth->conf;
2462 res = wpa_write_rsn_ie(conf, pos, end - pos, sm->pmk_r1_name);
2471 res = wpa_write_mdie(conf, pos, end - pos);
2544 r0kh_id = conf->r0_key_holder;
2545 r0kh_id_len = conf->r0_key_holder_len;
2549 res = wpa_write_ftie(conf, use_sha384, r0kh_id, r0kh_id_len,
2678 const u8 *mdid = wpa_auth->conf.mobility_domain;
2681 const u8 *r1kh = wpa_auth->conf.r1_key_holder;
2682 const u8 *ssid = wpa_auth->conf.ssid;
2683 size_t ssid_len = wpa_auth->conf.ssid_len;
2753 key_mgmt = parse->key_mgmt & sm->wpa_auth->conf.wpa_key_mgmt;
2773 ciphers = parse->pairwise_cipher & sm->wpa_auth->conf.rsn_pairwise;
2798 struct wpa_auth_config *conf = &wpa_auth->conf;
2805 if (conf->r0_key_holder_len != r0kh_id_len ||
2806 os_memcmp(conf->r0_key_holder, r0kh_id, conf->r0_key_holder_len) !=
2818 conf->r1_key_holder,
2868 struct wpa_auth_config *conf;
2884 conf = &sm->wpa_auth->conf;
2899 sm->wpa_auth->conf.mobility_domain,
2948 sm->wpa_auth->conf.r1_key_holder, sm->addr,
2954 if (conf->ft_psk_generate_local &&
3043 ret = wpa_write_rsn_ie(conf, pos, end - pos, parse.rsn_pmkid);
3048 ret = wpa_write_mdie(conf, pos, end - pos);
3053 ret = wpa_write_ftie(conf, use_sha384, parse.r0kh_id, parse.r0kh_id_len,
3093 sm->ft_pending_pull_left_retries = sm->wpa_auth->conf.rkh_pull_retries;
3159 sm->wpa_auth->conf.mobility_domain,
3234 if (os_memcmp_const(parse.r1kh_id, sm->wpa_auth->conf.r1_key_holder,
3241 sm->wpa_auth->conf.r1_key_holder, FT_R1KH_ID_LEN);
3379 if (!sm->wpa_auth->conf.ft_over_ds) {
3436 sm->ft_pending_pull_left_retries = sm->wpa_auth->conf.rkh_pull_retries;
3648 wpa_auth->conf.rkh_pos_timeout);
3663 wpa_auth->conf.rkh_pos_timeout);
3810 wpa_auth->conf.rkh_pos_timeout);
3824 wpa_auth->conf.rkh_pos_timeout);
4265 wpa_auth->conf.rkh_pos_timeout);
4272 wpa_auth->conf.rkh_pos_timeout);
4523 .len = wpa_auth->conf.r0_key_holder_len,
4524 .data = wpa_auth->conf.r0_key_holder },
4555 if (!wpa_auth->conf.pmk_r1_push)
4557 if (!wpa_auth->conf.r1kh_list)
4575 for (r1kh = *wpa_auth->conf.r1kh_list; r1kh; r1kh = r1kh->next) {