[rt2x00-users] [RFC] rt2x00: rt2800: enable STBC

Helmut Schaa helmut.schaa at googlemail.com
Fri May 28 22:31:15 AEST 2010


Am Freitag 28 Mai 2010 schrieb Gertjan van Wingerde:
> On 05/28/10 13:35, Helmut Schaa wrote:
> > +	if (tx_info->flags & IEEE80211_TX_CTL_STBC)
> > +		__set_bit(ENTRY_TXD_HT_STBC, &txdesc->flags);
> >  
> >  	/*
> >  	 * Determine HT Mix/Greenfield rate mode
> 
> This doesn't seem to work. In mac80211 the IEEE80211_TX_CTL_STBC is actually a 2-bit field,
> so is the field in the TXWI structure of rt2x00. I suggest we keep the stbc field a u16 (or a u8)
> and simply copy the value of these two bits into that field.

I know what you mean but the ralink drivers only use 0 and 1. Maybe because
there are no 3 tx stream devices yet? But you're right, let's keep the stbc
field and map everything !=0 to 1 for now?

Thanks,
Helmut




More information about the users mailing list