瀏覽代碼

qcacld-3.0: Add 6ghz band capability IE to probe response

6GHz Band capabilities are not present in probe
response from 6Ghz SAP.

Add 6Ghz band capability IE to probe response
template to firmware in SAP mode.

Change-Id: I66aed722a4a7cfbe409dc932fd20169b59575495
CRs-Fixed: 2655788
Sandeep Puligilla 5 年之前
父節點
當前提交
7f8ac8f46a
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      core/mac/src/pe/sch/sch_beacon_gen.c

+ 8 - 0
core/mac/src/pe/sch/sch_beacon_gen.c

@@ -901,6 +901,14 @@ void lim_update_probe_rsp_template_ie_bitmap_beacon2(struct mac_context *mac,
 			     sizeof(beacon2->he_op));
 	}
 
+	if (beacon2->he_6ghz_band_cap.present) {
+		set_probe_rsp_ie_bitmap(DefProbeRspIeBitmap,
+					DOT11F_EID_HE_6GHZ_BAND_CAP);
+		qdf_mem_copy((void *)&prb_rsp->he_6ghz_band_cap,
+			     (void *)&beacon2->he_6ghz_band_cap,
+			     sizeof(beacon2->he_6ghz_band_cap));
+	}
+
 }
 
 void set_probe_rsp_ie_bitmap(uint32_t *IeBitmap, uint32_t pos)