Browse Source

qcacmn: Send proper control mode value to upper layer

1. Upper layer sends QCA_WLAN_VENDOR_ATTR_LINK_STATE_CONTROL_MODE
vendor command to configure control mode in host/fw.
2. Host receives GET_ML_LINK_STATE driver command to return
control mode (configured at step 1) to upper layer.

Host should reply as a response of GET_ML_LINK_STATE with same
value of control mode configured at step 1 to upper layer.

Change-Id: I3b5cb3bec31957ee8479d7f366d1e360421a7573
CRs-Fixed: 3601735
Abhinav Kumar 1 year ago
parent
commit
88fa8a3f0b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h

+ 2 - 0
umac/mlo_mgr/inc/wlan_mlo_mgr_public_structs.h

@@ -598,6 +598,7 @@ struct emlsr_capability {
  * @ml_partner_info: mlo partner link info
  * @ml_partner_info: mlo partner link info
  * @emlsr_cap: EMLSR capabilities info
  * @emlsr_cap: EMLSR capabilities info
  * @link_force_ctx: set link force mode context
  * @link_force_ctx: set link force mode context
+ * @ml_link_control_mode: link control mode configured via user space
  */
  */
 struct wlan_mlo_sta {
 struct wlan_mlo_sta {
 	qdf_bitmap(wlan_connect_req_links, WLAN_UMAC_MLO_MAX_VDEVS);
 	qdf_bitmap(wlan_connect_req_links, WLAN_UMAC_MLO_MAX_VDEVS);
@@ -627,6 +628,7 @@ struct wlan_mlo_sta {
 #ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 #ifdef WLAN_FEATURE_11BE_MLO_ADV_FEATURE
 	struct wlan_link_force_context link_force_ctx;
 	struct wlan_link_force_context link_force_ctx;
 #endif
 #endif
+	uint8_t ml_link_control_mode;
 };
 };
 
 
 /**
 /**