mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
qcacld-3.0: Remove the codes about TDLS low rssi teardown
Both FW and host support TDLS low rssi teardown, so remove the host logic. In addition, host trigger low rssi teardown wrongly since doesn't update rssi of tdls peer on time. Change-Id: I93d7957e01ba805b73558a5ced7a1dc8cc2681c1 CRs-Fixed: 2437166
This commit is contained in:
parent
c06f367c74
commit
eb2aa7885f
1 changed files with 1 additions and 11 deletions
|
|
@ -686,17 +686,7 @@ static void tdls_ct_process_connected_link(
|
|||
struct tdls_vdev_priv_obj *tdls_vdev,
|
||||
struct tdls_soc_priv_obj *tdls_soc)
|
||||
{
|
||||
|
||||
if ((int32_t)curr_peer->rssi <
|
||||
(int32_t)tdls_vdev->threshold_config.rssi_teardown_threshold) {
|
||||
tdls_warn("Tear down - low RSSI: " QDF_MAC_ADDR_STR "!",
|
||||
QDF_MAC_ADDR_ARRAY(curr_peer->peer_mac.bytes));
|
||||
tdls_indicate_teardown(tdls_vdev,
|
||||
curr_peer,
|
||||
TDLS_TEARDOWN_PEER_UNSPEC_REASON);
|
||||
return;
|
||||
}
|
||||
|
||||
/* Don't trigger low rssi tear down here since FW will do it */
|
||||
/* Only teardown based on non zero idle packet threshold, to address
|
||||
* a use case where this threshold does not get consider for TEAR DOWN
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue