qcacmn: Enable station SMPS only if the session supported NSS > 1
If HT SMPS is enabled and if the session supported NSS > 1 then include SMPS IE in the HT capabilities of the association and the reassociation management frame.Enabling SMPS with an AP whose capability is only 1x1 will result in association/reassociation request being rejected or an unexpected behavior. Send SMPS force mode to FW to trigger SMPS action frame only if SMPS is enabled in the INI. For dynamic antenna switch, the chain mask manager will send the SMPS action frames. CRs-Fixed: 931250 Change-Id: Ifff2ef2c8790994a68e676b8bba2fb03c21370d4
This commit is contained in:

committed by
Naveen Rawat

parent
7e652921ab
commit
b51680551b
@@ -1744,6 +1744,10 @@ QDF_STATUS send_set_mimops_cmd_tlv(wmi_unified_t wmi_handle,
|
||||
|
||||
cmd->vdev_id = vdev_id;
|
||||
|
||||
/* WMI_SMPS_FORCED_MODE values do not directly map
|
||||
* to SM power save values defined in the specification.
|
||||
* Make sure to send the right mapping.
|
||||
*/
|
||||
switch (value) {
|
||||
case 0:
|
||||
cmd->forced_mode = WMI_SMPS_FORCED_MODE_NONE;
|
||||
|
Reference in New Issue
Block a user