Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
fw-api: Merge tag 'LA.UM.8.11.1.r1-00300-QCM6125.0' into neutrino-msm…
Browse files Browse the repository at this point in the history
…-hotdogb-4.14

"LA.UM.8.11.1.r1-00300-QCM6125.0"

* tag 'LA.UM.8.11.1.r1-00300-QCM6125.0':
  fw-api: Add HW header files for QCA5018
  fw-api: CL 10543175 - update fw common interface files
  fw-api: CL 10576300 - update fw common interface files
  fw-api: CL 10581227 - update fw common interface files
  fw-api: CL 10599978 - update fw common interface files
  fw-api: CL 10599980 - update fw common interface files
  fw-api: CL 10663966 - update fw common interface files
  fw-api: Add rx_flow_search_entry.h for qca6750

Signed-off-by: Adam W. Willis <return.of.octobot@gmail.com>
  • Loading branch information
0ctobot committed Jul 11, 2020
2 parents 38acec9 + 8a0f96d commit 5b36610
Show file tree
Hide file tree
Showing 105 changed files with 110,220 additions and 8 deletions.
15 changes: 12 additions & 3 deletions drivers/staging/fw-api/fw/htt_ppdu_stats.h
Expand Up @@ -714,13 +714,22 @@ typedef struct {
* of the BSS and is used to assist a receiving STA in
* identifying the BSS from which a PPDU originates.
* Value in the range 0 to 63
* BIT [31 : 6] -reserved
* BIT [6 : 6] - PPDU transmitted using Non-SRG opportunity
* BIT [7 : 7] - PPDU transmitted using SRG opportunity
* BIT [15: 8] - RSSI of the aborted OBSS frame (in dB w.r.t. noise floor)
* by which SRG/Non-SRG based spatial reuse opportunity
* was created.
* BIT [31:16] - reserved
*/
union {
A_UINT32 reserved__aborted_obss_rssi__srg_tx__non_srg_tx___bss_color_id;
A_UINT32 reserved__bss_color_id;
struct {
A_UINT32 bss_color_id: 6,
reserved2: 26;
A_UINT32 bss_color_id: 6,
non_srg_tx: 1,
srg_tx: 1,
aborted_obss_rssi: 8,
reserved2: 16;
};
};
} htt_ppdu_stats_common_tlv;
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/fw-api/fw/wmi_services.h
Expand Up @@ -443,6 +443,7 @@ typedef enum {
WMI_SERVICE_MU_PREAMBLE_PUNCTURE_SUPPORT = 248, /* Indicates FW supports MU preamble puncture */
WMI_SERVICE_SRG_SRP_SPATIAL_REUSE_SUPPORT = 249, /* Support for SRG, SRP based spatial reuse support */
WMI_REQUEST_CTRL_PATH_STATS_REQUEST = 250, /* FW supports control path stats */
WMI_SERVICE_TPC_STATS_EVENT = 251, /* FW support to dump the TPC tables */


/******* ADD NEW SERVICES UP TO 256 HERE *******/
Expand Down
32 changes: 32 additions & 0 deletions drivers/staging/fw-api/fw/wmi_tlv_defs.h
Expand Up @@ -199,6 +199,7 @@ typedef enum {
WMITLV_TAG_ARRAY_BYTE,
WMITLV_TAG_ARRAY_STRUC,
WMITLV_TAG_ARRAY_FIXED_STRUC,
WMITLV_TAG_ARRAY_INT16,
WMITLV_TAG_LAST_ARRAY_ENUM = 31, /* Last entry of ARRAY type tags */
WMITLV_TAG_STRUC_wmi_service_ready_event_fixed_param,
WMITLV_TAG_STRUC_HAL_REG_CAPABILITIES,
Expand Down Expand Up @@ -1081,6 +1082,13 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_request_ctrl_path_stats_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_ctrl_path_stats_event_fixed_param,
WMITLV_TAG_STRUC_wmi_ctrl_path_pdev_stats_struct,
WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_event_fixed_param,
WMITLV_TAG_STRUC_wmi_tpc_configs,
WMITLV_TAG_STRUC_wmi_max_reg_power_allowed,
WMITLV_TAG_STRUC_wmi_tpc_rates_array,
WMITLV_TAG_STRUC_wmi_tpc_ctl_pwr_table,
WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param,
} WMITLV_TAG_ID;

/*
Expand Down Expand Up @@ -1526,6 +1534,7 @@ typedef enum {
OP(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID) \
OP(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID) \
OP(WMI_REQUEST_CTRL_PATH_STATS_CMDID) \
OP(WMI_PDEV_GET_TPC_STATS_CMDID) \
/* add new CMD_LIST elements above this line */


Expand Down Expand Up @@ -1777,6 +1786,8 @@ typedef enum {
OP(WMI_PDEV_SSCAN_FW_PARAM_EVENTID) \
OP(WMI_ROAM_CAPABILITY_REPORT_EVENTID) \
OP(WMI_CTRL_PATH_STATS_EVENTID) \
OP(WMI_PDEV_GET_TPC_STATS_EVENTID) \
OP(WMI_VDEV_BCN_LATENCY_EVENTID) \
/* add new EVT_LIST elements above this line */


Expand Down Expand Up @@ -4428,6 +4439,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_COLOR_ENABLE_BITMAP_CMDID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param, wmi_pdev_non_srg_obss_bssid_enable_bitmap_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_NON_SRG_OBSS_BSSID_ENABLE_BITMAP_CMDID);

/* PDEV Get TPC STATS Cmd */
#define WMITLV_TABLE_WMI_PDEV_GET_TPC_STATS_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_cmd_fixed_param, wmi_pdev_get_tpc_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_STATS_CMDID);


/************************** TLV definitions of WMI events *******************************/

Expand Down Expand Up @@ -5963,6 +5979,22 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SSCAN_FW_PARAM_EVENTID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_roam_capability_report_event_fixed_param, wmi_roam_capability_report_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_ROAM_CAPABILITY_REPORT_EVENTID);

/* PDEV TPC STATS Event */
#define WMITLV_TABLE_WMI_PDEV_GET_TPC_STATS_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_get_tpc_stats_event_fixed_param, wmi_pdev_get_tpc_stats_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_configs, tpc_configs, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_max_reg_power_allowed, regulatory_power, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_INT16, reg_buf, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_rates_array, tpc_rates, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_INT16, A_UINT16, rates_buf, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_tpc_ctl_pwr_table, ctl_power, WMITLV_SIZE_VAR) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_INT8, ctl_buf, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_GET_TPC_STATS_EVENTID);

/* Send Bcn Latency ie related params to host */
#define WMITLV_TABLE_WMI_VDEV_BCN_LATENCY_EVENTID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_bcn_latency_fixed_param, wmi_vdev_bcn_latency_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_BCN_LATENCY_EVENTID);

#ifdef __cplusplus
}
Expand Down

0 comments on commit 5b36610

Please sign in to comment.