Search Linux Wireless

[PATCH] ath9k_htc: abort tx/rx on fast channel change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rajkumar Manoharan wrote:
> -	if (!fastcc)
> +	if (fastcc) {
> +		/* abort pending tx frames */
> +		WMI_CMD(WMI_ABORT_TX_DMA_CMDID);

Why abort instead of stop ?
And if i remember correctly, aborting of TX is enabled
only for the AR9003 family.

> +		WMI_CMD(WMI_ABORT_TXQ_CMDID);

This is exactly the same as DRAIN_TXQ_ALL.

> +		/* Clear receive filter */
> +		ath9k_hw_setrxfilter(ah, 0);

Why should the filter be cleared ?

> +		WMI_CMD(WMI_STOP_DMA_RECV_CMDID);

WMI_STOP_RECV does this already.

> +		WMI_CMD(WMI_RX_LINK_CMDID);

The host should have nothing to do with setting the rx_link
variable on the target. This WMI command should really be
removed.

A little more information on what this patch fixes would be nice.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux