|
@@ -644,7 +644,7 @@ QDF_STATUS wlan_epcs_deliver_cmd(struct wlan_objmgr_vdev *vdev,
|
|
|
if (!vdev)
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
|
|
|
- if (!wlan_vdev_mlme_get_epcs_flag(vdev)) {
|
|
|
+ if (!wlan_mlme_get_epcs_capability(wlan_vdev_get_psoc(vdev))) {
|
|
|
mlme_info("EPCS has been disabled");
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
}
|
|
@@ -658,9 +658,9 @@ QDF_STATUS wlan_epcs_set_config(struct wlan_objmgr_vdev *vdev, uint8_t flag)
|
|
|
return QDF_STATUS_E_FAILURE;
|
|
|
|
|
|
if (flag)
|
|
|
- wlan_vdev_mlme_set_epcs_flag(vdev, true);
|
|
|
+ wlan_mlme_set_epcs_capability(wlan_vdev_get_psoc(vdev), true);
|
|
|
else
|
|
|
- wlan_vdev_mlme_set_epcs_flag(vdev, false);
|
|
|
+ wlan_mlme_set_epcs_capability(wlan_vdev_get_psoc(vdev), false);
|
|
|
|
|
|
return QDF_STATUS_SUCCESS;
|
|
|
}
|
|
@@ -672,7 +672,7 @@ bool wlan_epcs_get_config(struct wlan_objmgr_vdev *vdev)
|
|
|
if (!vdev)
|
|
|
return false;
|
|
|
|
|
|
- epcs_flag = wlan_vdev_mlme_get_epcs_flag(vdev);
|
|
|
+ epcs_flag = wlan_mlme_get_epcs_capability(wlan_vdev_get_psoc(vdev));
|
|
|
mlme_debug("EPCS %s", epcs_flag ? "Enabled" : "Disabled");
|
|
|
|
|
|
return epcs_flag;
|