qcacmn: Move REGDMN and wireless modes to reg_services_public_struct.h

There is a requirement to use REGDMN and wireless modes in UMAC layer of
the cmndev component. As the WMI_HOST_REGDMN modes currently are defined in
WMI layer, we can't use them directly in the UMAC layer. Hence move them
to the reg_services_public_struct.h and rename them as HOST_REGDMN modes.
Replace all WMI_HOST_REGDMN instances with HOST_REGDMN. Wireless modes are
currently defined in WIN component, use them to cmndev component.

CRs-Fixed: 3044590
Change-Id: Iee5fa1745a1a44b834334746b10bdbb6f6563a0a
This commit is contained in:
Shiva Krishna Pittala
2021-09-25 13:02:38 +05:30
committed by Madan Koyyalamudi
parent 81f3009593
commit 29817dce94
6 changed files with 403 additions and 138 deletions

View File

@@ -285,7 +285,7 @@ static QDF_STATUS target_if_dfs_is_pdev_5ghz(struct wlan_objmgr_pdev *pdev,
}
if (reg_cap_ptr[pdev_id].wireless_modes &
WMI_HOST_REGDMN_MODE_11A)
HOST_REGDMN_MODE_11A)
*is_5ghz = true;
else
*is_5ghz = false;