extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, 
static inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, 
extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee,					  int mode){	/*	 * It is possible for both access points and our device to support	 * combinations of modes, so as long as there is one valid combination	 * of ap/device supported modes, then return success	 *	 */	if ((mode & IEEE_A) &&	    (ieee->modulation & IEEE80211_OFDM_MODULATION) &&	    (ieee->freq_band & IEEE80211_52GHZ_BAND))		return 1;	if ((mode & IEEE_G) &&	    (ieee->modulation & IEEE80211_OFDM_MODULATION) &&	    (ieee->freq_band & IEEE80211_24GHZ_BAND))		return 1;	if ((mode & IEEE_B) &&	    (ieee->modulation & IEEE80211_CCK_MODULATION) &&	    (ieee->freq_band & IEEE80211_24GHZ_BAND))		return 1;	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/9ba7e0d1579485ce231594651b39c169029f5d67/ieee80211.h/clean/include/net/ieee80211.h