Home
last modified time | relevance | path

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

/linux-6.1.9/net/wireless/
Dtrace.h2464 struct cfg80211_pmk_conf *pmk_conf),
2466 TP_ARGS(wiphy, netdev, pmk_conf),
2474 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2481 MAC_ASSIGN(aa, pmk_conf->aa);
2482 __entry->pmk_len = pmk_conf->pmk_len;
2484 pmk_conf->pmk_r0_name ? WLAN_PMK_NAME_LEN : 0;
2485 memcpy(__get_dynamic_array(pmk), pmk_conf->pmk,
2486 pmk_conf->pmk_len);
2487 memcpy(__get_dynamic_array(pmk_r0_name), pmk_conf->pmk_r0_name,
2488 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.c15250 struct cfg80211_pmk_conf pmk_conf = {}; in nl80211_set_pmk() local
15270 pmk_conf.aa = nla_data(info->attrs[NL80211_ATTR_MAC]); in nl80211_set_pmk()
15271 if (memcmp(pmk_conf.aa, wdev->u.client.connected_addr, ETH_ALEN)) { in nl80211_set_pmk()
15276 pmk_conf.pmk = nla_data(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15277 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15278 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
15279 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) { in nl80211_set_pmk()
15285 pmk_conf.pmk_r0_name = in nl80211_set_pmk()
15288 ret = rdev_set_pmk(rdev, dev, &pmk_conf); in nl80211_set_pmk()