ソースを参照

Merge changes I34cc7916,I19ad7ea2 into wlan-cmn.driver.lnx.1.0-dev

* changes:
  Release 5.1.0.23I
  qcacmn: Modify LFR3 firmware OKC flag
Service qcabuildsw 8 年 前
コミット
9f9bbd982c
3 ファイル変更5 行追加2 行削除
  1. 1 1
      VERSION.txt
  2. 2 0
      wmi/inc/wmi_unified_param.h
  3. 2 1
      wmi/src/wmi_unified_tlv.c

+ 1 - 1
VERSION.txt

@@ -1,2 +1,2 @@
-Current Component wlan-cmn.driver.lnx.1.0 version 5.1.0.23H
+Current Component wlan-cmn.driver.lnx.1.0 version 5.1.0.23I
 Matches Component wlan-cld3.driver.lnx.1.1 version 5.1.0.22C

+ 2 - 0
wmi/inc/wmi_unified_param.h

@@ -1693,6 +1693,7 @@ typedef struct {
  * @rokh_id: r0kh id
  * @roam_key_mgmt_offload_enabled: roam offload flag
  * @auth_mode: authentication mode
+ * @okc_enabled: enable opportunistic key caching
  * @is_ese_assoc: flag to determine ese assoc
  * @mdid: mobility domain info
  * @roam_offload_params: roam offload tlv params
@@ -1715,6 +1716,7 @@ struct roam_offload_scan_params {
 	uint8_t rokh_id[WMI_ROAM_R0KH_ID_MAX_LEN];
 	uint8_t roam_key_mgmt_offload_enabled;
 	int auth_mode;
+	bool okc_enabled;
 #endif
 	bool is_ese_assoc;
 	struct mobility_domain_info mdid;

+ 2 - 1
wmi/src/wmi_unified_tlv.c

@@ -4282,7 +4282,8 @@ QDF_STATUS send_roam_scan_offload_mode_cmd_tlv(wmi_unified_t wmi_handle,
 				buf_ptr += WMI_TLV_HDR_SIZE;
 				roam_offload_11i =
 				     (wmi_roam_11i_offload_tlv_param *) buf_ptr;
-				if (roam_req->roam_key_mgmt_offload_enabled) {
+				if (roam_req->roam_key_mgmt_offload_enabled &&
+				    roam_req->okc_enabled) {
 					WMI_SET_ROAM_OFFLOAD_OKC_ENABLED
 						(roam_offload_11i->flags);
 					WMI_LOGE("LFR3:OKC Enabled");