qcacmn: Add WMI support to configure SRG BSS color and BSSID bitmaps

To be able to configure SRG BSS Color Bitmap and SRG Partial BSSID Bitmaps,
add the required WMI support.

CRs-Fixed: 2665817
Change-Id: I141abe24dd34cab92f45b230b385500902d01416
This commit is contained in:
Shiva Krishna Pittala
2020-04-16 18:53:59 +05:30
committed by nshrivas
parent 049211d0b2
commit 2d6af44647
4 changed files with 170 additions and 0 deletions

View File

@@ -3688,6 +3688,33 @@ QDF_STATUS wmi_unified_send_obss_spatial_reuse_set_def_thresh_cmd(
wmi_unified_t wmi_handle,
struct wmi_host_obss_spatial_reuse_set_def_thresh *thresh);
/**
* wmi_unified_send_self_srg_bss_color_bitmap_set_cmd() - Send 64-bit BSS color
* bitmap to be used by SRG based Spatial Reuse feature
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in BSS color bitmap
* @bitmap_1: upper 32 bits in BSS color bitmap
* @pdev_id: pdev ID
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_send_self_srg_bss_color_bitmap_set_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
/**
* wmi_unified_send_self_srg_partial_bssid_bitmap_set_cmd() - Send 64-bit
* partial BSSID bitmap to be used by SRG based Spatial Reuse feature
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in partial BSSID bitmap
* @bitmap_1: upper 32 bits in partial BSSID bitmap
* @pdev_id: pdev ID
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_send_self_srg_partial_bssid_bitmap_set_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
#endif /* OBSS_PD */
/**