qcacmn: Add WMI support for Spatial Reuse commands and service ready bit

In order to enable/disable the OBSSes whose transmission can be treated as
SR opportunity for SRG and Non-SRG based Spatial Reuse, add the required
WMI support. Also, add the Host abstractions for the following
        - WMI_VDEV_PARAM_ENABLE_SRP
        - WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT

CRs-Fixed: 2684157
Change-Id: Ib3e919766436ca4d4e7f9242b642ba309dbf9a47
This commit is contained in:
Shiva Krishna Pittala
2020-05-08 22:10:53 +05:30
committed by nshrivas
parent e293836285
commit fecd279894
5 changed files with 351 additions and 0 deletions

View File

@@ -3759,6 +3759,64 @@ QDF_STATUS wmi_unified_send_self_srg_bss_color_bitmap_set_cmd(
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);
/**
* wmi_unified_send_self_srg_obss_color_enable_bitmap_cmd() - Send 64-bit BSS
* color enable bitmap to be used by SRG based Spatial Reuse feature to the FW
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in BSS color enable bitmap
* @bitmap_1: upper 32 bits in BSS color enable 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_obss_color_enable_bitmap_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
/**
* wmi_unified_send_self_srg_obss_bssid_enable_bitmap_cmd() - Send 64-bit OBSS
* BSSID enable bitmap to be used by SRG based Spatial Reuse feature to the FW
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in BSSID enable bitmap
* @bitmap_1: upper 32 bits in BSSID enable 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_obss_bssid_enable_bitmap_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
/**
* wmi_unified_send_self_non_srg_obss_color_enable_bitmap_cmd() - Send 64-bit
* BSS color enable bitmap to be used by Non-SRG based Spatial Reuse
* feature to the FW
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in BSS color enable bitmap
* @bitmap_1: upper 32 bits in BSS color enable bitmap
* @pdev_id: pdev ID
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_send_self_non_srg_obss_color_enable_bitmap_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
/**
* wmi_unified_send_self_non_srg_obss_bssid_enable_bitmap_cmd() - Send 64-bit
* OBSS BSSID enable bitmap to be used by Non-SRG based Spatial Reuse
* feature to the FW
* @wmi_handle: wmi handle
* @bitmap_0: lower 32 bits in BSSID enable bitmap
* @bitmap_1: upper 32 bits in BSSID enable bitmap
* @pdev_id: pdev ID
*
* Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
*/
QDF_STATUS wmi_unified_send_self_non_srg_obss_bssid_enable_bitmap_cmd(
wmi_unified_t wmi_handle, uint32_t bitmap_0,
uint32_t bitmap_1, uint8_t pdev_id);
#endif /* OBSS_PD */
/**