qcacld-3.0: Add support to handle HT LL and LT LL policy separately

Currently, policy_mgr_is_ll_sap_present api is used to check if
ll sap is present or not but different operations may be required
for HT and LT LL AP policy example for LT policy i.e gaming/loss
less audio MCC is acceptable but for HT MCC is strictly prohibited.
So, wrapper functions are added to check HT, LT and any AP policy.

Change-Id: I93dbcd65b1a102d0f879366db26f3d2cf01e030e
CRs-Fixed: 3435203
This commit is contained in:
Sheenam Monga
2023-03-13 15:40:05 +05:30
committed by Madan Koyyalamudi
parent c9471c3707
commit d05fc12d8b
3 changed files with 95 additions and 7 deletions

View File

@@ -2909,4 +2909,16 @@ enum host_concurrent_ap_policy {
HOST_CONCURRENT_AP_POLICY_LOSSLESS_AUDIO_STREAMING = 2,
HOST_CONCURRENT_AP_POLICY_XR = 3
};
/**
* enum ll_ap_type - low latency AP type
* @LL_AP_TYPE_HT: low latency AP type high throughput
* @LL_AP_TYPE_LT: low latency AP type low latency
* @LL_AP_TYPE_ANY: low latency AP type any
*/
enum ll_ap_type {
LL_AP_TYPE_HT = 0,
LL_AP_TYPE_LT = 1,
LL_AP_TYPE_ANY = 2,
};
#endif