ot::Spinel::RadioSpinel::GetRadioChannelMask() method
Returns the radio channel mask.
Arguments
aPreferred
TRUE to get preferred channel mask, FALSE to get supported channel mask.
Return value
The radio channel mask according to @aPreferred: The radio supported channel mask that the device is allowed to be on. The radio preferred channel mask that the device prefers to form on.