HE: Enable power save for TWT setup request
Enable power save for TWT setup request as the driver expects power save
to be enabled for TWT setup.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
diff --git a/sta.c b/sta.c
index 008f102..994a183 100644
--- a/sta.c
+++ b/sta.c
@@ -14283,6 +14283,9 @@
val = get_param(cmd, "TWT_Setup");
if (val) {
if (strcasecmp(val, "Request") == 0) {
+ if (set_power_save_wcn(dut, intf, 1) < 0)
+ sigma_dut_print(dut, DUT_MSG_ERROR,
+ "Failed to enable power save");
if (sta_twt_request(dut, conn, cmd)) {
send_resp(dut, conn, SIGMA_ERROR,
"ErrorCode,TWT setup failed");