Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e0d4866d authored by Vevek Venkatesan's avatar Vevek Venkatesan Committed by Madan Koyyalamudi
Browse files

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
parent 3c9d2e49
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -106,9 +106,11 @@ struct cds_hang_event_fixed_param {
static inline int
cds_send_delba(struct cdp_ctrl_objmgr_psoc *psoc,
	       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 = {
+3 −1
Original line number Diff line number Diff line
@@ -2333,13 +2333,15 @@ uint8_t wma_rx_invalid_peer_ind(uint8_t vdev_id, void *wh);
 * @peer_macaddr: peer mac address
 * @tid: tid of rx
 * @reason_code: reason code
 * @cdp_rcode: CDP reason code for sending DELBA
 *
 * Return: 0 for success or non-zero on failure
 */
int wma_dp_send_delba_ind(uint8_t vdev_id,
			  uint8_t *peer_macaddr,
			  uint8_t tid,
			  uint8_t reason_code);
			  uint8_t reason_code,
			  enum cdp_delba_rcode cdp_rcode);

/**
 * is_roam_inprogress() - Is vdev in progress
+2 −1
Original line number Diff line number Diff line
@@ -3098,7 +3098,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,
			  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);
	struct lim_delba_req_info *req;