RDK Documentation (Open Sourced RDK Components)
Device_MoCA_Interface.h
Go to the documentation of this file.
1 /*
2  * If not stated otherwise in this file or this component's Licenses.txt file the
3  * following copyright and licenses apply:
4  *
5  * Copyright 2016 RDK Management
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18 */
19 
20 /**
21  * @file Device_MoCA_Interface.h
22  * TR-069 Device.MoCA.Interface object Public API.
23  */
24 
25 /**
26  * @defgroup TR69_HOSTIF_MOCA TR-069 Object (Device.MoCA)
27  * MoCA object that contains the Interface table [MoCAv1.0] [MoCAv1.1].
28  *
29  * @par About TR-069 Object Device.MoCA.Interface.{i}.
30  * @n
31  * MoCA interface table (a stackable interface object as described in [Section 4.2/TR-181i2]).
32  * Each table entry models the PHY and MAC levels of a MoCA interface [MoCAv1.0] [MoCAv1.1].
33  * @n
34  * At most one entry in this table can exist with a given value for Alias, or with a given value for Name.
35  *
36  * @par About TR-069 Object Device.MoCA.Interface.{i}.Stats.
37  * @n
38  * Throughput statistics for this interface.
39  * @n
40  * The CPE MUST reset the interface's Stats parameters (unless otherwise stated in individual object
41  * or parameter descriptions) either when the interface becomes operationally down due to a previous
42  * administrative down (i.e. the interface's Status parameter transitions to a down state after
43  * the interface is disabled) or when the interface becomes administratively up (i.e. the interface's
44  * Enable parameter transitions from false to true). Administrative and operational interface status
45  * is discussed in [Section 4.2.2/TR-181i2].
46  *
47  * @par About TR-069 Object Device.MoCA.Interface.{i}.QoS.
48  * @n
49  * The QoS object provides information on MoCA parameterized QoS for this interface [MoCAv1.1].
50  *
51  * @par About TR-069 Object Device.MoCA.Interface.{i}.QoS.FlowStats.{i}.
52  * @n
53  * The flow statistics table provides information on the MoCA parameterized QoS flows this interface has
54  * allocated onto the MoCA network.
55  * @n
56  * At most one entry in this table can exist with a given value for FlowID.
57  *
58  * @par About TR-069 Object Device.MoCA.Interface.{i}.AssociatedDevice.{i}.
59  * @n
60  * This table contains information about other MoCA devices currently associated with this MoCA interface.
61  * @n At most one entry in this table can exist with a given value for MACAddress.
62  *
63  * @ingroup TR69_HOSTIF_PROFILE
64  *
65  * @defgroup TR69_HOSTIF_MOCA_INTERFACE TR-069 Object (Device.MoCA.) Public APIs
66  * MoCA interface table (a stackable interface object as described in [Section 4.2/TR-181i2]).
67  * Each table entry models the PHY and MAC levels of a MoCA interface [MoCAv1.0] [MoCAv1.1].
68  * @n
69  * At most one entry in this table can exist with a given value for Alias, or with a given value for Name.
70  *
71  * @ingroup TR69_HOSTIF_MOCA
72  */
73 
74 
75 
76 
77 /**
78 * @defgroup tr69hostif
79 * @{
80 * @defgroup hostif
81 * @{
82 **/
83 
84 
85 #ifndef HOSTIF_MOCA_INTERFACE_H_
86 #define HOSTIF_MOCA_INTERFACE_H_
87 
88 #include "hostIf_main.h"
89 #include "hostIf_tr69ReqHandler.h"
90 #include "hostIf_utils.h"
91 #include "hostIf_updateHandler.h"
92 
93 #define S_LENGTH 24
94 #define N_LENGTH 64
95 #define MAC_LENGTH 24
96 #define LL_LENGTH 1024
97 #define FREQ_LENGTH 9
98 
99 
100 class MoCADevice {
101  static class MoCADevice *Instance;
102 
103  MoCADevice() {};
104  ~MoCADevice() {};
105  static std::mutex m_mutex;
106 public:
107  static class MoCADevice *getInstance();
108  static void closeInstance();
109 
110  static void* getRmhContext();
111  static void* closeRmhContext();
112 };
113 
115 
116  int m_i32Dev_id;
117  int m_i32CurNumOfDevices;
118  bool m_bEnable;
119  char m_i8Status[S_LENGTH];
120  char m_i8Alias[N_LENGTH];
121  char m_i8Name[N_LENGTH];
122  unsigned int m_ui32LastChange;
123  char m_i8LowerLayers[LL_LENGTH];
124  bool m_bUpStream;
125  char m_i8MacAddress[MAC_LENGTH];
126  char m_i8FirmwareVersion[N_LENGTH];
127  unsigned int m_ui32MaxBitRate;
128  unsigned int m_ui32MaxIngressBW;
129  unsigned int m_ui32MaxEgressBW;
130  unsigned int m_HighestVersion;
131  char m_i8HighestVersion[N_LENGTH];
132  char m_i8currentVersion[N_LENGTH];
133  unsigned int m_ui32NetworkCoordinator;
134  unsigned int m_ui32NodeId;
135  bool m_bMaxNodes;
136  bool m_bPreferredNC;
137  unsigned int m_ui32BackupNC;
138  bool m_bPrivacyEnabledSetting;
139  bool m_bPrivacyEnabled;
140  char m_i8FreqCapabilityMask[FREQ_LENGTH];
141  char m_i8FreqCurrentMaskSetting[FREQ_LENGTH];
142  char m_i8FreqCurrentMask[FREQ_LENGTH];
143  unsigned int m_ui32CurrentOperFreq;
144  unsigned int m_ui32LastOperFreq;
145  char m_i8KeyPassphrase[S_LENGTH];
146  unsigned int m_ui32TxPowerLimit;
147  unsigned int m_ui32PowerCntlPhyTarget;
148  unsigned int m_ui32BeaconPowerLimit;
149  char m_i8NetworkTabooMask[FREQ_LENGTH];
150  char m_i8NodeTabooMask[FREQ_LENGTH];
151  unsigned int m_ui32TxBcastRate;
152  unsigned int m_ui32TxBcastPowerReduction;
153  bool m_bQAM256Capable;
154  unsigned int m_ui32PacketAggregationCapability;
155  unsigned int m_ui32AssociatedDeviceNumberOfEntries;
156  unsigned int m_ui32X_RDKCENTRAL_COM_MeshTableNumberOfEntries;
157 
158  static GHashTable *ifHash;
159  static GMutex *m_mutex;
160  static GHashTable *m_notifyHash;
161 
162  MoCAInterface(int dev_id);
163  ~MoCAInterface() {};
164 
165  int get_Associated_Device_NumberOfEntries(int &numDevices );
166  int get_MoCA_Mesh_NumberOfEntries(int &numOfEntries );
167  static MoCAInterface *Instance;
168 
169 public:
170 
171  static MoCAInterface *getInstance(int _dev_id);
172 
173  static void closeInstance();
174 
175  static void getLock();
176 
177  static void releaseLock();
178 
179  static GHashTable* getNotifyHash();
180  /** @defgroup TR_069_DEVICE_MOCA_API TR-069 Device.Moca object API.
181  * @ingroup TR_069_API
182  *
183  * @todo The Device.MoCA object is specified in the Xi3 data-model.xml file but
184  * has its API defined here. According to the standard used, this should
185  * be in Device_MoCA.h
186  */
187 
188  /** @addtogroup TR_069_DEVICE_MOCA_GETTER_API TR-069 Device.MoCA Getter API.
189  * @ingroup TR_069_DEVICE_MOCA_API
190  *
191  * \section dev_moca_getter TR-069 Device.MoCA object Getter API
192  *
193  * This is the getter group of API for the <b>Device.MoCA</b> object.
194  *
195  * The interface for all functions is identical and is described here.
196  *
197  * @param[in] *name This is the complete path name of the parameter extracted from
198  * soap message, e.g. ::get_Device_MoCA_InterfaceNumberOfEntries.
199  * In this case, the path is "Device.MoCA.InterfaceNumberOfEntries".
200  * @param[in] *type Data type of parameter defined for TR-069. This is same as the
201  * data type used in the Xi3 data-model.xml file.
202  * (see parameter.h)
203  * @param[out] *value This is the value of the parameter requested by the ACS.
204  * (see paramaccess.h)
205  *
206  * @return The status of the operation.
207  * @retval OK If parameter requested was successfully fetched. (Same as <b>NO_ERROR</b>).
208  * @retval NO_ERROR If parameter requested was successfully fetched. (Same as <b>OK</b>).
209  * @retval DIAG_ERROR Diagnostic error.
210  * @retval ERR_??? Appropriate error value otherwise (see dimark_globals.h).
211  *
212  * @todo Clarify description of DIAG_ERROR.
213  *
214  * @{
215  */
216 
217  /**
218  * @brief Get the number of entries in the MoCA Interface table.
219  *
220  * This function provides the number of entries in the MoCA Interface table.
221  *
222  * See @ref dev_moca_getter
223  *
224  */
225 
226  static int get_InterfaceNumberOfEntries(HOSTIF_MsgData_t *,bool *pChanged = NULL);
227 
228  /**
229  * @ingroup TR69_HOSTIF_MOCA_INTERFACE
230  * @{
231  */
232  /**
233  * @brief Get the MoCA status for BootStatus.
234  *
235  * This function provides the infromation about:
236  * - Coax connection confirmed, MoCA enabled
237  * - Discovering MoCA Network Coordinator: MoCA MAC: xx:xx:xx:xx:xx:xx
238  * - Joining MoCA Network
239  */
240  int check_MoCABootStatus(char *);
241 
242  /**
243  * @brief Get the status (enabled/disabled) of the MoCA Interface.
244  *
245  * This function provides true/false value based on the Device.MoCA.Interface.{i}.Enable status.
246  *
247  * @param[in] stMsgData TR-069 Host interface message request.
248  *
249  * @return Returns 0 on success, otherwise will return the appropriate error code.
250  */
251  int get_Enable(HOSTIF_MsgData_t *,bool *pChanged = NULL);
252 
253  /**
254  * @brief Get the current operational state of the interface (see [Section 4.2.2/TR-181i2]). Enumeration of:
255  *
256  * - Up
257  * - Down
258  * - Unknown
259  * - Dormant
260  * - NotPresent
261  * - LowerLayerDown
262  * - Error (OPTIONAL)
263  *
264  * When Enable is false then Status SHOULD normally be Down (or NotPresent or Error if there is a fault
265  * condition on the interface).
266  *
267  * - When Enable is changed to true then Status SHOULD change to Up if and only if the interface is able to
268  * transmit and receive network traffic;
269  * -It SHOULD change to Dormant if and only if the interface is operable but is waiting for external actions
270  * before it can transmit and receive network traffic (and subsequently change to Up if still operable when
271  * the expected actions have completed);
272  * It SHOULD change to LowerLayerDown if and only if the interface is prevented from entering the Up state
273  * because one or more of the interfaces beneath it is down;
274  * It SHOULD remain in the Error state if there is an error or other fault condition detected on the interface;
275  * it SHOULD remain in the NotPresent state if the interface has missing (typically hardware) components;
276  * It SHOULD change to Unknown if the state of the interface can not be determined for some reason.
277  *
278  * This parameter is based on ifOperStatus from [RFC2863].
279  *
280  * This function provides the output as a string available in Device.MoCA.Interface.{i}.Status parameter.
281  *
282  * @return Returns 0 on success, otherwise will return the appropriate error code.
283  */
284  int get_Status(HOSTIF_MsgData_t *,bool *pChanged = NULL);
285 
286  /**
287  * @brief Get the Alias-based addressing used for MoCA interface.
288  *
289  * A non-volatile handle used to reference this instance. Alias provides a mechanism for an ACS to label this
290  * instance for future reference.
291  *
292  * If the CPE supports the Alias-based Addressing feature as defined in [Section 3.6.1/TR-069a4] and described
293  * in [Appendix II/TR-069a4], the following mandatory constraints MUST be enforced:
294  *
295  * - Its value MUST NOT be empty.
296  * - Its value MUST start with a letter.
297  * - If its value is not assigned by the ACS, it MUST start with a "cpe-" prefix.
298  * - The CPE MUST NOT change the parameter value.
299  *
300  * This function provides the output as a string available in Device.MoCA.Interface.{i}.Alias parameter.
301  *
302  * @return Returns 0 on success, otherwise will return the appropriate error code.
303  */
304  int get_Alias(HOSTIF_MsgData_t *,bool *pChanged = NULL);
305 
306  /**
307  * @brief Get the textual name of the interface as assigned by the CPE.
308  *
309  * This function provides the output as a string available in Device.MoCA.Interface.{i}.Name parameter.
310  *
311  * @return Returns 0 on success, otherwise will return the appropriate error code.
312  */
313  int get_Name(HOSTIF_MsgData_t *,bool *pChanged = NULL);
314 
315  /**
316  * @brief Get the accumulated time in seconds since the interface entered its current operational state.
317  *
318  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.LastChange parameter.
319  *
320  * @return Returns 0 on success, otherwise will return the appropriate error code.
321  */
322  int get_LastChange(HOSTIF_MsgData_t *,bool *pChanged = NULL);
323 
324  /**
325  * @brief Get the path name of the MoCA interface object.
326  *
327  * Comma-separated list (maximum list length 1024) of strings. Each list item MUST be the path name of an interface
328  * object that is stacked immediately below this interface object.
329  *
330  * @note Since Interface is a layer 1 interface, it is expected that LowerLayers will not be used.
331  *
332  * This function provides the output as a string available in Device.MoCA.Interface.{i}.LowerLayers parameter.
333  *
334  * @return Returns 0 on success, otherwise will return the appropriate error code.
335  */
336  int get_LowerLayers(HOSTIF_MsgData_t *,bool *pChanged = NULL);
337 
338  /**
339  * @brief Check whether the interface points towards the Internet (true) or towards End Devices (false).
340  *
341  * For example:
342  * - For an Internet Gateway Device, Upstream will be true for all WAN interfaces and false for all LAN interfaces.
343  *
344  * For a standalone WiFi Access Point that is connected via Ethernet to an Internet Gateway Device,
345  * Upstream will be true for the Ethernet interface and false for the WiFi Radio interface.
346  *
347  * For an End Device, Upstream will be true for all interfaces.
348  *
349  * This function provides true/false value based on the Device.MoCA.Interface.{i}.Upstream status.
350  *
351  * @return Returns 0 on success, otherwise will return the appropriate error code.
352  */
353  int get_Upstream(HOSTIF_MsgData_t *,bool *pChanged = NULL);
354 
355  /**
356  * @brief Get the MAC Address of the interface.
357  *
358  * @note This is not necessarily the same as the Ethernet header source or destination MAC address,
359  * which is associated with the IP interface and is modeled via the Ethernet.Link.{i}.MACAddress parameter.
360  *
361  * This function provides the output as a string value available in Device.MoCA.Interface.{i}.MACAddress parameter.
362  *
363  * @return Returns 0 on success, otherwise will return the appropriate error code.
364  */
365  int get_MACAddress(HOSTIF_MsgData_t *,bool *pChanged = NULL);
366 
367  /**
368  * @brief Get the MoCA interface's firmware version.
369  *
370  * This parameter is based on mocaIfSoftwareVersion from [MOCA11-MIB].
371  *
372  * This function provides the output as a string available in Device.MoCA.Interface.{i}.FirmwareVersion parameter.
373  *
374  * @return Returns 0 on success, otherwise will return the appropriate error code.
375  */
376  int get_FirmwareVersion(HOSTIF_MsgData_t *,bool *pChanged = NULL);
377 
378  /**
379  * @brief Get the maximum MoCA PHY bit rate (expressed in Mbps).
380  *
381  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.FirmwareVersion parameter.
382  *
383  * @return Returns 0 on success, otherwise will return the appropriate error code.
384  */
385  int get_MaxBitRate(HOSTIF_MsgData_t *,bool *pChanged = NULL);
386 
387  /**
388  * @brief Get the maximum bandwidth of this interface for flows onto the MoCA network in Mbps.
389  *
390  * This parameter is based on mocaIfMaxIngressNodeBw from [MOCA11-MIB].
391  *
392  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.MaxIngressBW parameter.
393  *
394  * @return Returns 0 on success, otherwise will return the appropriate error code.
395  */
396  int get_MaxIngressBW(HOSTIF_MsgData_t *,bool *pChanged = NULL);
397 
398  /**
399  * @brief Get the maximum bandwidth of this interface for flows from the MoCA network in Mbps.
400  *
401  * This parameter is based on mocaIfMaxEgressNodeBw from [MOCA11-MIB].
402  *
403  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.MaxEgressBW parameter.
404  *
405  * @return Returns 0 on success, otherwise will return the appropriate error code.
406  */
407  int get_MaxEgressBW(HOSTIF_MsgData_t *,bool *pChanged = NULL);
408 
409  /**
410  * @brief Get the identifies the highest MoCA version that this interface supports.
411  *
412  * This element MUST be in the form of dot-delimited integers, where each successive integer represents a
413  * more minor category of variation. For example, 1.0, where the components mean major.minor revision number. Possible patterns:
414  * - d+(.d+)*
415  * This parameter is based on mocaIfMocaVersion from [MOCA11-MIB].
416  *
417  * This function provides the output as a string available in Device.MoCA.Interface.{i}.HighestVersion parameter.
418  *
419  * @return Returns 0 on success, otherwise will return the appropriate error code.
420  */
421  int get_HighestVersion(HOSTIF_MsgData_t *,bool *pChanged = NULL);
422 
423  /**
424  * @brief Get the MoCA version that the MoCA network is currently running.
425  *
426  * This element MUST be in the form of dot-delimited integers, where each successive integer represents
427  * a more minor category of variation. For example, 1.0, where the components mean major.minor revision number.
428  * @n Possible patterns:
429  * - \\d+(\\.\\d+)*
430  *
431  * This parameter is based on mocaIfNetworkVersion from [MOCA11-MIB].
432  *
433  * This function provides the output as a string available in Device.MoCA.Interface.{i}.CurrentVersion parameter.
434  *
435  * @return Returns 0 on success, otherwise will return the appropriate error code.
436  */
437  int get_CurrentVersion(HOSTIF_MsgData_t *,bool *pChanged = NULL);
438 
439  /**
440  * @brief Get the Node ID of the current Network Coordinator (NC) for the MoCA network.
441  *
442  * This parameter is based on mocaIfNC from [MOCA11-MIB].
443  *
444  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.NetworkCoordinator parameter.
445  *
446  * @return Returns 0 on success, otherwise will return the appropriate error code.
447  */
448  int get_NetworkCoordinator(HOSTIF_MsgData_t *,bool *pChanged = NULL);
449 
450  /**
451  * @brief Get the Node ID of the MoCA interface.
452  *
453  * This parameter is based on mocaIfNodeID from [MOCA11-MIB].
454  *
455  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.NodeID parameter.
456  *
457  * @return Returns 0 on success, otherwise will return the appropriate error code.
458  */
459  int get_NodeID(HOSTIF_MsgData_t *,bool *pChanged = NULL);
460 
461  /**
462  * @brief Get the maximum network node capability supported by the interface.
463  * If MaxNodes is true then the interface supports 16 nodes (the maximum for a MoCA 1.1 network).
464  * If MaxNodes is false then the interface supports 8 nodes (the maximum for a MoCA 1.0 network).
465  *
466  * This function provides true/false value based on the Device.MoCA.Interface.{i}.MaxNodes status.
467  *
468  * @return Returns 0 on success, otherwise will return the appropriate error code.
469  */
470  int get_MaxNodes(HOSTIF_MsgData_t *,bool *pChanged = NULL);
471 
472  /**
473  * @brief Check Whether this interface is a preferred Network Coordinator (NC).
474  *
475  * This parameter is based on mocaIfPreferredNC from [MOCA11-MIB].
476  *
477  * This function provides true/false value based on the Device.MoCA.Interface.{i}.PreferredNC status.
478  *
479  * @return Returns 0 on success, otherwise will return the appropriate error code.
480  */
481  int get_PreferredNC(HOSTIF_MsgData_t *,bool *pChanged = NULL);
482 
483  /**
484  * @brief Get the Node ID of the backup Network Coordinator node.
485  *
486  * This parameter is based on mocaIfBackupNC from [MOCA11-MIB].
487  *
488  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.BackupNC parameter.
489  *
490  * @return Returns 0 on success, otherwise will return the appropriate error code.
491  */
492  int get_BackupNC(HOSTIF_MsgData_t *,bool *pChanged = NULL);
493 
494  /**
495  * @brief Get the configured privacy mode. This indicates whether link-layer security is enabled (true)
496  * or disabled (false) for network admission.
497  *
498  * The configured privacy setting MAY NOT match the current operational state (PrivacyEnabled),
499  * since this setting is only applied during network formation or admission.
500  *
501  * This function provides true/false value based on the Device.MoCA.Interface.{i}.PrivacyEnabledSettting status.
502  *
503  * @return Returns 0 on success, otherwise will return the appropriate error code.
504  */
505  int get_PrivacyEnabledSetting(HOSTIF_MsgData_t *,bool *pChanged = NULL);
506 
507  /**
508  * @brief Check whether link-layer security is enabled or disabled.
509  *
510  * This parameter is based on mocaIfPrivacyEnable from [MOCA11-MIB].
511  *
512  * This function provides true/false value based on the Device.MoCA.Interface.{i}.PrivacyEnabled status.
513  *
514  * @return Returns 0 on success, otherwise will return the appropriate error code.
515  */
516  int get_PrivacyEnabled(HOSTIF_MsgData_t *,bool *pChanged = NULL);
517 
518  /**
519  * @brief Get the hexadecimal encoded 64-bit mask of supported frequencies.
520  * This is the bit map of the spectrum that the interface supports, and each bit represents
521  * 25 MHz of spectrum. The least significant bit of the rightmost character corresponds to 800MHz,
522  * which is the lowest frequency.
523  *
524  * For example, an interface that supports 1150 MHz through 1500 MHz would have a value of 0x000000001FFFC000.
525  *
526  * This parameter is based on mocaIfCapabilityMask from [MOCA11-MIB].
527  *
528  * This function provides the output as hex binary value available in Device.MoCA.Interface.{i}.FreqCapabilityMask parameter.
529  *
530  * @return Returns 0 on success, otherwise will return the appropriate error code.
531  */
532  int get_FreqCapabilityMask(HOSTIF_MsgData_t *,bool *pChanged = NULL);
533 
534  /**
535  * @brief Get the configured hexadecimal encoded 64-bit mask of enabled frequencies for network admission.
536  *
537  * The configured frequencies MAY NOT match the current operational state (FreqCurrentMask),
538  * since this setting is only applied during network formation or admission.
539  *
540  * This function provides the output as a hex binary value available in Device.MoCA.Interface.{i}.FreqCapabilityMask parameter.
541  *
542  * @return Returns 0 on success, otherwise will return the appropriate error code.
543  */
544  int get_FreqCurrentMaskSetting(HOSTIF_MsgData_t *,bool *pChanged = NULL);
545 
546  /**
547  * @brief Get the hexadecimal encoded 64-bit mask of used frequencies.
548  * This is the bit map of the spectrum that can be used and is a subset of the FreqCapabilityMask.
549  * Each bit represents 25 MHz of spectrum. The least significant bit of the rightmost character
550  * corresponds to 800MHz, which is the lowest frequency.
551  *
552  * This parameter is based on mocaIfChannelMask from [MOCA11-MIB].
553  *
554  * This function provides the output as a hex binary value available in Device.MoCA.Interface.{i}.FreqCurrentMask parameter.
555  *
556  * @return Returns 0 on success, otherwise will return the appropriate error code.
557  */
558  int get_FreqCurrentMask(HOSTIF_MsgData_t *,bool *pChanged = NULL);
559 
560  /**
561  * @brief Get the current Operational Frequency. The RF frequency in Hz to which the MoCA interface
562  * is currently tuned. This parameter is only valid when Status is Up.
563  *
564  * This parameter is based on mocaIfRFChannel from [MOCA11-MIB].
565  *
566  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.CurrentOperFreq parameter.
567  *
568  * @return Returns 0 on success, otherwise will return the appropriate error code.
569  */
570  int get_CurrentOperFreq(HOSTIF_MsgData_t *,bool *pChanged = NULL);
571 
572  /**
573  * @brief Get the last Operational Frequency. The RF frequency in Hz to which the MoCA interface was
574  * tuned when last in the Up state.
575  *
576  * This parameter is based on mocaIfLOF from [MOCA11-MIB].
577  *
578  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.LastOperFreq parameter.
579  *
580  * @return Returns 0 on success, otherwise will return the appropriate error code.
581  */
582  int get_LastOperFreq(HOSTIF_MsgData_t *,bool *pChanged = NULL);
583 
584  /**
585  * @brief Get the MoCA Password. The value consists of numeric characters (0-9).
586  *
587  * The possible patterns is:
588  * - \\d+
589  * This parameter is based on mocaIfPassword from [MOCA11-MIB].
590  *
591  * When read, this parameter returns an empty string, regardless of the actual value.
592  *
593  * This function provides the output as a string available in Device.MoCA.Interface.{i}.KeyPassphrase parameter.
594  *
595  * @return Returns 0 on success, otherwise will return the appropriate error code.
596  */
597  int get_KeyPassphrase(HOSTIF_MsgData_t *,bool *pChanged = NULL);
598 
599  /**
600  * @brief Get the transmit Power attenuation in dB relative to the maximum transmit power.
601  *
602  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
603  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
604  *
605  * This parameter is based on mocaIfTxPowerLimit from [MOCA11-MIB].
606  *
607  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.TxPowerLimit parameter.
608  *
609  * @return Returns 0 on success, otherwise will return the appropriate error code.
610  */
611  int get_TxPowerLimit(HOSTIF_MsgData_t *,bool *pChanged = NULL);
612 
613  /**
614  * @brief Get the target PHY rate in Mbps for the power control algorithm.
615  *
616  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
617  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
618  *
619  * This parameter is based on mocaIfPowerControlTargetRate from [MOCA11-MIB].
620  *
621  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.PowerCntlPhyTarget parameter.
622  *
623  * @return Returns 0 on success, otherwise will return the appropriate error code.
624  */
625  int get_PowerCntlPhyTarget(HOSTIF_MsgData_t *,bool *pChanged = NULL);
626 
627  /**
628  * @brief Get the Beacon Transmit Power attenuation in dB relative to the maximum transmit power.
629  *
630  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
631  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
632  *
633  * This parameter is based on mocaIfBeaconPowerLimit from [MOCA11-MIB].
634  *
635  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.BeaconPowerLimit parameter.
636  *
637  * @return Returns 0 on success, otherwise will return the appropriate error code.
638  */
639  int get_BeaconPowerLimit(HOSTIF_MsgData_t *,bool *pChanged = NULL);
640 
641  /**
642  * @brief Get the hexadecimal encoded 64-bit mask of MoCA taboo channels identified for the home network.
643  * This is the bit map of the spectrum that the interface supports, and each bit represents 25 MHz
644  * of spectrum. The least significant bit of the rightmost character corresponds to 800MHz, which is the lowest frequency.
645  *
646  * This parameter is based on mocaIfTabooChannelMask from [MOCA11-MIB].
647  *
648  * This function provides the output as a hex binary value available in Device.MoCA.Interface.{i}.NetworkTabooMask parameter.
649  *
650  * @return Returns 0 on success, otherwise will return the appropriate error code.
651  */
652  int get_NetworkTabooMask(HOSTIF_MsgData_t *,bool *pChanged = NULL);
653 
654  /**
655  * @brief Get the hexadecimal encoded 64-bit mask of supported frequencies.
656  * This is the bit map of the spectrum that the interface supports, and each bit represents 25 MHz of spectrum.
657  * The least significant bit of the rightmost character corresponds to 800MHz, which is the lowest frequency.
658  *
659  * This parameter is based on mocaIfNodeTabooChannelMask from [MOCA11-MIB].
660  *
661  * This function provides the output as a hex binary value available in Device.MoCA.Interface.{i}.NodeTabooMask parameter.
662  *
663  * @return Returns 0 on success, otherwise will return the appropriate error code.
664  */
665  int get_NodeTabooMask(HOSTIF_MsgData_t *,bool *pChanged = NULL);
666 
667  /**
668  * @brief Get the broadcast PHY transmit rate in Mbps for this interface.
669  *
670  * This parameter is based on mocaIfTxGcdRate from [MOCA11-MIB].
671  *
672  * This function provides the output as a numeric value available in Device.MoCA.Interface.{i}.TxBcastRate parameter.
673  *
674  * @return Returns 0 on success, otherwise will return the appropriate error code.
675  */
676  int get_TxBcastRate(HOSTIF_MsgData_t *,bool *pChanged = NULL);
677 
678  /**
679  * @brief Get the transmit Power attenuation in dB relative to the maximum transmit power for broadcast transmissions.
680  *
681  * This parameter is based on mocaIfTxGcdPowerReduction from [MOCA11-MIB].
682  *
683  * This function provides the output as numeric value available in Device.MoCA.Interface.{i}.TxBcastPowerReduction parameter.
684  *
685  * @return Returns 0 on success, otherwise will return the appropriate error code.
686  */
687  int get_TxBcastPowerReduction(HOSTIF_MsgData_t *,bool *pChanged = NULL);
688 
689  /**
690  * @brief Check whether this interface supports the 256 QAM feature.
691  *
692  * This parameter is based on mocaIfQAM256Capable from [MOCA11-MIB].
693  *
694  * This function provides true/false value based on the Device.MoCA.Interface.{i}.QAM256Capable parameter.
695  *
696  * @return Returns 0 on success, otherwise will return the appropriate error code.
697  */
698  int get_QAM256Capable(HOSTIF_MsgData_t *,bool *pChanged = NULL);
699 
700  /**
701  * @brief Get the packet aggregation capability supported by the interface.
702  * Standard values are 0 (no support), 6 (6 packets) or 10 (10 packets).
703  *
704  * This parameter is based on mocaIfPacketsAggrCapability from [MOCA11-MIB].
705  *
706  * This function provides the output as a numeric values available in
707  * Device.MoCA.Interface.{i}.PacketAggregationCapability parameter.
708  *
709  * @return Returns 0 on success, otherwise will return the appropriate error code.
710  */
711  int get_PacketAggregationCapability(HOSTIF_MsgData_t *,bool *pChanged = NULL);
712 
713  /**
714  * @brief The number of entries in the AssociatedDevice table.
715  *
716  * This function provides the output as a numeric value available in
717  * Device.MoCA.Interface.{i}.AssociatedDeviceNumberOfEntries parameter.
718  *
719  * @return Returns 0 on success, otherwise will return the appropriate error code.
720  */
721  int get_AssociatedDeviceNumberOfEntries(HOSTIF_MsgData_t *,bool *pChanged = NULL);
722 
723  /**
724  * @brief Get the number of entries in the X_RDKCENTRAL_COM_MeshTable table of a MoCA Interface.
725  *
726  * This function provides the number of entries in the X_RDKCENTRAL_COM_MeshTableNumberOfEntries table.
727  *
728  * See @ref dev_moca_if_getter
729  *
730  */
732 
733  /**
734  * @brief Get the X_RDKCENTRAL_COM_PrimaryChannelFreq of a MoCA Interface.
735  *
736  * This function provides the X_RDKCENTRAL_COM_PrimaryChannelFreq value.
737  *
738  * @return Returns 0 on success, otherwise will return the appropriate error code.
739  *
740  */
745  /* End of TR_069_DEVICE_MOCA_GETTER_API doxygen group */
746  /**
747  * @}
748  */
749 
750  /**
751  * @brief Enables or disables the interface.
752  *
753  * This parameter is based on ifAdminStatus from [RFC2863].
754  *
755  * This function will update true/false value to Device.MoCA.Interface.{i}.Enable status based on the input.
756  *
757  * @return Returns 0 on success, otherwise will return the appropriate error code.
758  */
760 
761  /**
762  * @brief Set the Alias-based addressing for MoCA interface.
763  *
764  * A non-volatile handle used to reference this instance. Alias provides a mechanism for an ACS to label
765  * this instance for future reference.
766  *
767  * If the CPE supports the Alias-based Addressing feature as defined in [Section 3.6.1/TR-069a4] and
768  * described in [Appendix II/TR-069a4], the following mandatory constraints MUST be enforced:
769  *
770  * - Its value MUST NOT be empty.
771  * - Its value MUST start with a letter.
772  * - If its value is not assigned by the ACS, it MUST start with a "cpe-" prefix.
773  * - The CPE MUST NOT change the parameter value.
774  *
775  * This function will update the configuration variable Device.MoCA.Interface.{i}.Alias.
776  *
777  * @return Returns 0 on success, otherwise will return the appropriate error code.
778  */
780 
781  /**
782  * @brief Set the MoCA Interface LowerLayers list.
783  *
784  * A comma-separated list (maximum list length 1024) of strings.
785  * Set the instance handle for a MoCA Interface. Each list item MUST be the path name of an interface object
786  * that is stacked immediately below this interface object.
787  * If the referenced object is deleted, the corresponding item MUST be removed from the list. See [Section 4.2.1/TR-181i2].
788  *
789  * @note Since Interface is a layer 1 interface, it is expected that LowerLayers will not be used.
790  *
791  * This function will update a string to the configuration variable Device.MoCA.Interface.{i}.LowerLayers.
792  *
793  * @return Returns 0 on success, otherwise will return the appropriate error code.
794  */
796 
797  /**
798  * @brief Set the interface is a preferred Network Coordinator (NC).
799  *
800  * This parameter is based on mocaIfPreferredNC from [MOCA11-MIB].
801  *
802  * This function will update true/false value to Device.MoCA.Interface.{i}.PreferredNC status based on the input.
803  *
804  * @return Returns 0 on success, otherwise will return the appropriate error code.
805  */
807 
808  /**
809  * @brief Set the configured privacy mode. This indicates whether link-layer security is enabled (true)
810  * or disabled (false) for network admission.
811  *
812  * The configured privacy setting MAY NOT match the current operational state (PrivacyEnabled),
813  * since this setting is only applied during network formation or admission.
814  *
815  * This function will update true/false value to Device.MoCA.Interface.{i}.PrivacyEnabledSetting
816  * status based on the input.
817  *
818  * @return Returns 0 on success, otherwise will return the appropriate error code.
819  */
821 
822  /**
823  * @brief Set the configured hexadecimal encoded 64-bit mask of enabled frequencies for network admission.
824  *
825  * The configured frequencies MAY NOT match the current operational state (FreqCurrentMask), since this
826  * setting is only applied during network formation or admission.
827  *
828  * This function will update the hex binary value into the configuration variable
829  * Device.MoCA.Interface.FreqCurrentMaskSetting.
830  *
831  * @return Returns 0 on success, otherwise will return the appropriate error code.
832  */
834 
835  /**
836  * @brief Set the transmit Power attenuation in dB relative to the maximum transmit power.
837  *
838  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
839  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
840  *
841  * This parameter is based on mocaIfTxPowerLimit from [MOCA11-MIB].
842  *
843  * This function will update with a numeric value to the configuration variable
844  * Device.MoCA.Interface.TxPowerLimit.
845  *
846  * @return Returns 0 on success, otherwise will return the appropriate error code.
847  */
849 
850  /**
851  * @brief Set the target PHY rate in Mbps for the power control algorithm.
852  *
853  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
854  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
855  *
856  * This parameter is based on mocaIfPowerControlTargetRate from [MOCA11-MIB].
857  *
858  * This function will update with a numeric value to the configuration variable
859  * Device.MoCA.Interface.PowerCntlPhyTarget.
860  *
861  * @return Returns 0 on success, otherwise will return the appropriate error code.
862  */
864 
865  /**
866  * @brief Set the MoCA Password.
867  * The value consists of numeric characters (0-9). Possible patterns:
868  *
869  * - \\d+
870  *
871  * This parameter is based on mocaIfPassword from [MOCA11-MIB].
872  *
873  * When read, this parameter returns an empty string, regardless of the actual value.
874  *
875  * This function will update with a string value to the configuration variable
876  * Device.MoCA.Interface.KeyPassphrase.
877  *
878  * @return Returns 0 on success, otherwise will return the appropriate error code.
879  */
881 
882  /**
883  * @brief Set the Beacon Transmit Power attenuation in dB relative to the maximum transmit power.
884  *
885  * The MoCA interface SHOULD have Enable set to false for any change in this configuration.
886  * If the parameter is modified when Enable is true then this change might take several minutes to complete.
887  *
888  * This parameter is based on mocaIfBeaconPowerLimit from [MOCA11-MIB].
889  *
890  * This function will update with a numeric value to the configuration variable
891  * Device.MoCA.Interface.BeaconPowerLimit.
892  *
893  * @return Returns 0 on success, otherwise will return the appropriate error code.
894  */
896 
897  /** @} */ //End of Doxygen tag TR69_HOSTIF_MOCA_INTERFACE
898 };
899 
900 #endif /* HOSTIF_MOCA_INTERFACE_H_ */
901 
902 
903 /** @} */
904 /** @} */
MoCADevice
Definition: Device_MoCA_Interface.h:100
MoCAInterface::set_PowerCntlPhyTarget
int set_PowerCntlPhyTarget(HOSTIF_MsgData_t *)
Set the target PHY rate in Mbps for the power control algorithm.
Definition: Device_MoCA_Interface.cpp:1365
MoCAInterface::set_LowerLayers
int set_LowerLayers(HOSTIF_MsgData_t *)
Set the MoCA Interface LowerLayers list.
Definition: Device_MoCA_Interface.cpp:1247
MoCAInterface::get_Name
int get_Name(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the textual name of the interface as assigned by the CPE.
Definition: Device_MoCA_Interface.cpp:355
MoCAInterface
Definition: Device_MoCA_Interface.h:114
MoCAInterface::set_PreferredNC
int set_PreferredNC(HOSTIF_MsgData_t *)
Set the interface is a preferred Network Coordinator (NC).
Definition: Device_MoCA_Interface.cpp:1255
MoCAInterface::get_NodeID
int get_NodeID(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Node ID of the MoCA interface.
Definition: Device_MoCA_Interface.cpp:600
MoCAInterface::get_BeaconPowerLimit
int get_BeaconPowerLimit(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Beacon Transmit Power attenuation in dB relative to the maximum transmit power.
Definition: Device_MoCA_Interface.cpp:892
MoCAInterface::get_NodeTabooMask
int get_NodeTabooMask(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the hexadecimal encoded 64-bit mask of supported frequencies. This is the bit map of the spectrum...
Definition: Device_MoCA_Interface.cpp:940
MoCAInterface::get_TxPowerLimit
int get_TxPowerLimit(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the transmit Power attenuation in dB relative to the maximum transmit power.
Definition: Device_MoCA_Interface.cpp:844
MoCAInterface::get_Upstream
int get_Upstream(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Check whether the interface points towards the Internet (true) or towards End Devices (false).
Definition: Device_MoCA_Interface.cpp:405
MoCAInterface::set_Enable
int set_Enable(HOSTIF_MsgData_t *)
Enables or disables the interface.
Definition: Device_MoCA_Interface.cpp:1207
MoCAInterface::set_Alias
int set_Alias(HOSTIF_MsgData_t *)
Set the Alias-based addressing for MoCA interface.
Definition: Device_MoCA_Interface.cpp:1237
MoCAInterface::get_TxBcastRate
int get_TxBcastRate(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the broadcast PHY transmit rate in Mbps for this interface.
Definition: Device_MoCA_Interface.cpp:962
MoCAInterface::get_X_RDKCENTRAL_COM_SecondaryChannelFreq
int get_X_RDKCENTRAL_COM_SecondaryChannelFreq(HOSTIF_MsgData_t *)
Get the MoCA status for BootStatus.
Definition: Device_MoCA_Interface.cpp:1084
_HostIf_MsgData_t
Definition: hostIf_tr69ReqHandler.h:170
MoCAInterface::get_MACAddress
int get_MACAddress(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the MAC Address of the interface.
Definition: Device_MoCA_Interface.cpp:423
MoCAInterface::get_TxBcastPowerReduction
int get_TxBcastPowerReduction(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the transmit Power attenuation in dB relative to the maximum transmit power for broadcast transmi...
Definition: Device_MoCA_Interface.cpp:981
MoCAInterface::get_NetworkTabooMask
int get_NetworkTabooMask(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the hexadecimal encoded 64-bit mask of MoCA taboo channels identified for the home network....
Definition: Device_MoCA_Interface.cpp:918
MoCAInterface::get_FreqCapabilityMask
int get_FreqCapabilityMask(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the hexadecimal encoded 64-bit mask of supported frequencies. This is the bit map of the spectrum...
Definition: Device_MoCA_Interface.cpp:714
MoCAInterface::get_KeyPassphrase
int get_KeyPassphrase(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the MoCA Password. The value consists of numeric characters (0-9).
Definition: Device_MoCA_Interface.cpp:835
MoCAInterface::get_PowerCntlPhyTarget
int get_PowerCntlPhyTarget(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the target PHY rate in Mbps for the power control algorithm.
Definition: Device_MoCA_Interface.cpp:869
hostIf_main.h
hostIf_main API.
MoCAInterface::get_InterfaceNumberOfEntries
static int get_InterfaceNumberOfEntries(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of entries in the MoCA Interface table.
Definition: Device_MoCA_Interface.cpp:278
MoCAInterface::get_PacketAggregationCapability
int get_PacketAggregationCapability(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the packet aggregation capability supported by the interface. Standard values are 0 (no support),...
Definition: Device_MoCA_Interface.cpp:1023
MoCAInterface::get_PrivacyEnabled
int get_PrivacyEnabled(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Check whether link-layer security is enabled or disabled.
Definition: Device_MoCA_Interface.cpp:693
MoCAInterface::get_X_RDKCENTRAL_COM_MeshTableNumberOfEntries
int get_X_RDKCENTRAL_COM_MeshTableNumberOfEntries(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the number of entries in the X_RDKCENTRAL_COM_MeshTable table of a MoCA Interface.
Definition: Device_MoCA_Interface.cpp:1053
MoCAInterface::get_LowerLayers
int get_LowerLayers(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the path name of the MoCA interface object.
Definition: Device_MoCA_Interface.cpp:398
MoCAInterface::get_HighestVersion
int get_HighestVersion(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the identifies the highest MoCA version that this interface supports.
Definition: Device_MoCA_Interface.cpp:534
MoCAInterface::get_BackupNC
int get_BackupNC(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Node ID of the backup Network Coordinator node.
Definition: Device_MoCA_Interface.cpp:652
MoCAInterface::get_NetworkCoordinator
int get_NetworkCoordinator(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Node ID of the current Network Coordinator (NC) for the MoCA network.
Definition: Device_MoCA_Interface.cpp:578
MoCAInterface::get_AssociatedDeviceNumberOfEntries
int get_AssociatedDeviceNumberOfEntries(HOSTIF_MsgData_t *, bool *pChanged=NULL)
The number of entries in the AssociatedDevice table.
Definition: Device_MoCA_Interface.cpp:1043
MoCAInterface::get_MaxBitRate
int get_MaxBitRate(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the maximum MoCA PHY bit rate (expressed in Mbps).
Definition: Device_MoCA_Interface.cpp:471
MoCAInterface::get_FirmwareVersion
int get_FirmwareVersion(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the MoCA interface's firmware version.
Definition: Device_MoCA_Interface.cpp:448
MoCAInterface::get_QAM256Capable
int get_QAM256Capable(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Check whether this interface supports the 256 QAM feature.
Definition: Device_MoCA_Interface.cpp:1002
MoCAInterface::get_X_RDKCENTRAL_COM_TurboMode
int get_X_RDKCENTRAL_COM_TurboMode(HOSTIF_MsgData_t *)
Get the MoCA status for BootStatus.
Definition: Device_MoCA_Interface.cpp:1125
MoCAInterface::get_CurrentOperFreq
int get_CurrentOperFreq(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the current Operational Frequency. The RF frequency in Hz to which the MoCA interface is currentl...
Definition: Device_MoCA_Interface.cpp:791
MoCAInterface::get_PrivacyEnabledSetting
int get_PrivacyEnabledSetting(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the configured privacy mode. This indicates whether link-layer security is enabled (true) or disa...
Definition: Device_MoCA_Interface.cpp:673
MoCAInterface::set_FreqCurrentMaskSetting
int set_FreqCurrentMaskSetting(HOSTIF_MsgData_t *)
Set the configured hexadecimal encoded 64-bit mask of enabled frequencies for network admission.
Definition: Device_MoCA_Interface.cpp:1302
MoCAInterface::get_MaxEgressBW
int get_MaxEgressBW(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the maximum bandwidth of this interface for flows from the MoCA network in Mbps.
Definition: Device_MoCA_Interface.cpp:513
MoCAInterface::get_MaxIngressBW
int get_MaxIngressBW(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the maximum bandwidth of this interface for flows onto the MoCA network in Mbps.
Definition: Device_MoCA_Interface.cpp:491
MoCAInterface::get_Status
int get_Status(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the current operational state of the interface (see [Section 4.2.2/TR-181i2])....
Definition: Device_MoCA_Interface.cpp:310
MoCAInterface::check_MoCABootStatus
int check_MoCABootStatus(char *)
Get the MoCA status for BootStatus.
Definition: Device_MoCA_Interface.cpp:1146
MoCAInterface::get_MaxNodes
int get_MaxNodes(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the maximum network node capability supported by the interface. If MaxNodes is true then the inte...
Definition: Device_MoCA_Interface.cpp:622
MoCAInterface::get_Enable
int get_Enable(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the status (enabled/disabled) of the MoCA Interface.
Definition: Device_MoCA_Interface.cpp:289
MoCAInterface::get_Alias
int get_Alias(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the Alias-based addressing used for MoCA interface.
Definition: Device_MoCA_Interface.cpp:348
MoCAInterface::set_PrivacyEnabledSetting
int set_PrivacyEnabledSetting(HOSTIF_MsgData_t *)
Set the configured privacy mode. This indicates whether link-layer security is enabled (true) or disa...
Definition: Device_MoCA_Interface.cpp:1281
MoCAInterface::get_LastOperFreq
int get_LastOperFreq(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the last Operational Frequency. The RF frequency in Hz to which the MoCA interface was tuned when...
Definition: Device_MoCA_Interface.cpp:813
MoCAInterface::set_BeaconPowerLimit
int set_BeaconPowerLimit(HOSTIF_MsgData_t *)
Set the Beacon Transmit Power attenuation in dB relative to the maximum transmit power.
Definition: Device_MoCA_Interface.cpp:1385
MoCAInterface::get_X_RDKCENTRAL_COM_NodePowerState
int get_X_RDKCENTRAL_COM_NodePowerState(HOSTIF_MsgData_t *)
Get the MoCA status for BootStatus.
Definition: Device_MoCA_Interface.cpp:1105
MoCAInterface::get_FreqCurrentMaskSetting
int get_FreqCurrentMaskSetting(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the configured hexadecimal encoded 64-bit mask of enabled frequencies for network admission.
Definition: Device_MoCA_Interface.cpp:743
MoCAInterface::get_PreferredNC
int get_PreferredNC(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Check Whether this interface is a preferred Network Coordinator (NC).
Definition: Device_MoCA_Interface.cpp:630
MoCAInterface::get_CurrentVersion
int get_CurrentVersion(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the MoCA version that the MoCA network is currently running.
Definition: Device_MoCA_Interface.cpp:557
MoCAInterface::get_X_RDKCENTRAL_COM_PrimaryChannelFreq
int get_X_RDKCENTRAL_COM_PrimaryChannelFreq(HOSTIF_MsgData_t *)
Get the X_RDKCENTRAL_COM_PrimaryChannelFreq of a MoCA Interface.
Definition: Device_MoCA_Interface.cpp:1063
MoCAInterface::set_KeyPassphrase
int set_KeyPassphrase(HOSTIF_MsgData_t *)
Set the MoCA Password. The value consists of numeric characters (0-9). Possible patterns:
Definition: Device_MoCA_Interface.cpp:1323
MoCAInterface::set_TxPowerLimit
int set_TxPowerLimit(HOSTIF_MsgData_t *)
Set the transmit Power attenuation in dB relative to the maximum transmit power.
Definition: Device_MoCA_Interface.cpp:1345
MoCAInterface::get_LastChange
int get_LastChange(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the accumulated time in seconds since the interface entered its current operational state.
Definition: Device_MoCA_Interface.cpp:377
MoCAInterface::get_FreqCurrentMask
int get_FreqCurrentMask(HOSTIF_MsgData_t *, bool *pChanged=NULL)
Get the hexadecimal encoded 64-bit mask of used frequencies. This is the bit map of the spectrum that...
Definition: Device_MoCA_Interface.cpp:767