qcacld-3.0: Add async event for Spatial Reuse
Add async event for Spatial Reuse and also send Spatial Reuse enable / disable event to upper layer due to same MAC concurrency. Change-Id: Idcb5b99e39f1810e63ae7ac1e8d2eab6028a163f CRs-Fixed: 3307801
Šī revīzija ir iekļauta:

revīziju iesūtīja
Madan Koyyalamudi

vecāks
45f42c90a8
revīzija
14e356b81e
@@ -69,6 +69,7 @@
|
||||
#include "target_if_nan.h"
|
||||
#endif
|
||||
#include "wlan_scan_api.h"
|
||||
#include "spatial_reuse_api.h"
|
||||
#include "wlan_cm_api.h"
|
||||
#include <wlan_crypto_global_api.h>
|
||||
#include "cdp_txrx_host_stats.h"
|
||||
@@ -683,6 +684,9 @@ static void wma_sr_handle_conc(tp_wma_handle wma,
|
||||
return;
|
||||
|
||||
wma_sr_send_pd_threshold(wma, conc_vdev_id, val);
|
||||
wlan_spatial_reuse_osif_event(conc_vdev,
|
||||
SR_OPERATION_SUSPEND,
|
||||
SR_REASON_CODE_CONCURRENCY);
|
||||
} else if (wlan_vdev_mlme_is_sr_disable_due_conc(conc_vdev)) {
|
||||
wlan_vdev_mlme_set_sr_disable_due_conc(conc_vdev, false);
|
||||
if (!wlan_vdev_mlme_get_he_spr_enabled(conc_vdev))
|
||||
@@ -694,6 +698,9 @@ static void wma_sr_handle_conc(tp_wma_handle wma,
|
||||
(sr_ctrl & SRG_INFO_PRESENT)) {
|
||||
wlan_mlme_update_sr_data(conc_vdev, &val, 0, true);
|
||||
wma_sr_send_pd_threshold(wma, conc_vdev_id, val);
|
||||
wlan_spatial_reuse_osif_event(conc_vdev,
|
||||
SR_OPERATION_RESUME,
|
||||
SR_REASON_CODE_CONCURRENCY);
|
||||
} else {
|
||||
wma_debug("SR Disabled in SR Control");
|
||||
}
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user