int offset;
ar5k_ar5211_isKeyCacheEntryValid(hal, entry)	struct ath_hal *hal;	u_int16_t entry;{	int offset;	AR5K_ASSERT_ENTRY(entry, AR5K_AR5211_KEYTABLE_SIZE);	/*	 * Check the validation flag at the end of the entry	 */	offset = (AR5K_AR5211_KEYCACHE_SIZE - 1) * 4;	if (AR5K_REG_READ(AR5K_AR5211_KEYTABLE(entry) + offset) &	    AR5K_AR5211_KEYTABLE_VALID)		return AH_TRUE;	return (AH_FALSE);}