From f6059f280c1ca5e41528b896b0b2a0d8421e4331 Mon Sep 17 00:00:00 2001 From: yeshwanth sriram guntuka Date: Fri, 4 Aug 2017 16:22:55 +0530 Subject: [PATCH] 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 --- core/hdd/src/wlan_hdd_hostapd.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/hdd/src/wlan_hdd_hostapd.c b/core/hdd/src/wlan_hdd_hostapd.c index 1c199b76372e..4e771bc6b274 100644 --- a/core/hdd/src/wlan_hdd_hostapd.c +++ b/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);