qcacmn: Add BW argument to frame_injector WMI
Support to pass bandwidth parameter to frame_injector WMI. Change-Id: Id3836ae98c269659b6ec0f78f1e9c04bf549c64d CRs-Fixed: 3477889
This commit is contained in:

committed by
Madan Koyyalamudi

parent
7a3946c538
commit
f74c73af6c
@@ -8700,6 +8700,7 @@ struct wmi_host_obss_spatial_reuse_set_def_thresh {
|
|||||||
* @frame_type: Frame type to be enabled
|
* @frame_type: Frame type to be enabled
|
||||||
* @frame_inject_period: Periodicity of injector frame transmission in msecs
|
* @frame_inject_period: Periodicity of injector frame transmission in msecs
|
||||||
* @frame_duration: Frame Duration field in usecs
|
* @frame_duration: Frame Duration field in usecs
|
||||||
|
* @frame_bw: Bandwidth of the injected frame
|
||||||
* @dstmac: Destination address to be used for the frame
|
* @dstmac: Destination address to be used for the frame
|
||||||
*/
|
*/
|
||||||
struct wmi_host_injector_frame_params {
|
struct wmi_host_injector_frame_params {
|
||||||
@@ -8708,6 +8709,7 @@ struct wmi_host_injector_frame_params {
|
|||||||
uint32_t frame_type;
|
uint32_t frame_type;
|
||||||
uint32_t frame_inject_period;
|
uint32_t frame_inject_period;
|
||||||
uint32_t frame_duration;
|
uint32_t frame_duration;
|
||||||
|
uint32_t frame_bw;
|
||||||
uint8_t dstmac[QDF_MAC_ADDR_SIZE];
|
uint8_t dstmac[QDF_MAC_ADDR_SIZE];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -12224,6 +12224,7 @@ QDF_STATUS send_injector_config_cmd_tlv(wmi_unified_t wmi_handle,
|
|||||||
cmd->fc_duration = inject_config_params->frame_duration;
|
cmd->fc_duration = inject_config_params->frame_duration;
|
||||||
WMI_CHAR_ARRAY_TO_MAC_ADDR(inject_config_params->dstmac,
|
WMI_CHAR_ARRAY_TO_MAC_ADDR(inject_config_params->dstmac,
|
||||||
&cmd->frame_addr1);
|
&cmd->frame_addr1);
|
||||||
|
cmd->bw = inject_config_params->frame_bw;
|
||||||
|
|
||||||
ret = wmi_unified_cmd_send(wmi_handle, buf, len,
|
ret = wmi_unified_cmd_send(wmi_handle, buf, len,
|
||||||
WMI_PDEV_FRAME_INJECT_CMDID);
|
WMI_PDEV_FRAME_INJECT_CMDID);
|
||||||
|
Reference in New Issue
Block a user