qcacld-3.0: Set current bss color in lim
The current bss color value is 0 in color detection config which is not valid. Set it accordingly in lim to share the correct bss color config to FW. Change-Id: I4387c7eb661846d70b62cde41b64b9c174e2f48c CRs-Fixed: 2689632
This commit is contained in:

committed by
nshrivas

parent
c82b2c0c6a
commit
7f2e4159da
@@ -5859,6 +5859,7 @@ void lim_send_obss_color_collision_cfg(struct mac_context *mac_ctx,
|
|||||||
qdf_mem_zero(cfg_param, sizeof(*cfg_param));
|
qdf_mem_zero(cfg_param, sizeof(*cfg_param));
|
||||||
cfg_param->vdev_id = session->smeSessionId;
|
cfg_param->vdev_id = session->smeSessionId;
|
||||||
cfg_param->evt_type = event_type;
|
cfg_param->evt_type = event_type;
|
||||||
|
cfg_param->current_bss_color = session->he_op.bss_color;
|
||||||
if (LIM_IS_AP_ROLE(session))
|
if (LIM_IS_AP_ROLE(session))
|
||||||
cfg_param->detection_period_ms =
|
cfg_param->detection_period_ms =
|
||||||
OBSS_COLOR_COLLISION_DETECTION_AP_PERIOD_MS;
|
OBSS_COLOR_COLLISION_DETECTION_AP_PERIOD_MS;
|
||||||
|
Reference in New Issue
Block a user