mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Stop and flush data when radar is found
Do not send data packets when radar is found Change-Id: Icd7c042099cc4431cb836d0fcc3d10ad7db5982f CRs-Fixed: 2237858
This commit is contained in:
parent
18b4936767
commit
0e03a98d21
1 changed files with 4 additions and 1 deletions
|
|
@ -56,6 +56,7 @@
|
|||
#include <cdp_txrx_peer_ops.h>
|
||||
#include <cdp_txrx_misc.h>
|
||||
#include <cdp_txrx_stats.h>
|
||||
#include "cdp_txrx_flow_ctrl_legacy.h"
|
||||
|
||||
#include <net/addrconf.h>
|
||||
#include <linux/wireless.h>
|
||||
|
|
@ -2053,12 +2054,14 @@ bool hdd_dfs_indicate_radar(struct hdd_context *hdd_ctx)
|
|||
|
||||
if ((QDF_SAP_MODE == adapter->device_mode ||
|
||||
QDF_P2P_GO_MODE == adapter->device_mode) &&
|
||||
(wlan_reg_is_dfs_ch(hdd_ctx->hdd_pdev,
|
||||
(wlan_reg_is_passive_or_disable_ch(hdd_ctx->hdd_pdev,
|
||||
ap_ctx->operating_channel))) {
|
||||
WLAN_HDD_GET_AP_CTX_PTR(adapter)->dfs_cac_block_tx =
|
||||
true;
|
||||
hdd_info("tx blocked for session: %d",
|
||||
adapter->session_id);
|
||||
cdp_fc_vdev_flush(cds_get_context(QDF_MODULE_ID_SOC),
|
||||
adapter->txrx_vdev);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue