Ugly hack to keep address structs from overwriting when getting MAC address.
Add channel support and channel-frequency conversion functions.