diff options
author | sam <sam@FreeBSD.org> | 2005-11-15 05:56:32 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2005-11-15 05:56:32 +0000 |
commit | 0bc81b535724c930e0ee0dbb084bbf30a4e9d734 (patch) | |
tree | 71ec0542689853d9159985c6d4cd37b2d8b2e01e /sys/net80211/ieee80211_var.h | |
parent | e0af8384a54604568157aeab1d58c52b68026924 (diff) | |
download | FreeBSD-src-0bc81b535724c930e0ee0dbb084bbf30a4e9d734.zip FreeBSD-src-0bc81b535724c930e0ee0dbb084bbf30a4e9d734.tar.gz |
Update ieee80211_mhz2ieee to understand public safety bands and spectrum
that can potentially be mapped to negative ieee #'s.
NB: before operation on the latter can be supported we need to cleanup
various code that assumes ieee channel #'s are >= 0
Diffstat (limited to 'sys/net80211/ieee80211_var.h')
-rw-r--r-- | sys/net80211/ieee80211_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net80211/ieee80211_var.h b/sys/net80211/ieee80211_var.h index c552d36..05a8849 100644 --- a/sys/net80211/ieee80211_var.h +++ b/sys/net80211/ieee80211_var.h @@ -286,8 +286,8 @@ void ieee80211_watchdog(struct ieee80211com *); int ieee80211_rate2media(struct ieee80211com *, int, enum ieee80211_phymode); int ieee80211_media2rate(int); -u_int ieee80211_mhz2ieee(u_int, u_int); -u_int ieee80211_chan2ieee(struct ieee80211com *, struct ieee80211_channel *); +int ieee80211_mhz2ieee(u_int, u_int); +int ieee80211_chan2ieee(struct ieee80211com *, struct ieee80211_channel *); u_int ieee80211_ieee2mhz(u_int, u_int); int ieee80211_setmode(struct ieee80211com *, enum ieee80211_phymode); enum ieee80211_phymode ieee80211_chan2mode(struct ieee80211com *, |