[rt2x00-users] [RFC 5/6] rt2x00: Make use of sta_add/remove callbacks in rt2800
Ivo Van Doorn
ivdoorn at gmail.com
Mon Jun 6 22:30:49 EST 2011
On Tue, May 31, 2011 at 4:08 PM, Helmut Schaa
<helmut.schaa at googlemail.com> wrote:
> This allows us to assign a WCID to each STA even for STAs without
> crypto key.
> To achieve this search for an unused WCID in the HW WCID table and
> assign it to the according STA. When configuring a pairwise key for this
> STA we don't need to write the MAC address and BSSIDX anymore but just
> update the crypto related fields in the WCID_ATTR table.
> This has two advantages:
> 1) Setting a new key for an already available STA (PTK rekeying) is
> slightly less expensive and should improve performance in situations
> where a lot of rekeying happens (e.g. a huge number of stations and/or
> a small rekeying interval)
> 2) The TXWI now gets a WCID assigned for unencrypted frames which will
> be reflected in the corresponding tx status report. This should make tx
> status reports in unencrypted AP mode more reliable as we can
> distinguish between multiple key-less STAs.
> Signed-off-by: Helmut Schaa <helmut.schaa at googlemail.com>
Patch looks good, should be carefully tested though to see if it works
on all encryption types.
More information about the users