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 | |
16 | G_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 "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 | */ |
42 | typedef struct _NMDeviceWimaxClass NMDeviceWimaxClass; |
43 | |
44 | NM_DEPRECATED_IN_1_2 |
45 | GType nm_device_wimax_get_type(void); |
46 | |
47 | NM_DEPRECATED_IN_1_2 |
48 | const char *nm_device_wimax_get_hw_address(NMDeviceWimax *wimax); |
49 | NM_DEPRECATED_IN_1_2 |
50 | NMWimaxNsp *nm_device_wimax_get_active_nsp(NMDeviceWimax *wimax); |
51 | NM_DEPRECATED_IN_1_2 |
52 | NMWimaxNsp *nm_device_wimax_get_nsp_by_path(NMDeviceWimax *wimax, const char *path); |
53 | |
54 | NM_DEPRECATED_IN_1_2 |
55 | const GPtrArray *nm_device_wimax_get_nsps(NMDeviceWimax *wimax); |
56 | |
57 | NM_DEPRECATED_IN_1_2 |
58 | guint nm_device_wimax_get_center_frequency(NMDeviceWimax *self); |
59 | NM_DEPRECATED_IN_1_2 |
60 | int (NMDeviceWimax *self); |
61 | NM_DEPRECATED_IN_1_2 |
62 | int nm_device_wimax_get_cinr(NMDeviceWimax *self); |
63 | NM_DEPRECATED_IN_1_2 |
64 | int nm_device_wimax_get_tx_power(NMDeviceWimax *self); |
65 | NM_DEPRECATED_IN_1_2 |
66 | const char *nm_device_wimax_get_bsid(NMDeviceWimax *self); |
67 | |
68 | G_END_DECLS |
69 | |
70 | #endif /* __NM_DEVICE_WIMAX_H__ */ |
71 | |