You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

This Page is under Development

Introduction

                     After updating the dynamic hostapd changes in wifi hal layer, we are able to resolve plenty of issues like timeout errors while trying to set any wifi parameters(ssid,password,SecurityMode,channel..) ,xfinity-wifi,snmp set/get of wifi calls ,factory-reset features through dmcli commands or WebUI. This will enhanced the Performance of WebUI .  We can achieved this feature 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.

Design Considerations

                   Upgraded hostapd version from 2.2 to 2.5 in emulator because this version have the support of hostapd  enabling /disabling  at runtime  through hostapd_cli.

Following wifi hal api's are modified and added to achieve this feature,

Modified wifi hal api's are :

  1. wifi_setSSIDName()
  2. wifi_getApEnable()
  3. wifi_getApStatus()
  4. wifi_setApSsidAdvertisementEnable()
  5. wifi_setSSIDEnable()
  6. wifi_setApEnable()
  7. wifi_getSSIDStatus()
  8. wifi_setPreferPrivateConnection()
  9. wifi_stopHostApd()
  10. wifi_startHostApd()
  11. wifi_restartHostApd()
  12. wifi_setApEnable()
  13. wifi_setApSecurityModeEnabled()
  14. wifi_setApSecurityPreSharedKey()
  15. wifi_setApSecurityKeyPassphrase()
  16. wifi_setApWpsEnable()
  17. wifi_setApWpsConfigMethodsEnabled()
  18. wifi_setApWpsDevicePIN()
  19. wifi_getRadioEnable()
  20. wifi_setRadioEnable()
  21. wifi_getRadioStatus()
  22. wifi_setRadioChannelMode()
  23. wifi_setRadioChannel()
  24. wifi_setRadioAutoChannelEnable()
  25. wifi_setRadioOperatingChannelBandwidth()
  26. wifi_setApSecurityKeyPassphrase()

Newly added wifi hal api's:

      1. Stop_Start_Broadcasting_SSID_Names_Hostapd_Process()

       1.Stop_Start_Broadcasting_SSID_Names_Hostapd_Process()




         

Architecture

  • Layout

           <Architecture Diagram>

  • Communication

          <Describe the communication between the sub-systems. (Diagrams may be used to illustrate communications). >

Data Model

S.NOModuleDMCLI commandsDescription
1.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.1.EnableEnable/Disable the private wifi of 2g
2.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.2.EnableEnable/Disable the private wifi of 5g
3.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.5.EnableEnable/Disable the public wifi of 2g
4.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.6.EnableEnable/Disable the public wifi of 5g
5.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.1.SSIDGet/Set the ssid of private 2g
6.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.2.SSIDGet/Set the ssid of private 5g
7.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.5.SSIDGet/Set the ssid of public 2g
8.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.6.SSIDGet/Set the ssid of public 5g
9.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.1.StatusCheck the status of Private 2g
10.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.2.StatusCheck the status of Private 5g
11.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.5.StatusCheck the status of Public 2g
12.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.SSID.6.StatusCheck the status of Public 5g
13.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.1.EnableEnable/Disable the 2G SSID's
14.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.2.EnableEnable/Disable the 5G SSID's
15.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.1.Statuscheck the status of 2G
16.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.2.Statuscheck the status of 5G
17.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.1.Security.KeyPassPhraseGet/Set the passphrase of private wifi 2G
18.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.2.Security.KeyPassPhraseGet/Set the passphrase of private wifi 5G
19.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.1.Security.ModeEnabledGet/Set the security modes of private wifi 2G
20.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.2.Security.ModeEnabledGet/Set the security modes of private wifi 5G
21.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.1.Security.X_CISCO_COM_EncryptionMethodGet/Set the Encryption Methods of private wifi 2G
22.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFI.AccessPoint.2.Security.X_CISCO_COM_EncryptionMethodGet/Set the Encryption Methods of private wifi 5G
23.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.1.ChannelGet/set the channel of 2G 
24.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.2.ChannelGet/set the channel of 5G 
25.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.AccessPoint.1.SSIDAdvertisementEnabledVisible/Invisble of broadcasting 2G SSID'S
26.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.AccessPoint.2.SSIDAdvertisementEnabledVisible/Invisble of broadcasting 5G SSID'S
27.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.1.OperatingStandardsGet/Set the operating standards of 2g
28.WiFi Module(TR-181-WiFi-USGv2.XML)Device.WiFi.Radio.2.OperatingStandardsGet/Set the operating standards of 5g
29.WiFi Module(TR-181-WiFi-USGv2.XML)

Device.WiFI.AccessPoint.5.Security.ModeEnabled &

Device.WiFI.AccessPoint.6.Security.ModeEnabled

Get/Set the security modes of public wifi 5G & 2G
30.

PAM Module 

XML Mapper -

TR181-USGv2.XML

Device.DeviceInfo.X_COMCAST_COM_xfinitywifiEnableEnable/Disable the xfinitywifi



  • No labels