Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/wireless/
Dtrace.h2364 struct cfg80211_pmk_conf *pmk_conf),
2366 TP_ARGS(wiphy, netdev, pmk_conf),
2374 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2381 MAC_ASSIGN(aa, pmk_conf->aa);
2382 __entry->pmk_len = pmk_conf->pmk_len;
2384 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0;
2385 memcpy(__get_dynamic_array(pmk), pmk_conf->pmk,
2386 pmk_conf->pmk_len);
2387 memcpy(__get_dynamic_array(pmk_r0_name), pmk_conf->pmk_r0_name,
2388 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0);
Drdev-ops.h1232 struct cfg80211_pmk_conf *pmk_conf) in rdev_set_pmk() argument
1236 trace_rdev_set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
1238 ret = rdev->ops->set_pmk(&rdev->wiphy, dev, pmk_conf); in rdev_set_pmk()
Dnl80211.c14088 struct cfg80211_pmk_conf pmk_conf = {}; in nl80211_set_pmk() local
14108 pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_pmk()
14109 if (memcmp(pmk_conf.aa, wdev->current_bss->pub.bssid, ETH_ALEN)) { in nl80211_set_pmk()
14114 pmk_conf.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
14115 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
14116 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
14117 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) { in nl80211_set_pmk()
14123 pmk_conf.pmk_r0_name = in nl80211_set_pmk()
14126 ret = rdev_set_pmk(rdev, dev, &pmk_conf); in nl80211_set_pmk()