sta_set_security: Support Clear_RSNXE

Add support to parse Clear_RSNXE argument received with sta_set_security
command and configure wpa_supplicant to exclude RSNXE. The
rsnxe_override_* parameters will be cleared in sta_reset_default with
the FLUSH command.

Signed-off-by: Vinita S. Maloo <vmaloo@codeaurora.org>
diff --git a/sta.c b/sta.c
index 41305a3..5e61be1 100644
--- a/sta.c
+++ b/sta.c
@@ -2234,6 +2234,16 @@
 			return STATUS_SENT_ERROR;
 		}
 	}
+
+	val = get_param(cmd, "Clear_RSNXE");
+	if (val && strcmp(val, "1") == 0 &&
+	    (wpa_command(intf, "SET rsnxe_override_assoc ") ||
+	     wpa_command(intf, "SET rsnxe_override_eapol "))) {
+		send_resp(dut, conn, SIGMA_ERROR,
+			  "errorCode,Failed to clear RSNXE");
+		return ERROR_SEND_STATUS;
+	}
+
 	if (dut->sae_pwe == SAE_PWE_LOOP && get_param(cmd, "PasswordId"))
 		sae_pwe = 3;
 	else if (dut->sae_pwe == SAE_PWE_LOOP)