[PATCH 2/5] wcn36xx: let device generate qos seq numbers

Yeoh Chun-Yeow yeohchunyeow at gmail.com
Mon Mar 3 19:52:19 EST 2014


>
> diff --git a/txrx.c b/txrx.c
> index 0fae529..9928f7a 100644
> --- a/txrx.c
> +++ b/txrx.c
> @@ -95,6 +95,7 @@ static void wcn36xx_set_tx_pdu(struct wcn36xx_tx_bd *bd,
>                 bd->pdu.mpdu_header_off;
>         bd->pdu.mpdu_len = len;
>         bd->pdu.tid = tid;
> +       bd->pdu.bd_ssn = 2;
>  }

Could this be more explanatory if we use the macros.

/* Refer to prima core WDI/CP/inc/wlan_qct_wdi_dp.h */
#define WCN36XX_TXBD_SSN_FILL_HOST 0
#define WCN36XX_TXBD_SSN_FILL_DPU_NON_QOS 1
#define WCN36XX_TXBD_SSN_FILL_DPU_QOS 2

-----
Chun-Yeow



More information about the wcn36xx mailing list