qcacmn: Add API to extract rate2power update response WMI event

Add API extract_tgtr2p_table_event_tlv to extract TLVs from the response
event of rate2power table update cmd. Add a wrapper function
wmi_extract_tgtr2p_table_event and call extract_tgtr2p_table_event_tlv
from it.

Add the host event id wmi_pdev_set_tgtr2p_table_eventid corresponding to
the target id WMI_PDEV_SET_TGTR2P_TABLE_EVENTID. Also add this mapping
to populate_tlv_events_id function.

Change-Id: I0a870125120f1f92ee50002953e114b27d597ae6
CRs-Fixed: 3405417
这个提交包含在:
Amith A
2023-02-06 18:12:03 +05:30
提交者 Madan Koyyalamudi
父节点 0d3ef18cdf
当前提交 6ddd0be86d
修改 5 个文件,包含 75 行新增1 行删除

查看文件

@@ -123,6 +123,7 @@
#define CTL_5G_SIZE 1536
#define CTL_2G_SIZE 684
#define MAX_CTL_SIZE (CTL_5G_SIZE > CTL_2G_SIZE ? CTL_5G_SIZE : CTL_2G_SIZE)
#define MAX_PWTAB_SIZE 3392
#define IEEE80211_MICBUF_SIZE (8+8)
#define IEEE80211_TID_SIZE 17
#define WME_NUM_AC 4
@@ -5250,6 +5251,7 @@ typedef enum {
#ifdef WLAN_SUPPORT_GAP_LL_PS_MODE
wmi_xgap_enable_complete_eventid,
#endif
wmi_pdev_set_tgtr2p_table_eventid,
wmi_events_max,
} wmi_conv_event_id;