On 2010-11-10 1:23 PM, Vivek Natarajan wrote: > Keycache entry for a sta has the details of the negotiated > beamforming parameters which is to be used by the hardware > while trasmitting to that specific sta. > > Signed-off-by: Vivek Natarajan <vnatarajan@xxxxxxxxxxx> > --- > drivers/net/wireless/ath/ath.h | 2 ++ > drivers/net/wireless/ath/key.c | 29 +++++++++++++++++++++++++++++ > 2 files changed, 31 insertions(+), 0 deletions(-) > > diff --git a/drivers/net/wireless/ath/key.c b/drivers/net/wireless/ath/key.c > index 62e3dac..11f562e 100644 > --- a/drivers/net/wireless/ath/key.c > +++ b/drivers/net/wireless/ath/key.c > @@ -115,6 +115,7 @@ static bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry, > void *ah = common->ah; > u32 key0, key1, key2, key3, key4; > u32 keyType; > + u32 txbf = 0; > > if (entry >= common->keymax) { > ath_print(common, ATH_DBG_FATAL, > @@ -199,6 +200,9 @@ static bool ath_hw_set_keycache_entry(struct ath_common *common, u16 entry, > REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), key4); > REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), keyType); > > + REG_WRITE(ah, AR_KEYTABLE_TYPE(entry), > + keyType | txbf); > + > /* Write MAC address for the entry */ > (void) ath_hw_keysetmac(common, entry, mac); > What's the point of this change, if txbf is always zero? And why duplicate the REG_WRITE? - Felix -- 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