Implement get channel for MC1322x
As there is currently no way to request the channel from maca. Return value in transceiver.c set_channel() is useless.
Setting the channel on the mc1322x is not trivial as is getting the channel.
From the mc1322x specs p. 165:
Because of the complete onboard solution [...] the control and use of the transceiver has been highly abstracted. [...] Freescale provides software interfaces to set power levels, set channel frequencies, set receive modes [...] As a result, actual control details for the transceiver are not provided to the user.
In short it requires computation of the according power and frequency settings for the RF synthesizer.
Reverse engineering a get_channel() will take some more time and the Freescale BeeKit SDK I think since it isn't implemented in any other open project neither.
In this case, get_channel() could return the last set channel.
This issue is tagged wontfix and stale for the last 7 months.
Then, let's close it.