qcacld-3.0: Don't reject SR command if threshold not provided
As per current implementation, SR(Spatial Reuse) commands are rejected if STA is not connected or connected to AP that doesn't support SR which causes issue because SR Enable/Disable command shouldn't reject if STA is not connected instead of rejection same configuration should be applied when SR AP connects to STA. Fix is to not to reject SR command if PD threshold is not provided along with enable command, so that enable command can be accepted and applied when AP that supports SR connects to station. Change-Id: Ie4a973053b79d0d5931bcc2520da42f9aab93089 CRs-Fixed: 3350451
このコミットが含まれているのは:
@@ -138,12 +138,16 @@ QDF_STATUS ucfg_spatial_reuse_operation_allowed(struct wlan_objmgr_psoc *psoc,
|
||||
{
|
||||
uint32_t conc_vdev_id;
|
||||
uint8_t vdev_id, mac_id;
|
||||
QDF_STATUS status;
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
if (!vdev || !psoc)
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
|
||||
vdev_id = wlan_vdev_get_id(vdev);
|
||||
if (!policy_mgr_get_connection_count(psoc)) {
|
||||
mlme_debug("No active vdev");
|
||||
return status;
|
||||
}
|
||||
status = policy_mgr_get_mac_id_by_session_id(psoc, vdev_id, &mac_id);
|
||||
if (QDF_IS_STATUS_ERROR(status))
|
||||
return status;
|
||||
@@ -152,6 +156,5 @@ QDF_STATUS ucfg_spatial_reuse_operation_allowed(struct wlan_objmgr_psoc *psoc,
|
||||
if (conc_vdev_id != WLAN_INVALID_VDEV_ID &&
|
||||
!policy_mgr_sr_same_mac_conc_enabled(psoc))
|
||||
return QDF_STATUS_E_NOSUPPORT;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
新しいイシューから参照
ユーザーをブロックする