TR111 and TR069 function development note (1)

Background:

Due to customer's requirement, need TR069 to support for Wifi repeater base on MTK 7610 chipset . Currently MTK SDK4120 havn't the support yet and MTK does not want to support this, so  need development it ourselves ,here ,take a note just for a fun.

Overview:

Because Wifi repeater is a device that connected via a LAN through an Internet gateway, so to support tr069 function ,implement TR111 is needed to extend the CPE WAN Management Protocol defined in TR-069 to enhance the ability to remotely manage devices (Examples of such devices include VoIP phones, media set-top boxes, and gamin systems,also include the wifi repeater that we discussion in this note.)that are connected via a LAN through an Internet gateway.

study the <<RFC-111>> Spec, we understand the function have contain three PART
PART-I: Device-Gateway Association, this feature need the CPE and the Gateway associate first by the DHCP Option 125.
PART-II: Connection-Request VIA NAT Gateway, this spec define the STUN procedurebetween the CPE and STUN Server(ACS Server) , maybe we can name it STUNfunction.
PART-III:TR069, this  function will contain the TR069 protocol and TR098 data-model,the TR098 data-model associate with th
efunction which need beconfigured by ACS Server,

Actually,Part-I is a must. Part-II is not a must because CPE means Gateway. Our wifi repeater is the LAN device running behind CPE/Gateway. CPE/Gateway can do port forwarding to our wifi repeater on certain port.ACS can initiate the connection through that port,PPART-II  required ACS server as STUN server, but not all ACS server can act as Stun server. Alternatively we can tell CPE what is the port number of our wifi repeater port number so that they can do connection request to the wifi repeater. so we just need implement PART-I and PART-II.

last but not least ,there are another very important things we must done before we implement PART-I and PART-III,because wireless repeater  does not have any wan ip. First task is to make sure Wifi repeater need to have wan ip. -> need to run dhcpc client on br0 interface. So that he can get ip address from the router(gateway) that it connected to. TR069 ip based  client.

next chapter i will explain what need be done in deteil how to run dhcp cient on br0 bridge

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章