Skip to content

Commit

Permalink
Add PROGRAM_P2P
Browse files Browse the repository at this point in the history
This is needed for P2P2 functionality.

Signed-off-by: Shivani Baranwal <quic_shivbara@quicinc.com>
  • Loading branch information
Shivani Baranwal authored and Jouni Malinen committed Dec 20, 2024
1 parent a8ba832 commit 2284676
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions sigma_dut.h
Original file line number Diff line number Diff line change
Expand Up @@ -1080,6 +1080,7 @@ struct sigma_dut {
PROGRAM_LOCR2,
PROGRAM_EHT,
PROGRAM_PR,
PROGRAM_P2P,
} program;

enum device_type {
Expand Down
2 changes: 2 additions & 0 deletions utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ enum sigma_program sigma_program_to_enum(const char *prog)
return PROGRAM_PR;
if (strcasecmp(prog, "EHT") == 0)
return PROGRAM_EHT;
if (strcasecmp(prog, "P2P") == 0)
return PROGRAM_P2P;

return PROGRAM_UNKNOWN;
}
Expand Down

0 comments on commit 2284676

Please sign in to comment.