mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacmn: Add support for fc_duration in injector frame WMI struct
Add support for fc_duration field in the injector frame WMI struct Change-Id: I8662c3037c32bd9c39914e0b7c77818fac4a6e36 CRs-fixed: 2770504
This commit is contained in:
parent
12c7f7a08b
commit
60b5f9357a
2 changed files with 4 additions and 1 deletions
|
|
@ -7526,7 +7526,8 @@ struct wmi_host_obss_spatial_reuse_set_def_thresh {
|
|||
* @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
|
||||
* @frame_inject_period: Periodicity of injector frame transmission in msecs
|
||||
* @frame_duration: Frame Duration field in usecs
|
||||
* @dstmac: Destination address to be used for the frame
|
||||
*/
|
||||
struct wmi_host_injector_frame_params {
|
||||
|
|
@ -7534,6 +7535,7 @@ struct wmi_host_injector_frame_params {
|
|||
uint32_t enable;
|
||||
uint32_t frame_type;
|
||||
uint32_t frame_inject_period;
|
||||
uint32_t frame_duration;
|
||||
uint8_t dstmac[QDF_MAC_ADDR_SIZE];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -9152,6 +9152,7 @@ QDF_STATUS send_injector_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|||
cmd->enable = inject_config_params->enable;
|
||||
cmd->frame_type = inject_config_params->frame_type;
|
||||
cmd->frame_inject_period = inject_config_params->frame_inject_period;
|
||||
cmd->fc_duration = inject_config_params->frame_duration;
|
||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(inject_config_params->dstmac,
|
||||
&cmd->frame_addr1);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue