diff --git a/umac/dfs/dispatcher/inc/wlan_dfs_tgt_api.h b/umac/dfs/dispatcher/inc/wlan_dfs_tgt_api.h index 0051ba153e..23243a2cff 100644 --- a/umac/dfs/dispatcher/inc/wlan_dfs_tgt_api.h +++ b/umac/dfs/dispatcher/inc/wlan_dfs_tgt_api.h @@ -54,14 +54,14 @@ * * ------------------------------32 bits arg---------------------------- * - * ------------19 bits-------|--2 bits-|-------8 bits------|1 bit|2 bits| + * -------18 bits------|1 bit|--2 bits-|-------8 bits------|1 bit|2 bits| * ______________________________________________________________________ - *| | | | | | | | | | | | | | | | | | - *|------19 Unused bits------| x | | x |x|x|x| |x|x|x|x| |x| x | x | x | - *|__________________________|___|_|___|_|_|_|_|_|_|_|_|_|_|_____|___|___| + *| | | | | | | | | | | | | | | | | | | + *|---18 Unused bits---| x | x | | x |x|x|x| |x|x|x|x| |x| x | x | x | + *|____________________|_____|___|_|___|_|_|_|_|_|_|_|_|_|_|_____|___|___| * - * |_________|___________________|_____|_______| - * det.ID freq.offset Chirp seg.ID + * |_____|_________|___________________|_____|_______| + * sign det.ID freq.offset Chirp seg.ID * * @DFS_UNIT_TEST_NUM_ARGS: Number of arguments for bangradar unit test * command. @@ -76,14 +76,16 @@ enum { DFS_MAX_NUM_UNIT_TEST_ARGS = DFS_UNIT_TEST_NUM_ARGS }; -#define SEG_ID_SHIFT 0 -#define IS_CHIRP_SHIFT 2 -#define FREQ_OFF_SHIFT 3 -#define DET_ID_SHIFT 11 -#define SEG_ID_MASK 0x03 -#define IS_CHIRP_MASK 0x01 -#define FREQ_OFFSET_MASK 0xFF -#define DET_ID_MASK 0x03 +#define SEG_ID_SHIFT 0 +#define IS_CHIRP_SHIFT 2 +#define FREQ_OFF_SHIFT 3 +#define DET_ID_SHIFT 11 +#define FREQ_OFFSET_SIGNBIT_SHIFT 13 +#define SEG_ID_MASK 0x03 +#define IS_CHIRP_MASK 0x01 +#define FREQ_OFFSET_MASK 0xFF +#define DET_ID_MASK 0x03 +#define FREQ_OFFSET_SIGNBIT_MASK 0x01 /** * struct dfs_emulate_bang_radar_test_cmd - Unit test command structure to send