table of contents
WIMAX_REPORT_RFKILL_(9) | Linux Networking | WIMAX_REPORT_RFKILL_(9) |
NAME¶
wimax_report_rfkill_hw - Reports changes in the hardware RF switch
SYNOPSIS¶
void wimax_report_rfkill_hw(struct wimax_dev * wimax_dev, enum wimax_rf_state state);
ARGUMENTS¶
wimax_dev
WiMAX device descriptor
state
New state of the RF Kill switch. WIMAX_RF_ON radio
on, WIMAX_RF_OFF radio off.
DESCRIPTION¶
When the device detects a change in the state of thehardware RF switch, it must call this function to let the WiMAX kernel stack know that the state has changed so it can be properly propagated.
The WiMAX stack caches the state (the driver doesn't need to). As well, as the change is propagated it will come back as a request to change the software state to mirror the hardware state.
If the device doesn't have a hardware kill switch, just report it on initialization as always on (WIMAX_RF_ON, radio on).
COPYRIGHT¶
June 2024 | Kernel Hackers Manual 3.10 |