qcacmn: Add WMI support to enable injector frame cmd
Add corresponding WMI host param for enabling the injector frame on the AP. CRs-fixed: 2640751 Change-Id: I00a634375e0eafbacfd505aa39dce9c8d90804c6
Этот коммит содержится в:

коммит произвёл
nshrivas

родитель
1da6b755af
Коммит
78ddddb141
@@ -3912,4 +3912,16 @@ wmi_unified_extract_time_sync_ftm_offset(wmi_unified_t wmi_handle,
|
||||
struct ftm_time_sync_offset *param);
|
||||
#endif /* FEATURE_WLAN_TIME_SYNC_FTM */
|
||||
|
||||
/**
|
||||
* wmi_unified_send_injector_frame_config_cmd() - configure injector frame
|
||||
* @wmi_handle: wmi handle
|
||||
* @param: params received in the injector frame configure command
|
||||
*
|
||||
* This function configures the AP to send out injector frames
|
||||
*
|
||||
* Return QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
|
||||
*/
|
||||
QDF_STATUS
|
||||
wmi_unified_send_injector_frame_config_cmd(wmi_unified_t wmi_handle,
|
||||
struct wmi_host_injector_frame_params *param);
|
||||
#endif /* _WMI_UNIFIED_API_H_ */
|
||||
|
@@ -7352,6 +7352,22 @@ struct wmi_host_obss_spatial_reuse_set_def_thresh {
|
||||
};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* struct wmi_host_injector_frame_params - Injector frame configuration params
|
||||
* @vdev_id: vdev identifer of VAP
|
||||
* @enable: Enable/disable flag for the frame
|
||||
* @frame_type: Frame type to be enabled
|
||||
* @frame_inject_period: Periodicity of injector frame transmission
|
||||
* @dstmac: Destination address to be used for the frame
|
||||
*/
|
||||
struct wmi_host_injector_frame_params {
|
||||
uint32_t vdev_id;
|
||||
uint32_t enable;
|
||||
uint32_t frame_type;
|
||||
uint32_t frame_inject_period;
|
||||
uint8_t dstmac[QDF_MAC_ADDR_SIZE];
|
||||
};
|
||||
|
||||
/**
|
||||
* struct wds_entry - WDS entry structure
|
||||
* @peer_mac: peer mac
|
||||
|
@@ -2254,6 +2254,9 @@ QDF_STATUS (*extract_time_sync_ftm_offset_event)(
|
||||
#endif /* FEATURE_WLAN_TIME_SYNC_FTM */
|
||||
QDF_STATUS (*send_roam_scan_ch_list_req_cmd)(wmi_unified_t wmi_hdl,
|
||||
uint32_t vdev_id);
|
||||
|
||||
QDF_STATUS (*send_injector_config_cmd)(wmi_unified_t wmi_handle,
|
||||
struct wmi_host_injector_frame_params *params);
|
||||
};
|
||||
|
||||
/* Forward declartion for psoc*/
|
||||
|
Ссылка в новой задаче
Block a user