1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2011 - 2012 Red Hat, Inc.
4 * Copyright (C) 2009 Novell, Inc.
5 */
6
7#ifndef __NM_DEVICE_WIMAX_H__
8#define __NM_DEVICE_WIMAX_H__
9
10#if !defined(__NETWORKMANAGER_H_INSIDE__) && !defined(NETWORKMANAGER_COMPILATION)
11#error "Only <NetworkManager.h> can be included directly."
12#endif
13
14#include "nm-device.h"
15
16G_BEGIN_DECLS
17
18#define NM_TYPE_DEVICE_WIMAX (nm_device_wimax_get_type())
19#define NM_DEVICE_WIMAX(obj) \
20 (G_TYPE_CHECK_INSTANCE_CAST((obj), NM_TYPE_DEVICE_WIMAX, NMDeviceWimax))
21#define NM_DEVICE_WIMAX_CLASS(klass) \
22 (G_TYPE_CHECK_CLASS_CAST((klass), NM_TYPE_DEVICE_WIMAX, NMDeviceWimaxClass))
23#define NM_IS_DEVICE_WIMAX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), NM_TYPE_DEVICE_WIMAX))
24#define NM_IS_DEVICE_WIMAX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), NM_TYPE_DEVICE_WIMAX))
25#define NM_DEVICE_WIMAX_GET_CLASS(obj) \
26 (G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_DEVICE_WIMAX, NMDeviceWimaxClass))
27
28#define NM_DEVICE_WIMAX_HW_ADDRESS "hw-address"
29#define NM_DEVICE_WIMAX_ACTIVE_NSP "active-nsp"
30#define NM_DEVICE_WIMAX_CENTER_FREQUENCY "center-frequency"
31#define NM_DEVICE_WIMAX_RSSI "rssi"
32#define NM_DEVICE_WIMAX_CINR "cinr"
33#define NM_DEVICE_WIMAX_TX_POWER "tx-power"
34#define NM_DEVICE_WIMAX_BSID "bsid"
35#define NM_DEVICE_WIMAX_NSPS "nsps"
36
37/**
38 * NMDeviceWimax:
39 *
40 * Deprecated: 1.22: WiMAX is no longer supported by NetworkManager since 1.2.0.
41 */
42typedef struct _NMDeviceWimaxClass NMDeviceWimaxClass;
43
44NM_DEPRECATED_IN_1_2
45GType nm_device_wimax_get_type(void);
46
47NM_DEPRECATED_IN_1_2
48const char *nm_device_wimax_get_hw_address(NMDeviceWimax *wimax);
49NM_DEPRECATED_IN_1_2
50NMWimaxNsp *nm_device_wimax_get_active_nsp(NMDeviceWimax *wimax);
51NM_DEPRECATED_IN_1_2
52NMWimaxNsp *nm_device_wimax_get_nsp_by_path(NMDeviceWimax *wimax, const char *path);
53
54NM_DEPRECATED_IN_1_2
55const GPtrArray *nm_device_wimax_get_nsps(NMDeviceWimax *wimax);
56
57NM_DEPRECATED_IN_1_2
58guint nm_device_wimax_get_center_frequency(NMDeviceWimax *self);
59NM_DEPRECATED_IN_1_2
60int nm_device_wimax_get_rssi(NMDeviceWimax *self);
61NM_DEPRECATED_IN_1_2
62int nm_device_wimax_get_cinr(NMDeviceWimax *self);
63NM_DEPRECATED_IN_1_2
64int nm_device_wimax_get_tx_power(NMDeviceWimax *self);
65NM_DEPRECATED_IN_1_2
66const char *nm_device_wimax_get_bsid(NMDeviceWimax *self);
67
68G_END_DECLS
69
70#endif /* __NM_DEVICE_WIMAX_H__ */
71

source code of include/libnm/nm-device-wimax.h