wimax_rfkill — Set the software RF switch state for a WiMAX device
|struct wimax_dev * wimax_dev,|
|enum wimax_rf_state state|
struct wimax_dev * wimax_dev
WiMAX device descriptor
enum wimax_rf_state state
New RF state.
>= 0 toggle state if ok, < 0 errno code on error. The toggle state is returned as a bitmap, bit 0 being the hardware RF state, bit 1 the software RF state.
0 means disabled (
WIMAX_RF_ON, radio on), 1 means enabled radio
Called by the user when he wants to request the WiMAX radio to be
switched on (
WIMAX_RF_ON) or off (
WIMAX_RF_QUERY, just the current state is returned.