Skip to content

Commit

Permalink
STA: Configure RTWT bitmap values to 0 with bitmap invalid
Browse files Browse the repository at this point in the history
Configure RTWT UL/DL bitmap values to 0 if the bitmap validity is
set to 0.

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 62129d1 commit ef6a8d5
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 @@ -12285,6 +12285,16 @@ int sta_twt_request(struct sigma_dut *dut, struct sigma_conn *conn,
rtwt_ul_bitmap_val = atoi(val);
rtwt_ul_bitmap = 1;
}
val = get_param(cmd, "RTWT_ULTIDBitmapValid");
if (val && atoi(val) == 0) {
rtwt_ul_bitmap_val = 0;
rtwt_ul_bitmap = 1;
}
val = get_param(cmd, "RTWT_DLTIDBitmapValid");
if (val && atoi(val) == 0) {
rtwt_dl_bitmap_val = 0;
rtwt_dl_bitmap = 1;
}

send_command:
if (!(msg = nl80211_drv_msg(dut, dut->nl_ctx, ifindex, 0,
Expand Down

0 comments on commit ef6a8d5

Please sign in to comment.