struct ieee80211_hdr *hdr, 
struct ieee80211_hdr_4addr *hdr, 
int hostap_update_rx_stats(struct ap_data *ap,			   struct ieee80211_hdr *hdr,			   struct hostap_80211_rx_status *rx_stats){	struct sta_info *sta;	if (!ap)		return -1;	spin_lock(&ap->sta_table_lock);	sta = ap_get_sta(ap, hdr->addr2);	if (sta) {		sta->last_rx_silence = rx_stats->noise;		sta->last_rx_signal = rx_stats->signal;		sta->last_rx_rate = rx_stats->rate;		sta->last_rx_updated = 7;		if (rx_stats->rate == 10)			sta->rx_count[0]++;		else if (rx_stats->rate == 20)			sta->rx_count[1]++;		else if (rx_stats->rate == 55)			sta->rx_count[2]++;		else if (rx_stats->rate == 110)			sta->rx_count[3]++;	}	spin_unlock(&ap->sta_table_lock);	return sta ? 0 : -1;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d041674d62e1ad565f2fb6d53ae80b31d6656033/hostap_ap.c/clean/drivers/net/wireless/hostap/hostap_ap.c