Date: Sun, 13 May 2007 05:24:36 GMT From: Sepherosa Ziehau <sephe@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 119756 for review Message-ID: <200705130524.l4D5OapU055015@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=119756 Change 119756 by sephe@sephe_zealot:sam_wifi on 2007/05/13 05:24:20 u_intX_t -> uintX_t Approved by: sam Affected files ... .. //depot/projects/wifi/sys/net80211/ieee80211_regdomain.c#4 edit .. //depot/projects/wifi/sys/net80211/ieee80211_regdomain.h#3 edit Differences ... ==== //depot/projects/wifi/sys/net80211/ieee80211_regdomain.c#4 (text+ko) ==== @@ -115,8 +115,8 @@ /* * Add Country Information IE. */ -u_int8_t * -ieee80211_add_countryie(u_int8_t *frm, struct ieee80211com *ic, +uint8_t * +ieee80211_add_countryie(uint8_t *frm, struct ieee80211com *ic, enum ISOCountryCode cc, int location) { #define CHAN_UNINTERESTING \ @@ -139,7 +139,7 @@ }; struct ieee80211_country_ie *ie = (struct ieee80211_country_ie *)frm; const char *iso_name; - u_int8_t nextchan, chans[IEEE80211_CHAN_BYTES]; + uint8_t nextchan, chans[IEEE80211_CHAN_BYTES]; int i, skip; ie->ie = IEEE80211_ELEMID_COUNTRY; @@ -162,7 +162,7 @@ /* * Run-length encoded channel+max tx power info. */ - frm = (u_int8_t *)&ie->band[0]; + frm = (uint8_t *)&ie->band[0]; nextchan = 0; /* NB: impossible channel # */ memset(chans, 0, sizeof(chans)); skip = skipflags[ic->ic_curmode]; ==== //depot/projects/wifi/sys/net80211/ieee80211_regdomain.h#3 (text+ko) ==== @@ -173,7 +173,7 @@ void ieee80211_init_channels(struct ieee80211com *ic, int rd, enum ISOCountryCode cc, int bands, int outdoor, int ecm); -u_int8_t *ieee80211_add_countryie(u_int8_t *, struct ieee80211com *, +uint8_t *ieee80211_add_countryie(uint8_t *, struct ieee80211com *, enum ISOCountryCode cc, int location); const char *ieee80211_cctoiso(enum ISOCountryCode); int ieee80211_isotocc(const char iso[2]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705130524.l4D5OapU055015>