ソースを参照

qcacld-3.0: Add MBO ie in beacon template sent to fw

MBO ies sent in tail buffer of beacon params
structure are not sent in beacon template to
firmware.

Fix is to add MBO ies in beacon template sent to fw

Change-Id: I3987bd431f9a21218650499afa16eac2b59e6486
CRs-Fixed: 2087752
yeshwanth sriram guntuka 7 年 前
コミット
f6059f280c
1 ファイル変更7 行追加0 行削除
  1. 7 0
      core/hdd/src/wlan_hdd_hostapd.c

+ 7 - 0
core/hdd/src/wlan_hdd_hostapd.c

@@ -6998,6 +6998,13 @@ int wlan_hdd_cfg80211_update_apies(hdd_adapter_t *adapter)
 		goto done;
 	}
 
+	if (wlan_hdd_add_ie(adapter, genie, &total_ielen,
+			    MBO_OUI_TYPE, MBO_OUI_TYPE_SIZE)) {
+		hdd_err("Adding mbo ie failed");
+		ret = -EINVAL;
+		goto done;
+	}
+
 	wlan_hdd_add_sap_obss_scan_ie(adapter, genie, &total_ielen);
 
 	qdf_copy_macaddr(&updateIE.bssid, &adapter->macAddressCurrent);