DPP: Change PKEX version configuration design
Use a separate ver=<1|2> parameter to DPP_PKEX_ADD instead of overloading init=1 with version indication. This allows additional options for forcing v1-only and v2-only in addition to automatic mode (start with v2 and fall back to v1, if needed). Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
53fae01c8b
commit
bdcccbc275
3 changed files with 61 additions and 14 deletions
|
@ -177,6 +177,7 @@ struct dpp_pkex {
|
|||
unsigned int exchange_done:1;
|
||||
unsigned int failed:1;
|
||||
unsigned int v2:1;
|
||||
unsigned int forced_ver:1;
|
||||
struct dpp_bootstrap_info *own_bi;
|
||||
u8 own_mac[ETH_ALEN];
|
||||
u8 peer_mac[ETH_ALEN];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue