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
2023-08-28 10:40:31 -07:00
提交者 Rahul Choudhary
父节点 1684c8ceac
当前提交 88fa8a3f0b

查看文件

@@ -598,6 +598,7 @@ struct emlsr_capability {
* @ml_partner_info: mlo partner link info
* @emlsr_cap: EMLSR capabilities info
* @link_force_ctx: set link force mode context
* @ml_link_control_mode: link control mode configured via user space
*/
struct wlan_mlo_sta {
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
struct wlan_link_force_context link_force_ctx;
#endif
uint8_t ml_link_control_mode;
};
/**