ESP-IDF
wps_credential::key_len
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (2/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
wps_credential::key_len
wps_credential::key_len field
Syntax
Show:
Summary
Declaration
from
wps.h:54
size_t
key_len
;
Examples
References
from
examples
Code
Location
Referrer
size_t
key_len
;
wps.h:54
os_memcpy
(
config
->
sta
.
password
,
sm
->
creds
[
0
]
.
key
,
sm
->
creds
[
0
]
.
key_len
)
;
esp_wps.c:845
wps_finish()
os_memcpy
(
evt
.
ap_cred
[
i
]
.
passphrase
,
sm
->
creds
[
i
]
.
key
,
sm
->
creds
[
i
]
.
key_len
)
;
esp_wps.c:1352
wifi_station_wps_success_internal()
cred
->
key_len
=
key_len
;
wps_attr_process.c:188
wps_process_cred_network_key()
cred
->
key_len
>
8
&&
cred
->
key_len
<
64
&&
wps_attr_process.c:214
wps_workaround_cred_key()
cred
->
key
[
cred
->
key_len
-
1
]
==
0
)
{
wps_attr_process.c:215
wps_workaround_cred_key()
cred
->
key_len
--
;
wps_attr_process.c:230
wps_workaround_cred_key()
(
cred
->
key_len
<
8
||
has_ctrl_char
(
cred
->
key
,
cred
->
key_len
)
)
)
{
wps_attr_process.c:236
wps_workaround_cred_key()
cred
.
key_len
=
os_strlen
(
hapd
->
conf
->
ssid
.
wpa_passphrase
)
;
wps_hostapd.c:529
hostapd_wps_config_ap()
memcpy
(
cred
.
key
,
hapd
->
conf
->
ssid
.
wpa_passphrase
,
cred
.
key_len
)
;
wps_hostapd.c:530
hostapd_wps_config_ap()
wpabuf_put_be16
(
msg
,
cred
->
key_len
)
;
wps_registrar.c:1596
wps_build_cred_network_key()
wpabuf_put_data
(
msg
,
cred
->
key
,
cred
->
key_len
)
;
wps_registrar.c:1597
wps_build_cred_network_key()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
wps_credential::key_len
is written by 3 functions and is read by 5 functions:
wps_process_cred_network_key()
wps_workaround_cred_key()
hostapd_wps_config_ap()
All items filtered out
wps_credential::key_len
wps_workaround_cred_key()
wps_finish()
wifi_station_wps_success_internal()
hostapd_wps_config_ap()
wps_build_cred_network_key()
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out