QSAP: Add support to set sae_require_mfp parameter
For SAE transtion mode, set sae_require_mfp to 1 to require MFP for all associations using SAE. CRs-Fixed: 2390790 Change-Id: I64bd35cbb77f6c9b64970c9a9db0a1bc3aeb2314
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
2443024a1a
commit
62ae34e1a4
@@ -187,6 +187,7 @@ static struct Command cmd_list[eCMD_LAST] = {
|
|||||||
{ "accept_mac_file", NULL },
|
{ "accept_mac_file", NULL },
|
||||||
{ "deny_mac_file", NULL },
|
{ "deny_mac_file", NULL },
|
||||||
{ "owe_transition_ifname", NULL },
|
{ "owe_transition_ifname", NULL },
|
||||||
|
{ "sae_require_mfp", NULL },
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -1918,6 +1919,7 @@ static esap_cmd_t qsap_get_cmd_num(s8 *cName)
|
|||||||
|
|
||||||
for(i=0; i<eCMD_LAST; i++) {
|
for(i=0; i<eCMD_LAST; i++) {
|
||||||
len = strlen(cmd_list[i].name);
|
len = strlen(cmd_list[i].name);
|
||||||
|
|
||||||
if(!strncmp(cmd_list[i].name, cName, len)) {
|
if(!strncmp(cmd_list[i].name, cName, len)) {
|
||||||
if((cName[len] == '=') || (cName[len] == '\0'))
|
if((cName[len] == '=') || (cName[len] == '\0'))
|
||||||
return i;
|
return i;
|
||||||
|
|||||||
@@ -359,6 +359,7 @@ typedef enum esap_cmd {
|
|||||||
eCMD_ACCEPT_MAC_FILE = 81,
|
eCMD_ACCEPT_MAC_FILE = 81,
|
||||||
eCMD_DENY_MAC_FILE = 82,
|
eCMD_DENY_MAC_FILE = 82,
|
||||||
eCMD_OWE_TRANS_IFNAME = 83,
|
eCMD_OWE_TRANS_IFNAME = 83,
|
||||||
|
eCMD_SAE_REQUIRE_MPF = 84,
|
||||||
|
|
||||||
eCMD_LAST /** New command numbers should be added above this */
|
eCMD_LAST /** New command numbers should be added above this */
|
||||||
} esap_cmd_t;
|
} esap_cmd_t;
|
||||||
|
|||||||
Reference in New Issue
Block a user