This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/WILINK8-WIFI-NLCP: WOWLAN Question

Part Number: WILINK8-WIFI-NLCP

Tool/software: Linux

Hi ,

I want to know which type of packet will wake up the host in wowlan stage ?  for example,  broadcast , EAPOL?

Is there any relevant document mentioning this?

Thanks.

Nathan Kuo

  • Hi ECS champs:

    Please help for this Q&A.

    BR Rio

  • Hi, You can configure WoWLAN filters in firmware. For details pls consult : processors.wiki.ti.com/.../WL18xx_Adding_WoWLAN

    Thanks
    Saurabh
  • Hi Saurabh,

    1.Wake up on any TCP packet sent to MAC 38:d2:69:c5:4e:55

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06:-:-:-:-:-:-:-:-:-:-:-:-

     

    2.Wake up on any UDP packet sent to MAC 38:d2:69:c5:4e:55

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:11:-:-:-:-:-:-:-:-:-:-:-:-

    Is the above setting correct?

    Nathan Kuo

  • Hi Nathan

    1.Wake up on any TCP packet sent to MAC 38:d2:69:c5:4e:55

       iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

     

    2.Wake up on any UDP packet sent to MAC 38:d2:69:c5:4e:55

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:11

    Saurabh

     

  • Hi Saurabh,

    Thanks for your help.

    I have more questions about this.

    I set the RX filter as below.

    1.Wake up on any TCP packet sent to MAC 38:d2:69:c5:4e:55

       iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

    But the host will wake up on NBNS(UDP) packet , do you know why? 

    Attachment is sniffer file get from wireshark.

    Please give me some suggestions.

    packet.7z

    Nathan Kuo

  • Nathan , Does the host wake up on other packets as well ? such as ICMP echo request etc. ?

    Thanks
    Saurabh
  • Hi Saurabh,

    We did some experiments as follows ,

    1. We set wake up on any TCP packet sent to MAC 38:d2:69:c5:4e:55

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

    2.The Windows PC connected to the same AP and then used the TCP ping tool to ping our DUT. The DUT's SoC Will be awakened

    3.The Windows PC connected to the same AP and then used the ICMP ping tool to ping our DUT. The DUT's SoC Will not be awakened.

    The question is whether NBNS will wake up the SoC under the TCP WoWLAN setup?

    Nathan Kuo

    1. 我們的機台設定iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

  • Hi Saurabh,



    We did some experiments as follows ,

    1. We set wake up on any TCP packet sent to MAC 38:d2:69:c5:4e:55

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

    2.The Windows PC connected to the same AP and then used the TCP ping tool to ping our DUT. The DUT's SoC Will be awakened

    3.The Windows PC connected to the same AP and then used the ICMP ping tool to ping our DUT. The DUT's SoC Will not be awakened.



    The question is whether NBNS will wake up the SoC under the TCP WoWLAN setup?




    Nathan Kuo
  • Nathan ,
    In case device doesn't wake up on ICMP packet, this shows fwr filter is filtering out ICMP packets. You will need to check NBNS packet and see if it matches the filter you set

    Saurabh
  • Hi  Saurabh,

    Return to the original question.

    We don't know why the AP Router sent the NBNS(UDP) packet and this package will wake up host.

    Because our filter is only set any TCP not UDP packet 

    iw phy0 wowlan enable patterns 38:d2:69:c5:4e:55:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:06

    Anyway,  If we capture the firmware log  ,do you think it will help?

    Nathan Kuo

  • Nathan,

    - Do you still receive the packet if  you set filter other than TCP ?

    - Do you have packet dump of the NBNS packet that is waking up the host ?

    Saurabh