[rt2x00-users] [PATCH 7/7] rt2x00: Fix WMM Queue naming

洪 偉傑 jay.weihung at gmail.com
Wed Dec 15 04:43:00 EST 2010


> Hi Jay,
> 
> On Wed, Dec 15, 2010 at 12:40:13AM +0800, 洪 偉傑 wrote:
>>>> BulkOut EP1 for AC_BE
>>>> BulkOut EP2 for AC_BK
>>>> BulkOut EP3 for AC_VI
>>>> BulkOut EP4 for AC_VO
> 
> One question: if EP1 is lowest prio, it is AC_BK, right?
> Or is it deliberate that the first OUT EP is AC_BE?

EP1 is for AC_BE.

> 
>> Between endpoint and packet buffer in DMA block, HW will have WMM DMA which consists of 
>> WMM scheduler and DMA engine. WMM scheduler is used for Tx frame scheduling
>> to meet QoS requirement. DMA engine is in charge of data transferring between endpoint
>> anf packet memory. In DMA block, it is fixed map between EP# and AC, it will refer
>> WMM_*_CFG to decide next frame from which ep#(4 > 3>2>1) and count TXOP
>> from WMM_*_CFG register. All Data will send to TX2Q. The second stage
>> scheduler in MAC block will refer EDCA_*_CFG register, EDCA_TID_AC_MAP
>> and Qos field of frame when sending out frame in TX2Q.
>> 
>> Note: In USB chip, management will send to EP0, then send out to TX2Q.
>>            In PCI chip, management will send to its own queue from TX_BASE_PTR5,
>> 	    then send out to TX0Q.
> 
> Thank you very much, this is valuable information.  So we need to make
> sure we use EP4 for AC_VO etc.  Currently, since mac80211 uses
> IEEE80211_AC_VO = 0, we also use QID_AC_VO = 0, and I think
> this currently means we use EP1 for AC_VO
> (assigned in rt2x00usb_find_endpoints()).

Jay
> 




More information about the users mailing list