wimax_rfkill - Set the software RF switch state for a WiMAX device
int wimax_rfkill(struct wimax_dev * wimax_dev, enum wimax_rf_state 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 off (WIMAX_RF_OFF).
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.
This call will block until the operation is complete.
|January 2017||Kernel Hackers Manual 4.8.|