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:
Wu Gao 2019-04-17 18:57:56 +08:00 • committed by nshrivas
commit eb2aa7885f

View file

@ -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
*/