Home
last modified time | relevance | path

Searched refs:pmk_conf (Results 1 – 3 of 3) sorted by relevance

/net/wireless/
Dtrace.h2460 struct cfg80211_pmk_conf *pmk_conf),
2462 TP_ARGS(wiphy, netdev, pmk_conf),
2470 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2477 MAC_ASSIGN(aa, pmk_conf->aa);
2478 __entry->pmk_len = pmk_conf->pmk_len;
2480 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0;
2481 memcpy(__get_dynamic_array(pmk), pmk_conf->pmk,
2482 pmk_conf->pmk_len);
2483 memcpy(__get_dynamic_array(pmk_r0_name), pmk_conf->pmk_r0_name,
2484 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0);
Drdev-ops.h1240 struct cfg80211_pmk_conf *pmk_conf) in rdev_set_pmk() argument
1244 trace_rdev_set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
1246 ret = rdev->ops->set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
Dnl80211.c15368 struct cfg80211_pmk_conf pmk_conf = {}; in nl80211_set_pmk() local
15388 pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_pmk()
15389 if (memcmp(pmk_conf.aa, wdev->u.client.connected_addr, ETH_ALEN)) { in nl80211_set_pmk()
15394 pmk_conf.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15395 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15396 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
15397 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) { in nl80211_set_pmk()
15403 pmk_conf.pmk_r0_name = in nl80211_set_pmk()
15406 ret = rdev_set_pmk(rdev, dev, &pmk_conf); in nl80211_set_pmk()