Quellcode durchsuchen

qcacmn: Populate MLO Queit IE parameters in beacon template

- Add MLO Quiet IE related parameters in ml_bcn_partner_info structure.

- Populate MLO Quiet IE related parameters in the beacon  template.

Change-Id: I5a4a069d067bdbc5e7c44c407f51a504e9aba151
CRs-Fixed: 3088019
Shashikala Prabhu vor 3 Jahren
Ursprung
Commit
bb3953b75b

+ 8 - 0
umac/mlme/vdev_mgr/dispatcher/inc/wlan_vdev_mgr_tgt_if_tx_defs.h

@@ -206,6 +206,11 @@ struct tbttoffset_params {
  * @beacon_interval: Beacon interval
  * @csa_switch_count_offset: CSA swith count offset in beacon frame
  * @ext_csa_switch_count_offset: ECSA switch count offset in beacon frame
+ * @per_sta_profile_offset: Pointer to per-STA profile info
+ * @quiet_ie_offset: Quiet IE offset
+ * @is_other_ie_present: Set true if other IEs are present in per-STA profile.
+ *                       If the flag is set to false, FW will remove per-STA
+ *                       profile IE when Quiet count reaches to 0.
  */
 struct ml_bcn_partner_info {
 	uint32_t vdev_id;
@@ -213,6 +218,9 @@ struct ml_bcn_partner_info {
 	uint32_t beacon_interval;
 	uint32_t csa_switch_count_offset;
 	uint32_t ext_csa_switch_count_offset;
+	uint32_t per_sta_profile_offset;
+	uint32_t quiet_ie_offset;
+	uint32_t is_other_ie_present;
 };
 
 /**

+ 6 - 0
wmi/src/wmi_unified_11be_tlv.c

@@ -164,6 +164,12 @@ uint8_t *bcn_tmpl_add_ml_partner_links(uint8_t *buf_ptr,
 			ml_bcn_tmpl->partner_info[i].csa_switch_count_offset;
 		ml_partner_link->ext_csa_switch_count_offset =
 			ml_bcn_tmpl->partner_info[i].ext_csa_switch_count_offset;
+		ml_partner_link->per_sta_profile_offset =
+			ml_bcn_tmpl->partner_info[i].per_sta_profile_offset;
+		ml_partner_link->quiet_ie_offset =
+			ml_bcn_tmpl->partner_info[i].quiet_ie_offset;
+		ml_partner_link->is_other_ie_present =
+			ml_bcn_tmpl->partner_info[i].is_other_ie_present;
 		ml_partner_link++;
 	}