Home
last modified time | relevance | path

Searched refs:pmk_len (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/net/wireless/
H A Dsme.c847 params->fils.kek_len + params->fils.pmk_len + in cfg80211_connect_done()
882 if (params->fils.pmk_len) { in cfg80211_connect_done()
884 ev->cr.fils.pmk_len = params->fils.pmk_len; in cfg80211_connect_done()
886 params->fils.pmk_len); in cfg80211_connect_done()
887 next += params->fils.pmk_len; in cfg80211_connect_done()
991 info->fils.kek_len + info->fils.pmk_len + in cfg80211_roamed()
1020 if (info->fils.pmk_len) { in cfg80211_roamed()
1022 ev->rm.fils.pmk_len = info->fils.pmk_len; in cfg80211_roamed()
[all...]
H A Dtrace.h2372 __field(u8, pmk_len)
2374 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2382 __entry->pmk_len = pmk_conf->pmk_len;
2386 pmk_conf->pmk_len);
2392 "pmk_len=%u, pmk: %s pmk_r0_name: %s", WIPHY_PR_ARG,
2393 NETDEV_PR_ARG, MAC_PR_ARG(aa), __entry->pmk_len,
H A Dnl80211.c10892 pmksa.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_setdel_pmksa()
14151 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
14152 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
14153 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) { in nl80211_set_pmk()
16066 cr->fils.kek_len + cr->fils.pmk_len + in nl80211_send_connect_result()
16101 nla_put(msg, NL80211_ATTR_PMK, cr->fils.pmk_len, cr->fils.pmk)) || in nl80211_send_connect_result()
16125 info->fils.kek_len + info->fils.pmk_len + in nl80211_send_roamed()
16152 nla_put(msg, NL80211_ATTR_PMK, info->fils.pmk_len, info->fils.pmk)) || in nl80211_send_roamed()
/kernel/linux/linux-6.6/net/wireless/
H A Dsme.c998 params->fils.kek_len + params->fils.pmk_len + in cfg80211_connect_done()
1038 if (params->fils.pmk_len) { in cfg80211_connect_done()
1040 ev->cr.fils.pmk_len = params->fils.pmk_len; in cfg80211_connect_done()
1042 params->fils.pmk_len); in cfg80211_connect_done()
1043 next += params->fils.pmk_len; in cfg80211_connect_done()
1213 info->fils.kek_len + info->fils.pmk_len + in cfg80211_roamed()
1241 if (info->fils.pmk_len) { in cfg80211_roamed()
1243 ev->rm.fils.pmk_len = info->fils.pmk_len; in cfg80211_roamed()
[all...]
H A Dtrace.h2488 __field(u8, pmk_len)
2490 __dynamic_array(u8, pmk, pmk_conf->pmk_len)
2498 __entry->pmk_len = pmk_conf->pmk_len;
2502 pmk_conf->pmk_len);
2508 "pmk_len=%u, pmk: %s pmk_r0_name: %s", WIPHY_PR_ARG,
2509 NETDEV_PR_ARG, __entry->aa, __entry->pmk_len,
H A Dnl80211.c12230 pmksa.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_setdel_pmksa()
15559 pmk_conf.pmk_len = nla_len(info->attrs[NL80211_ATTR_PMK]); in nl80211_set_pmk()
15560 if (pmk_conf.pmk_len != WLAN_PMK_LEN && in nl80211_set_pmk()
15561 pmk_conf.pmk_len != WLAN_PMK_LEN_SUITE_B_192) { in nl80211_set_pmk()
18077 cr->fils.kek_len + cr->fils.pmk_len + in nl80211_send_connect_result()
18113 nla_put(msg, NL80211_ATTR_PMK, cr->fils.pmk_len, cr->fils.pmk)) || in nl80211_send_connect_result()
18191 info->fils.kek_len + info->fils.pmk_len + in nl80211_send_roamed()
18219 nla_put(msg, NL80211_ATTR_PMK, info->fils.pmk_len, info->fils.pmk)) || in nl80211_send_roamed()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h905 * @pmk_len: Length of PMK data.
914 __le16 pmk_len; member
926 * @pmk_len: Length of PMK data.
936 u8 pmk_len; member
H A Dcfg80211.c1689 static int brcmf_set_pmk(struct brcmf_if *ifp, const u8 *pmk_data, u16 pmk_len) in brcmf_set_pmk() argument
1698 pmk.key_len = cpu_to_le16(pmk_len); in brcmf_set_pmk()
1700 memcpy(pmk.key, pmk_data, pmk_len); in brcmf_set_pmk()
1707 pmk_len); in brcmf_set_pmk()
5911 if (conf->pmk_len > BRCMF_WSEC_MAX_PSK_LEN) in brcmf_cfg80211_set_pmk()
5914 return brcmf_set_pmk(ifp, conf->pmk, conf->pmk_len); in brcmf_cfg80211_set_pmk()
/kernel/linux/linux-5.10/include/net/
H A Dcfg80211.h2864 * @pmk_len: Length of the @pmk. The length of @pmk can differ depending on
2888 size_t pmk_len; member
3265 * @pmk_len: PMK length in bytes.
3273 u8 pmk_len; member
6807 * @pmk_len: Length of @pmk in octets
6817 size_t pmk_len; member
/kernel/linux/linux-6.6/include/net/
H A Dcfg80211.h3260 * @pmk_len: Length of the @pmk. The length of @pmk can differ depending on
3284 size_t pmk_len; member
3665 * @pmk_len: PMK length in bytes.
3673 u8 pmk_len; member
7717 * @pmk_len: Length of @pmk in octets
7727 size_t pmk_len; member
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcfg80211.c1349 static int brcmf_set_pmk(struct brcmf_if *ifp, const u8 *pmk_data, u16 pmk_len) in brcmf_set_pmk() argument
1358 pmk.key_len = cpu_to_le16(pmk_len); in brcmf_set_pmk()
1360 memcpy(pmk.key, pmk_data, pmk_len); in brcmf_set_pmk()
1367 pmk_len); in brcmf_set_pmk()
5458 if (conf->pmk_len > BRCMF_WSEC_MAX_PSK_LEN) in brcmf_cfg80211_set_pmk()
5461 return brcmf_set_pmk(ifp, conf->pmk, conf->pmk_len); in brcmf_cfg80211_set_pmk()

Completed in 95 milliseconds