1. NAME▲
wimax_rfkill - Set the software RF switch state for a WiMAX device
2. SYNOPSIS ▲
int wimax_rfkill(struct wimax_dev * wimax_dev , enum wimax_rf_state state );
3. ARGUMENTS ▲
wimax_dev
WiMAX device descriptor
state
New RF state.
4. RETURNS ▲
>= 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 off (WIMAX_RF_OFF).
5. DESCRIPTION ▲
Called by the user when he wants to request the WiMAX radio to be switched on (WIMAX_RF_ON) or off (WIMAX_RF_OFF). With WIMAX_RF_QUERY, just the current state is returned.
6. NOTE ▲
This call will block until the operation is complete.
7. COPYRIGHT ▲