---
name: "wimax_report_rfkill_hw"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/wimax_report_rfkill_hw"
---

# wimax\_report\_rfkill\_hw(9)

Reports changes in the hardware RF switch

## 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
