Jelajahi Sumber

qcacld-3.0: Append EC IE and Interworking IE to beacon

qcacld-2.0 to qcacld-3.0 propagation

Supplicant is sending Extended capabilities (EC) IE and
Interworking IE as part of beacon IEs to the driver but
the driver is not looking for these IEs when populating
the beacon. To fix this append the EC IE and Interworking
IE to the beacon template.

Change-Id: I6e19bfacb6f83526ce80d59cf43c23c6e2a77233
CRs-Fixed: 964594
Vidyullatha Kanchanapally 8 tahun lalu
induk
melakukan
518c5d7979
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      core/hdd/src/wlan_hdd_hostapd.c

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

@@ -6437,6 +6437,13 @@ int wlan_hdd_cfg80211_update_apies(hdd_adapter_t *adapter)
 	wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,
 			      WLAN_EID_VHT_TX_POWER_ENVELOPE);
 
+	/* Extract and add the extended capabilities and interworking IE */
+	wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,
+			      WLAN_EID_EXT_CAPABILITY);
+
+	wlan_hdd_add_extra_ie(adapter, genie, &total_ielen,
+			      WLAN_EID_INTERWORKING);
+
 	if (0 != wlan_hdd_add_ie(adapter, genie,
 		&total_ielen, WPS_OUI_TYPE, WPS_OUI_TYPE_SIZE)) {
 		hdd_err("Adding WPS IE failed");