diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 8fbc564620..62abf7c751 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -28915,6 +28915,7 @@ typedef enum { * This type can be expanded in future as per requirements. */ AFC_SERV_RESP_FORMAT_JSON = 0, + AFC_SERV_RESP_FORMAT_BINARY = 1, } WMI_AFC_SERV_RESP_FORMAT_TYPE; typedef enum { @@ -28950,13 +28951,15 @@ typedef struct { * status = 1 will indicate payload is valid. */ A_UINT32 time_to_live; /* Total time for which this AFC info is valid in seconds */ A_UINT32 length; /* length of the payload, in bytes */ - /* The structure above is followed by array of char which will have JSON string - * A_CHAR bufp[]; AFC payload (JSON string) - */ + A_UINT32 payload_format; /* The format of payload written in FW memory: + * 0 -> JSON format + * 1 -> Binary format + * Refer to WMI_AFC_SERV_RESP_FORMAT_TYPE. + */ /* - * In future if we need to add new variable, or new format of information, - * this structure should be optionally followed by new TLV, - * which will be written in same contiguous memory location. + * The structure above is followed by array of char which will have + * JSON string or binary data, as specified by the payload_format field. + * A_CHAR bufp[]; AFC payload (JSON string or binary data) */ } wmi_afc_serv_resp_struct; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 5a165f2d72..f4c92c32b2 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility. */ -#define __WMI_REVISION_ 1015 +#define __WMI_REVISION_ 1016 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work