...
- HAL APIs will be available in the CMF repo path: "../rdkb/components/opensource/ccsp/hal/source/"
- PandM HAL Integration (back-end) Layer is also known as component specific HAL.
- This layer makes call to underlying Linux system calls/commands, third party modules, open source modules and other CCSP components to execute the requests.
- This layer will be more component specific and will be providing APIs to CCSP so as to manage a particular hardware module of the system.
- Following HALs available in "../rdkb/components/opensource/ccsp/hal/source/" path.
- Wifi
- CM
- DHCPv4C
- Ethernet Switch
- MoCA
- MSO_Management
- MTA Agent
- Platform
Wi-Fi
...
HAL
All HAL functions prototypes and structure definitions are available in wifi_hal.h file.
...
- To see the Wi-Fi HAL APIs. Please refer WiFiHAL in the component page.
MOCA HAL
To see the APIs involved with MOCA component. Please see MoCA HAL APIs in the component page.
Ethernet Switch HAL
All HAL functions prototypes and structure definitions are available in ccsp_hal_ethsw.c file
- It provides implementation for switch (Ethernet) control
- Based on how vendor exposes their driver capabilities in user space, the HAL API’s can be implemented in hal-ethsw-generic/git/source/ethsw/ccsp_hal_ethsw.c
- Some of the APIs are :
- CcspHalEthSwInit
- CcspHalEthSwGetPortStatus
- CcspHalEthSwGetPortCfg
- CcspHalEthSwSetPortCfg
- CcspHalEthSwGetPortAdminStatus
DHCPv4C HAL
- DHCPv4C HAL is used for the RDK-B DHCPv4 Client Status abstraction layer
- DHCPv4C HAL API's functionality should be implemented by OEMs
- dhcpv4c_api.c provides the function call prototypes and structure definitions used for the RDK-Broadband DHCPv4 Client Status abstraction layer.
- Some of the APIs are :
- dhcpv4c_get_ert_ifname
- dhcpv4c_get_ert_ip_addr
- dhcpv4c_get_ert_dns_svrs
HAL Reference (Under Development)
...