qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
429 stars 182 forks source link

Some STBC cleanups #27

Closed olerem closed 11 years ago

olerem commented 11 years ago

Remove some useless STBC parts and make code more readable

olerem commented 11 years ago

I move discussion here. That was wrong request.

Hm,

    so it turns out the stbc rx handling is right - the API has two bits, and you can get away with setting just 1 bit for 1xSTBC
    why are you ripping out the STBC capability matching?
olerem commented 11 years ago

i remove all unused checks. Do you mean htcap flags?

olerem commented 11 years ago

ping

erikarn commented 11 years ago

Yes, you're right. If we use capinfo as "config" rather than as "what the peer announced", we can kill the STBC capability code and checks. Otherwise, we need to keep them and check both capinfo and TX STBC capability before we can transmit them.

Make sense?

olerem commented 11 years ago

yes, i'll prepare patches.