Home
last modified time | relevance | path

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

/linux/net/wireless/
H A Dtrace.h2581 struct cfg80211_pmk_conf *pmk_conf),
2583 TP_ARGS(wiphy, netdev, pmk_conf),
2591 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2598 MAC_ASSIGN(aa, pmk_conf->aa);
2599 __entry->pmk_len = pmk_conf->pmk_len;
2601 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0;
2602 memcpy(__get_dynamic_array(pmk), pmk_conf->pmk,
2603 pmk_conf->pmk_len);
2604 memcpy(__get_dynamic_array(pmk_r0_name), pmk_conf->pmk_r0_name,
2605 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0);
H A Drdev-ops.h1256 struct cfg80211_pmk_conf *pmk_conf) in rdev_set_pmk() argument
1260 trace_rdev_set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
1262 ret = rdev->ops->set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
H A Dnl80211.c15657 struct cfg80211_pmk_conf pmk_conf = {}; in nl80211_set_pmk() local
15673 pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_pmk()
15674 if (memcmp(pmk_conf.aa, wdev->u.client.connected_addr, ETH_ALEN)) in nl80211_set_pmk()
15677 pmk_conf.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15678 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15679 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
15680 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) in nl80211_set_pmk()
15684 pmk_conf.pmk_r0_name = in nl80211_set_pmk()
15687 return rdev_set_pmk(rdev, dev, &pmk_conf); in nl80211_set_pmk()