瀏覽代碼

qcacmn: Handle mlo_force_link_inactive in ml peer assoc flags

Handle mlo_force_link_inactive in ml peer assoc flags.

Change-Id: Ic72c42401b03cfbd5b97fafec72d45d47ab787ea
CRs-Fixed: 3192730
Abhishek Singh 3 年之前
父節點
當前提交
ba4e301f48
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 3 1
      wmi/inc/wmi_unified_param.h
  2. 2 0
      wmi/src/wmi_unified_11be_tlv.c

+ 3 - 1
wmi/inc/wmi_unified_param.h

@@ -1116,6 +1116,7 @@ struct wmi_host_tid_to_link_map_params {
  * @mlo_primary_umac: indicate is the link on primary UMAC, WIN only flag
  * @mlo_logical_link_index_valid: indicate if the logial link index in is valid
  * @mlo_peer_id_valid: indicate if the mlo peer id is valid
+ * @mlo_force_link_inactive: force the peer inactive
  * @mld_mac: MLD mac address
  * @logical_link_index: Unique index for links of the mlo. Starts with Zero
  * @ml_peer_id: ML peer id if generated by host. Otherwise invalid peer id
@@ -1126,7 +1127,8 @@ struct peer_assoc_mlo_params {
 		 mlo_primary_umac:1,
 		 mlo_logical_link_index_valid:1,
 		 mlo_peer_id_valid:1,
-		 unused:27;
+		 mlo_force_link_inactive:1,
+		 unused:26;
 	uint8_t mld_mac[QDF_MAC_ADDR_SIZE];
 	uint32_t logical_link_index;
 	uint32_t ml_peer_id;

+ 2 - 0
wmi/src/wmi_unified_11be_tlv.c

@@ -214,6 +214,8 @@ uint8_t *peer_assoc_add_mlo_params(uint8_t *buf_ptr,
 					   req->mlo_params.mlo_logical_link_index_valid);
 	WMI_MLO_FLAGS_SET_PEER_ID_VALID(mlo_params->mlo_flags.mlo_flags,
 					req->mlo_params.mlo_peer_id_valid);
+	mlo_params->mlo_flags.mlo_force_link_inactive =
+			req->mlo_params.mlo_force_link_inactive;
 
 	WMI_CHAR_ARRAY_TO_MAC_ADDR(req->mlo_params.mld_mac,
 				   &mlo_params->mld_macaddr);