diff options
| author | Agrawal Ashish <ashishka@qti.qualcomm.com> | 2016-07-14 12:59:47 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-07-14 05:06:11 -0700 |
| commit | 26b8acbe841a1e0dcfcb1984c02b6df24d57faa8 (patch) | |
| tree | 6520520f9092f6a8183b6ea9d23aee073c9c12c1 | |
| parent | 33b0be9f2e78eff2113f60a2c8d1463d284e9c29 (diff) | |
qcacld-2.0: Pass tx_pkt_fail_cnt_threshold to FW-1
Add data structures to save tx_pkt_fail_cnt_threshold and changes
to pass the same to FW.
Change-Id: Ieeb7b348ec49c4befdfc1641a97b5a060cadedf4
CRs-Fixed: 1041575
| -rw-r--r-- | CORE/MAC/inc/sirApi.h | 2 | ||||
| -rw-r--r-- | CORE/SERVICES/WMA/wma.c | 2 | ||||
| -rw-r--r-- | CORE/SME/inc/sme_Api.h | 2 | ||||
| -rw-r--r-- | CORE/SME/src/sme_common/sme_Api.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/CORE/MAC/inc/sirApi.h b/CORE/MAC/inc/sirApi.h index 34e60945775f..d051825dc984 100644 --- a/CORE/MAC/inc/sirApi.h +++ b/CORE/MAC/inc/sirApi.h @@ -7494,7 +7494,7 @@ struct sme_update_access_policy_vendor_ie { */ struct sme_tx_fail_cnt_threshold { uint8_t session_id; - uint16_t tx_fail_cnt_threshold; + uint32_t tx_fail_cnt_threshold; }; /** diff --git a/CORE/SERVICES/WMA/wma.c b/CORE/SERVICES/WMA/wma.c index d616752a3ffd..56509bc5d48b 100644 --- a/CORE/SERVICES/WMA/wma.c +++ b/CORE/SERVICES/WMA/wma.c @@ -30216,7 +30216,7 @@ static VOS_STATUS wma_update_tx_fail_cnt_th(tp_wma_handle wma, struct sme_tx_fail_cnt_threshold *tx_fail_cnt_th) { u_int8_t vdev_id; - u_int16_t tx_fail_disconn_th; + u_int32_t tx_fail_disconn_th; int ret = -EIO; if (!wma || !wma->wmi_handle) { diff --git a/CORE/SME/inc/sme_Api.h b/CORE/SME/inc/sme_Api.h index b01c8a6d93a5..ce3f3ad7d70c 100644 --- a/CORE/SME/inc/sme_Api.h +++ b/CORE/SME/inc/sme_Api.h @@ -4592,7 +4592,7 @@ void sme_set_allowed_action_frames(tHalHandle hal, uint32_t bitmap0); eHalStatus sme_update_access_policy_vendor_ie(tHalHandle hal, uint8_t session_id, uint8_t *vendor_ie, int access_policy); eHalStatus sme_update_tx_fail_cnt_threshold(tHalHandle hal_handle, - uint8_t session_id, uint8_t tx_fail_count); + uint8_t session_id, uint32_t tx_fail_count); eHalStatus sme_update_short_retry_limit_threshold(tHalHandle hal_handle, uint8_t session_id, uint32_t short_limit_count_th); eHalStatus sme_update_long_retry_limit_threshold(tHalHandle hal_handle, diff --git a/CORE/SME/src/sme_common/sme_Api.c b/CORE/SME/src/sme_common/sme_Api.c index 55584a1a17f8..e8d4fd300495 100644 --- a/CORE/SME/src/sme_common/sme_Api.c +++ b/CORE/SME/src/sme_common/sme_Api.c @@ -19277,7 +19277,7 @@ eHalStatus sme_update_access_policy_vendor_ie(tHalHandle hal, * Return: eHAL_STATUS_SUCCESS or non-zero on failure. */ eHalStatus sme_update_tx_fail_cnt_threshold(tHalHandle hal_handle, - uint8_t session_id, uint8_t tx_fail_count) + uint8_t session_id, uint32_t tx_fail_count) { tpAniSirGlobal mac_ctx = PMAC_STRUCT(hal_handle); eHalStatus status = eHAL_STATUS_SUCCESS; |
