RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Updation of dynamic hostapd changes in WiFi hal layer lead to resolution of various issues like timeout errors when we try to set values to wifi parameters such as ssid, password, SecurityMode, channel etc through dmcli commands or WebUI. Moreover, features such as xfinity-wifi,snmp set/get of wifi calls ,factory-reset timeout errors are also resolved. This enhanced the performance of WebUI.
We resolved this scenario with support of hostapd_cli.
hostapd_cli is a text-based frontend program for interacting with hostapd.
hostapd is a user space daemon for access point and authentication servers. It implements IEEE 802.11 access point management, IEEE 802.1X/WPA/WPA2/EAP Authenticators and RADIUS authentication server.
Upgraded hostapd version from 2.2 to 2.5 in emulator because this version have the support of enabling /disabling of hostapd at runtime through hostapd_cli.
Following wifi hal api's are added and modified in wifi_hal.c ,
Modified wifi hal api's are :
Newly added dynamic wifi hal api's:
S.NO | Module | DMCLI commands | Description |
---|---|---|---|
1. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.1.Enable | Enable/Disable the private wifi of 2g |
2. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.2.Enable | Enable/Disable the private wifi of 5g |
3. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.5.Enable | Enable/Disable the public wifi of 2g |
4. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.6.Enable | Enable/Disable the public wifi of 5g |
5. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.1.SSID | Get/Set the ssid of private 2g |
6. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.2.SSID | Get/Set the ssid of private 5g |
7. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.5.SSID | Get/Set the ssid of public 2g |
8. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.6.SSID | Get/Set the ssid of public 5g |
9. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.1.Status | Check the status of Private 2g |
10. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.2.Status | Check the status of Private 5g |
11. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.5.Status | Check the status of Public 2g |
12. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.SSID.6.Status | Check the status of Public 5g |
13. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.1.Enable | Enable/Disable the 2G SSID's |
14. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.2.Enable | Enable/Disable the 5G SSID's |
15. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.1.Status | check the status of 2G |
16. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.2.Status | check the status of 5G |
17. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.Security.KeyPassPhrase | Get/Set the passphrase of private wifi 2G |
18. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.Security.KeyPassPhrase | Get/Set the passphrase of private wifi 5G |
19. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.Security.ModeEnabled | Get/Set the security modes of private wifi 2G |
20. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.Security.ModeEnabled | Get/Set the security modes of private wifi 5G |
21. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.Security.X_CISCO_COM_EncryptionMethod | Get/Set the Encryption Methods of private wifi 2G |
22. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.Security.X_CISCO_COM_EncryptionMethod | Get/Set the Encryption Methods of private wifi 5G |
23. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.1.Channel | Get/set the channel of 2G |
24. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.2.Channel | Get/set the channel of 5G |
25. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.SSIDAdvertisementEnabled | Visible/Invisble of broadcasting 2G SSID'S |
26. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.SSIDAdvertisementEnabled | Visible/Invisble of broadcasting 5G SSID'S |
27. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.1.OperatingStandards | Get/Set the operating standards of 2g |
28. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.Radio.2.OperatingStandards | Get/Set the operating standards of 5g |
29. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.WPS.Enable | Enable/Disable of WPS 2G |
30. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.WPS.Enable | Enable/Disable of WPS 5G |
31. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.2.WPS.ConfigMethodsEnabled | Get/Set the ConfigMethods Enabled 5G |
32. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.5.Security.ModeEnabled & Device.WiFi.AccessPoint.6.Security.ModeEnabled | Get the security modes of public wifi 5G & 2G as NONE |
33. | WiFi Module(TR-181-WiFi-USGv2.XML) | Device.WiFi.AccessPoint.1.WPS.ConfigMethodsEnabled | Get/Set the ConfigMethods Enabled 2G |
34. | PAM Module XML Mapper - TR181-USGv2.XML | Device.DeviceInfo.X_COMCAST_COM_xfinitywifiEnable | Enable/Disable the xfinitywifi |