qcacmn: Add support for manual ulofdma trigger

1. Enable sending of SU/MU manual ulofdma trigger config to target
2. Enable processing of manual ulofdma trigger feedback event from target

Change-Id: Iba99137f87230222ad5896cd25df49ce8d2cf0de
CRs-Fixed: 3412905
This commit is contained in:
Narayan Subramhanyan
2023-02-27 19:27:50 +05:30
committed by Madan Koyyalamudi
parent 37066e5d01
commit 52ee3a44b1
3 changed files with 30 additions and 0 deletions

View File

@@ -5252,6 +5252,9 @@ typedef enum {
wmi_xgap_enable_complete_eventid, wmi_xgap_enable_complete_eventid,
#endif #endif
wmi_pdev_set_tgtr2p_table_eventid, wmi_pdev_set_tgtr2p_table_eventid,
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
wmi_manual_ul_ofdma_trig_feedback_eventid,
#endif
wmi_events_max, wmi_events_max,
} wmi_conv_event_id; } wmi_conv_event_id;
@@ -6285,6 +6288,9 @@ typedef enum {
wmi_service_multiple_vdev_restart_bmap, wmi_service_multiple_vdev_restart_bmap,
wmi_service_v1a_v1b_supported, wmi_service_v1a_v1b_supported,
wmi_service_cfr_capture_pdev_id_soc, wmi_service_cfr_capture_pdev_id_soc,
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
wmi_service_manual_ulofdma_trigger_support,
#endif
wmi_services_max, wmi_services_max,
} wmi_conv_service_ids; } wmi_conv_service_ids;
#define WMI_SERVICE_UNAVAILABLE 0xFFFF #define WMI_SERVICE_UNAVAILABLE 0xFFFF

View File

@@ -1535,6 +1535,14 @@ QDF_STATUS (*extract_chan_info_event)(wmi_unified_t wmi_handle, void *evt_buf,
QDF_STATUS (*extract_scan_blanking_params)(wmi_unified_t wmi_handle, QDF_STATUS (*extract_scan_blanking_params)(wmi_unified_t wmi_handle,
void *evt_buf, wmi_host_scan_blanking_params *blanking_params); void *evt_buf, wmi_host_scan_blanking_params *blanking_params);
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
QDF_STATUS
(*extract_ulofdma_trigger_feedback_event)(
wmi_unified_t wmi_handle,
void *evt_buf,
wmi_host_manual_ul_ofdma_trig_feedback_evt *feedback);
#endif
QDF_STATUS (*extract_channel_hopping_event)(wmi_unified_t wmi_handle, QDF_STATUS (*extract_channel_hopping_event)(wmi_unified_t wmi_handle,
void *evt_buf, void *evt_buf,
wmi_host_pdev_channel_hopping_event *ch_hopping); wmi_host_pdev_channel_hopping_event *ch_hopping);
@@ -2963,6 +2971,14 @@ QDF_STATUS (*config_peer_latency_info_cmd)(
*param); *param);
#endif #endif
#endif #endif
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
QDF_STATUS
(*trigger_ulofdma_su_cmd)(wmi_unified_t wmi,
struct wmi_trigger_ul_ofdma_su_params *param);
QDF_STATUS
(*trigger_ulofdma_mu_cmd)(wmi_unified_t wmi,
struct wmi_trigger_ul_ofdma_mu_params *param);
#endif
QDF_STATUS (*send_set_tpc_power_cmd)(wmi_unified_t wmi_handle, QDF_STATUS (*send_set_tpc_power_cmd)(wmi_unified_t wmi_handle,
uint8_t vdev_id, uint8_t vdev_id,

View File

@@ -21436,6 +21436,10 @@ static void populate_tlv_events_id(WMI_EVT_ID *event_ids)
#endif #endif
event_ids[wmi_pdev_set_tgtr2p_table_eventid] = event_ids[wmi_pdev_set_tgtr2p_table_eventid] =
WMI_PDEV_SET_TGTR2P_TABLE_EVENTID; WMI_PDEV_SET_TGTR2P_TABLE_EVENTID;
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
event_ids[wmi_manual_ul_ofdma_trig_feedback_eventid] =
WMI_MANUAL_UL_OFDMA_TRIG_FEEDBACK_EVENTID;
#endif
} }
#ifdef WLAN_FEATURE_LINK_LAYER_STATS #ifdef WLAN_FEATURE_LINK_LAYER_STATS
@@ -21977,6 +21981,10 @@ static void populate_tlv_service(uint32_t *wmi_service)
WMI_SERVICE_WMI_SERVICE_WPA3_SHA384_ROAM_SUPPORT; WMI_SERVICE_WMI_SERVICE_WPA3_SHA384_ROAM_SUPPORT;
wmi_service[wmi_service_v1a_v1b_supported] = wmi_service[wmi_service_v1a_v1b_supported] =
WMI_SERVICE_PEER_METADATA_V1A_V1B_SUPPORT; WMI_SERVICE_PEER_METADATA_V1A_V1B_SUPPORT;
#ifdef QCA_MANUAL_TRIGGERED_ULOFDMA
wmi_service[wmi_service_manual_ulofdma_trigger_support] =
WMI_SERVICE_MANUAL_ULOFDMA_TRIGGER_SUPPORT;
#endif
} }
/** /**