---
name: "wimax_rfkill"
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_rfkill"
---

# wimax\_rfkill(9)

Set the software RF switch state for a WiMAX device

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