if ((fc & WLAN_FC_FROMDS) && (fc & WLAN_FC_TODS)) 
if ((fc & IEEE80211_FCTL_FROMDS) && (fc & IEEE80211_FCTL_TODS)) 
int hostap_80211_get_hdrlen(u16 fc){	int hdrlen = 24;	switch (WLAN_FC_GET_TYPE(fc)) {	case IEEE80211_FTYPE_DATA:		if ((fc & WLAN_FC_FROMDS) && (fc & WLAN_FC_TODS))			hdrlen = 30; /* Addr4 */		break;	case IEEE80211_FTYPE_CTL:		switch (WLAN_FC_GET_STYPE(fc)) {		case IEEE80211_STYPE_CTS:		case IEEE80211_STYPE_ACK:			hdrlen = 10;			break;		default:			hdrlen = 16;			break;		}		break;	}	return hdrlen;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b2f4a2e3b1620667da9654f9e220c92ea52bdbe4/hostap.c/buggy/drivers/net/wireless/hostap/hostap.c