2022-02-07 06:35:29 +05:30
|
|
|
// Copyright 2015-2018 Nicholas J. Kain <njkain at gmail dot com>
|
|
|
|
// SPDX-License-Identifier: MIT
|
2015-02-14 02:55:36 +05:30
|
|
|
#ifndef NDHC_RFKILL_H_
|
|
|
|
#define NDHC_RFKILL_H_
|
|
|
|
|
2015-02-15 17:08:03 +05:30
|
|
|
enum {
|
|
|
|
RFK_NONE = 0,
|
|
|
|
RFK_FAIL,
|
|
|
|
RFK_ENABLED,
|
|
|
|
RFK_DISABLED,
|
|
|
|
};
|
|
|
|
|
2022-01-12 09:05:19 +05:30
|
|
|
int rfkill_open(bool *enable_rfkill);
|
|
|
|
int rfkill_get(struct client_state_t *cs, int check_idx, uint32_t rfkidx);
|
2015-02-14 02:55:36 +05:30
|
|
|
|
|
|
|
#endif
|
|
|
|
|