[RFC v3 05/11] ath10k: htt: High latency TX support

Kalle Valo kvalo at qca.qualcomm.com
Fri Dec 22 07:26:22 PST 2017


Erik Stromdahl <erik.stromdahl at gmail.com> writes:

> Add HTT TX function for HL interfaces.
> Intended for SDIO and USB.
>
> Signed-off-by: Erik Stromdahl <erik.stromdahl at gmail.com>

[...]

> +	/* Prepend the HTT header and TX desc struct to the data message
> +	 * and realloc the skb if it does not have enough headroom.
> +	 */
> +	if (skb_headroom(msdu) < HTT_TX_HL_NEEDED_HEADROOM) {
> +		struct sk_buff *tmp_skb = msdu;

Style: please have the variable declaration in the beginning of the
function.

-- 
Kalle Valo


More information about the ath10k mailing list