qcacmn: Add support for setaddbaresp cmd for HE
Addba recieve/response logic has been implemented in host for HE instead of in FW like VHT. setaddbaresp is not hooked to the dp module yet to set the addba response from userspace. Implement the required logic for HE to support this command. Change-Id: I49cceca299db06d41f2cafa690f5ba59e01f1f4a CRs-fixed: 2163475
Цей коміт міститься в:

зафіксовано
snandini

джерело
d4212c2c9e
коміт
99a58d3b1a
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2011-2017 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2011-2018 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
|
||||
*
|
||||
@@ -773,6 +773,23 @@ static inline int cdp_delba_process(ol_txrx_soc_handle soc,
|
||||
tid, reasoncode);
|
||||
}
|
||||
|
||||
static inline void cdp_set_addbaresponse(ol_txrx_soc_handle soc,
|
||||
void *peer_handle, int tid, uint16_t statuscode)
|
||||
{
|
||||
if (!soc || !soc->ops) {
|
||||
QDF_TRACE(QDF_MODULE_ID_CDP, QDF_TRACE_LEVEL_DEBUG,
|
||||
"%s: Invalid Instance:", __func__);
|
||||
QDF_BUG(0);
|
||||
return;
|
||||
}
|
||||
|
||||
if (!soc->ops->cmn_drv_ops ||
|
||||
!soc->ops->cmn_drv_ops->set_addba_response)
|
||||
return;
|
||||
|
||||
soc->ops->cmn_drv_ops->set_addba_response(peer_handle, tid, statuscode);
|
||||
}
|
||||
|
||||
/**
|
||||
* cdp_get_peer_mac_addr_frm_id: function to return vdev id and and peer
|
||||
* mac address
|
||||
|
Посилання в новій задачі
Заблокувати користувача