| wimax_rfkill(9) - phpMan
WIMAX_RFKILL(9) Linux Networking WIMAX_RFKILL(9)
NAME
wimax_rfkill - Set the software RF switch state for a WiMAX device
SYNOPSIS
int wimax_rfkill(struct wimax_dev * wimax_dev, enum wimax_rf_state state);
ARGUMENTS
wimax_dev
WiMAX device descriptor
state
New RF state.
RETURN
>= 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).
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.
NOTE
This call will block until the operation is complete.
COPYRIGHT
Kernel Hackers Manual 4.8. January 2017 WIMAX_RFKILL(9)
|