qcacld-3.0: add DP reason code support for send_delba
Add DP reason code support for sending DELBA request, so protocol layer can make decisions for special cases. Change-Id: I4eeba3513820a98a15682190e40a06ce178d9441 CRs-Fixed: 2983544
This commit is contained in:

کامیت شده توسط
Madan Koyyalamudi

والد
d10a61094e
کامیت
14d84bf050
@@ -109,9 +109,11 @@ struct cds_hang_event_fixed_param {
|
|||||||
static inline int
|
static inline int
|
||||||
cds_send_delba(struct cdp_ctrl_objmgr_psoc *psoc,
|
cds_send_delba(struct cdp_ctrl_objmgr_psoc *psoc,
|
||||||
uint8_t vdev_id, uint8_t *peer_macaddr,
|
uint8_t vdev_id, uint8_t *peer_macaddr,
|
||||||
uint8_t tid, uint8_t reason_code)
|
uint8_t tid, uint8_t reason_code,
|
||||||
|
uint8_t cdp_reason_code)
|
||||||
{
|
{
|
||||||
return wma_dp_send_delba_ind(vdev_id, peer_macaddr, tid, reason_code);
|
return wma_dp_send_delba_ind(vdev_id, peer_macaddr, tid,
|
||||||
|
reason_code, cdp_reason_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct ol_if_ops dp_ol_if_ops = {
|
static struct ol_if_ops dp_ol_if_ops = {
|
||||||
|
@@ -2312,13 +2312,15 @@ uint8_t wma_rx_invalid_peer_ind(uint8_t vdev_id, void *wh);
|
|||||||
* @peer_macaddr: peer mac address
|
* @peer_macaddr: peer mac address
|
||||||
* @tid: tid of rx
|
* @tid: tid of rx
|
||||||
* @reason_code: reason code
|
* @reason_code: reason code
|
||||||
|
* @cdp_rcode: CDP reason code for sending DELBA
|
||||||
*
|
*
|
||||||
* Return: 0 for success or non-zero on failure
|
* Return: 0 for success or non-zero on failure
|
||||||
*/
|
*/
|
||||||
int wma_dp_send_delba_ind(uint8_t vdev_id,
|
int wma_dp_send_delba_ind(uint8_t vdev_id,
|
||||||
uint8_t *peer_macaddr,
|
uint8_t *peer_macaddr,
|
||||||
uint8_t tid,
|
uint8_t tid,
|
||||||
uint8_t reason_code);
|
uint8_t reason_code,
|
||||||
|
enum cdp_delba_rcode cdp_rcode);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* is_roam_inprogress() - Is vdev in progress
|
* is_roam_inprogress() - Is vdev in progress
|
||||||
|
@@ -3100,7 +3100,8 @@ uint8_t wma_rx_invalid_peer_ind(uint8_t vdev_id, void *wh)
|
|||||||
}
|
}
|
||||||
|
|
||||||
int wma_dp_send_delba_ind(uint8_t vdev_id, uint8_t *peer_macaddr,
|
int wma_dp_send_delba_ind(uint8_t vdev_id, uint8_t *peer_macaddr,
|
||||||
uint8_t tid, uint8_t reason_code)
|
uint8_t tid, uint8_t reason_code,
|
||||||
|
enum cdp_delba_rcode cdp_reason_code)
|
||||||
{
|
{
|
||||||
tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA);
|
tp_wma_handle wma = cds_get_context(QDF_MODULE_ID_WMA);
|
||||||
struct lim_delba_req_info *req;
|
struct lim_delba_req_info *req;
|
||||||
|
مرجع در شماره جدید
Block a user