|
@@ -5464,6 +5464,25 @@ static void wma_update_obss_detection_support(tp_wma_handle wh,
|
|
|
tgt_cfg->obss_detection_offloaded = false;
|
|
|
}
|
|
|
|
|
|
+/**
|
|
|
+ * wma_update_bcast_twt_support() - update bcost twt support
|
|
|
+ * @wh: wma handle
|
|
|
+ * @tgt_cfg: target configuration to be updated
|
|
|
+ *
|
|
|
+ * Update braodcast twt support based on service bit.
|
|
|
+ *
|
|
|
+ * Return: None
|
|
|
+ */
|
|
|
+static void wma_update_bcast_twt_support(tp_wma_handle wh,
|
|
|
+ struct wma_tgt_cfg *tgt_cfg)
|
|
|
+{
|
|
|
+ if (wmi_service_enabled(wh->wmi_handle,
|
|
|
+ wmi_service_bcast_twt_support))
|
|
|
+ tgt_cfg->bcast_twt_support = true;
|
|
|
+ else
|
|
|
+ tgt_cfg->bcast_twt_support = false;
|
|
|
+}
|
|
|
+
|
|
|
/**
|
|
|
* wma_update_obss_color_collision_support() - update obss color collision
|
|
|
* offload support
|
|
@@ -5676,6 +5695,7 @@ static void wma_update_hdd_cfg(tp_wma_handle wma_handle)
|
|
|
wma_update_obss_color_collision_support(wma_handle, &tgt_cfg);
|
|
|
wma_update_hdd_cfg_ndp(wma_handle, &tgt_cfg);
|
|
|
wma_update_nan_target_caps(wma_handle, &tgt_cfg);
|
|
|
+ wma_update_bcast_twt_support(wma_handle, &tgt_cfg);
|
|
|
|
|
|
/* Take the max of chains supported by FW, which will limit nss */
|
|
|
for (i = 0; i < tgt_hdl->info.total_mac_phy_cnt; i++)
|