diff --git a/core/hdd/src/wlan_hdd_ioctl.c b/core/hdd/src/wlan_hdd_ioctl.c index c4792c2b9b33..0b57a14cb2e2 100644 --- a/core/hdd/src/wlan_hdd_ioctl.c +++ b/core/hdd/src/wlan_hdd_ioctl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2019 The Linux Foundation. All rights reserved. * * Permission to use, copy, modify, and/or distribute this software for * any purpose with or without fee is hereby granted, provided that the @@ -5067,8 +5067,6 @@ static int drv_cmd_set_rmc_tx_rate(struct hdd_adapter *adapter, goto exit; } hdd_debug("uRate %d", uRate); - /* -1 implies ignore this param */ - rateUpdateParams.ucastDataRate = -1; /* * Fill the user specifieed RMC rate param diff --git a/core/mac/inc/sir_api.h b/core/mac/inc/sir_api.h index 727c099ad33a..d3203157f2df 100644 --- a/core/mac/inc/sir_api.h +++ b/core/mac/inc/sir_api.h @@ -3035,14 +3035,6 @@ typedef struct sSirRateUpdateInd { struct qdf_mac_addr bssid; enum QDF_OPMODE dev_mode; int32_t bcastDataRate; /* bcast rate unit Mbpsx10, -1:not used */ - /* - * 0 implies RA, positive value implies fixed rate, -1 implies ignore - * this param. - */ - int32_t ucastDataRate; - - /* TX flag to differentiate between HT20, HT40 etc */ - enum tx_rate_info ucastDataRateTxFlag; /* * 0 implies MCAST RA, positive value implies fixed rate,