Skip to content

Commit

Permalink
STA: Enable TWT with broacast TWT configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
  • Loading branch information
Kiran Kumar Lokere authored and Jouni Malinen committed Feb 14, 2025
1 parent 8026fa9 commit 62129d1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions sta.c
Original file line number Diff line number Diff line change
Expand Up @@ -12992,6 +12992,16 @@ cmd_sta_set_wireless_vht(struct sigma_dut *dut, struct sigma_conn *conn,
return STATUS_SENT_ERROR;
}

if (set_val &&
sta_set_twt_req_support(dut, intf, set_val)) {
sigma_dut_print(dut, DUT_MSG_ERROR,
"Failed to set TWT req support %d",
set_val);
send_resp(dut, conn, SIGMA_ERROR,
"ErrorCode,Failed to set TWT_ReqSupport");
return STATUS_SENT_ERROR;
}

if (sta_set_bcast_twt_support(dut, intf, set_val)) {
send_resp(dut, conn, SIGMA_ERROR,
"ErrorCode,Failed to set TWTSchedSTASupport");
Expand Down

0 comments on commit 62129d1

Please sign in to comment.