|
@@ -87,7 +87,7 @@ uint8_t *bcn_tmpl_add_ml_partner_links(uint8_t *buf_ptr,
|
|
size_t bcn_tmpl_ml_info_size(struct beacon_tmpl_params *param);
|
|
size_t bcn_tmpl_ml_info_size(struct beacon_tmpl_params *param);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * bcn_tmpl_add_ml_info - Add MLO info to update Critical Update info in
|
|
|
|
|
|
+ * bcn_tmpl_add_ml_info() - Add MLO info to update Critical Update info in
|
|
* beacon template command
|
|
* beacon template command
|
|
* @buf_ptr: pointer to beacon cmd buffer.
|
|
* @buf_ptr: pointer to beacon cmd buffer.
|
|
* @param: pointer to beacon template params
|
|
* @param: pointer to beacon template params
|
|
@@ -96,6 +96,24 @@ size_t bcn_tmpl_ml_info_size(struct beacon_tmpl_params *param);
|
|
*/
|
|
*/
|
|
uint8_t *bcn_tmpl_add_ml_info(uint8_t *buf_ptr,
|
|
uint8_t *bcn_tmpl_add_ml_info(uint8_t *buf_ptr,
|
|
struct beacon_tmpl_params *param);
|
|
struct beacon_tmpl_params *param);
|
|
|
|
+/**
|
|
|
|
+ * prb_resp_tmpl_ml_info_size() - Get ML info size in 20TU probe resp template
|
|
|
|
+ * @param: Pointer to 20TU probe response template param
|
|
|
|
+ *
|
|
|
|
+ * Return: size of ML info in 20TU probe response template
|
|
|
|
+ */
|
|
|
|
+size_t prb_resp_tmpl_ml_info_size(struct wmi_probe_resp_params *param);
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * prb_resp_tmpl_add_ml_info() - Add MLO info to update Critical Update info in
|
|
|
|
+ * 20TU probe response template command
|
|
|
|
+ * @buf_ptr: pointer to 20TU probe response cmd buffer.
|
|
|
|
+ * @param: pointer to 20TU probe response template params
|
|
|
|
+ *
|
|
|
|
+ * Return: pointer to new offset of cmd buffer
|
|
|
|
+ */
|
|
|
|
+uint8_t *prb_resp_tmpl_add_ml_info(uint8_t *buf_ptr,
|
|
|
|
+ struct wmi_probe_resp_params *param);
|
|
/**
|
|
/**
|
|
* peer_create_add_mlo_params() - Add MLO params in peer create cmd
|
|
* peer_create_add_mlo_params() - Add MLO params in peer create cmd
|
|
* @buf_ptr: pointer to peer create cmd buffer.
|
|
* @buf_ptr: pointer to peer create cmd buffer.
|
|
@@ -232,6 +250,18 @@ static uint8_t *bcn_tmpl_add_ml_info(uint8_t *buf_ptr,
|
|
return buf_ptr + WMI_TLV_HDR_SIZE;
|
|
return buf_ptr + WMI_TLV_HDR_SIZE;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static size_t prb_resp_tmpl_ml_info_size(struct wmi_probe_resp_params *param)
|
|
|
|
+{
|
|
|
|
+ return WMI_TLV_HDR_SIZE;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+static uint8_t *prb_resp_tmpl_add_ml_info(uint8_t *buf_ptr,
|
|
|
|
+ struct wmi_probe_resp_params *param)
|
|
|
|
+{
|
|
|
|
+ WMITLV_SET_HDR(buf_ptr, WMITLV_TAG_ARRAY_STRUC, 0);
|
|
|
|
+ return buf_ptr + WMI_TLV_HDR_SIZE;
|
|
|
|
+}
|
|
|
|
+
|
|
static uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
|
static uint8_t *peer_create_add_mlo_params(uint8_t *buf_ptr,
|
|
struct peer_create_params *req)
|
|
struct peer_create_params *req)
|
|
{
|
|
{
|