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.

CC3235MODSF: Issues with connecting while only 5 GHz channels are open.

Part Number: CC3235MODSF

To whom it may concern,

I have an issue with 5 GHz, I am trying to connect to a 5 GHz Access point, and the connecting duration is tremendously long (~50 seconds). If I open 1 random channel from 2.4 GHz there is no delay and the device connects to an AP instantly. 

This is the channel mask configuration I tried:


Is there a problem with the latest SDK or it is some hardware limitations?

  • Hi,

    I'm not familiar with any similar issue.

    If you perform scan (you can use the network terminal example for that) - are you able to see the AP in the 5G? Does the scan take more time to finish (if all the 2.4 channels are disabled)? 

    can you provide an NWP log (see chapter 20 in https://www.ti.com/lit/swru455)? (please record both the fast connection (when 2.4 channel is available) and the long one (with only 5G channels).

    Br,

    Kobi

    .

  • Hi,

    Thx for the fast response. I've tried the network terminal example but the issue is the same. When I first tried and set policy for the specific channels, the device was unable to retrieve scan information for any AP around. After a minute and a half of waiting, I was finally able to see the 5 GHz AP. Tried to connect to this 5 GHz AP but had a timeout expired issue. When I second time tried the same. There was no more scanning issue, but still had trouble with connecting to this 5 GHz AP, waiting same ~50 seconds.

     

    output_2023-02-27_11-32-55.log
    	============================================
    
    	   Network Terminal Example Ver: 1.0.1.0
    
    	============================================
    
    
    	 CHIP: 0x31100019
    
    	 MAC:  3.7.0.1
    
    	 PHY:  3.1.0.26
    
    	 NWP:  4.13.0.2
    
    	 ROM:  8738
    
    	 HOST: 3.0.1.71
    
    	 MAC address: 48:70:1e:60:1e:d5
    
    
    	============================================
    
    
    ================================================================================
    
    Available commands:
    
    
    help                scan                setpolicy           wlanconnect         
    
    wlan_ap_start       addprofile          getprofile          wlandisconnect      
    
    wlan_ap_stop        connected_stations  ping                send                
    
    recv                createfilter        enablefilter        mdnsadvertise       
    
    enablewowlan        deletefilter        disablefilter       mdnsquery           
    
    radiotool           p2pstart            AntSelectionEnable  SoftRoamingEnable   
    
    CoexEnable          p2pstop             AntSelectionDisable SoftRoamingDisable  
    
    CoexDisable         APTransitionEnable  TrigRoamingEnable   clear               
    
    Countrycode         APTransitionDisable TrigRoamingDisable  
    
    
    ================================================================================
    
    
    user:7setpolicy -i 10 -h NO -c 0x0000 -d 0xFFFFFFFF
    
    
    user:7scan -n 20
    
    
    [scan] : Unable to retrieve the network list
    
    
    user:7scan -n 20
    
    
    [scan] : Unable to retrieve the network list
    
    
    user:7scan -n 20
    
    
    [scan] : Unable to retrieve the network list
    
    
    user:7scan -n 20
    
    
    [scan] : Unable to retrieve the network list
    
    
    user:7scan -n 20
    
    
    [scan] : Unable to retrieve the network list
    
    
    user:7scan -n 20
    
    
    ---------------------------------------------------------------------------------------------
    
        |               SSID               |       BSSID       | RSSI  | Ch | Hidden | Security |
    
    ---------------------------------------------------------------------------------------------
    
     1  | FiberHGW_ZT2HR9                  | 14:09:b4:c8:21:62 | -68   | 40 | NO     | WPA2     |
    
    ---------------------------------------------------------------------------------------------
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7wlandisconnect
    
    
    [line:900, error code:-2071] WLAN error, please refer "WLAN ERRORS CODES" section in errors.h
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [WLAN EVENT] STA Connected to the AP: FiberHGW_ZT2HR9 , BSSID: 14:9:b4:c8:21:62
    
    user:
    
    [NETAPP EVENT] IP set to: IPv4=192.168.1.107 , Gateway=192.168.1.1
    
    user:
    
    [wlanconnect] : Timeout expired to acquire IPv6 address.
    
    
    user:7
    output_2023-02-27_11-39-36.log
    
    	============================================
    
    	   Network Terminal Example Ver: 1.0.1.0
    
    	============================================
    
    
    	 CHIP: 0x31100019
    
    	 MAC:  3.7.0.1
    
    	 PHY:  3.1.0.26
    
    	 NWP:  4.13.0.2
    
    	 ROM:  8738
    
    	 HOST: 3.0.1.71
    
    	 MAC address: 48:70:1e:60:1e:d5
    
    
    	============================================
    
    
    ================================================================================
    
    Available commands:
    
    
    help                scan                setpolicy           wlanconnect         
    
    wlan_ap_start       addprofile          getprofile          wlandisconnect      
    
    wlan_ap_stop        connected_stations  ping                send                
    
    recv                createfilter        enablefilter        mdnsadvertise       
    
    enablewowlan        deletefilter        disablefilter       mdnsquery           
    
    radiotool           p2pstart            AntSelectionEnable  SoftRoamingEnable   
    
    CoexEnable          p2pstop             AntSelectionDisable SoftRoamingDisable  
    
    CoexDisable         APTransitionEnable  TrigRoamingEnable   clear               
    
    Countrycode         APTransitionDisable TrigRoamingDisable  
    
    
    ================================================================================
    
    
    user:7setpolicysetpolicy
    
    
    No such command
    
    user:7setpolicy
    
    
    Usage: 
    
    	setpolicy [-help] [-i <Scan interval in Sec>] [-h <hidden scan>] [-c <Channel Mask in HEX>]
    
    	[-r <RSSI threshold>] [-o <Turn scans off>]
    
    
    Description:
    
    	Set scan policy parameters.
    
    
    	-i	Sets scan interval in seconds (default is 10 seconds)
    
    
    	-h	Scan for hidden AP as well (hidden scan = [YES, NO])
    
    
    	-c	Sets specific scan channels for 2.4Ghz, using HEX base bitmask (if bit i is set, scan for channel i is enabled)
    
    
    	-d	Sets specific scan channels for 5Ghz, using HEX base bitmask (if bit i is set, scan for the channel at index i according to 5Ghz channels bits order which the device support. E.g. 36->0001, 40->0010, 44->0100.. etc) 
    
    
    	-r	Sets RSSI threshold for scan in dBm units (range: [-95,0])
    
    
    	-o	Turn scans off (YES = scans running in background would stop immediately)
    
    
    	-help	Display this help
    
    
    
    
    user:7setpolicy -c 0x0000 -d 0xFFFFFFFF
    
    
    user:7scan -n 10
    
    
    ---------------------------------------------------------------------------------------------
    
        |               SSID               |       BSSID       | RSSI  | Ch | Hidden | Security |
    
    ---------------------------------------------------------------------------------------------
    
     1  | FiberHGW_ZT2HR9                  | 14:09:b4:c8:21:62 | -67   | 40 | NO     | WPA2     |
    
    ---------------------------------------------------------------------------------------------
    
    
    user:7scan -n 10
    
    
    ---------------------------------------------------------------------------------------------
    
        |               SSID               |       BSSID       | RSSI  | Ch | Hidden | Security |
    
    ---------------------------------------------------------------------------------------------
    
     1  | FiberHGW_ZT2HR9                  | 14:09:b4:c8:21:62 | -67   | 40 | NO     | WPA2     |
    
    ---------------------------------------------------------------------------------------------
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7wlanconnect -s "FiberHGW_ZT2HR9" -t WPA2 -p "********"
    
    
    [wlanconnect] : Timeout expired connecting to AP: FiberHGW_ZT2HR9
    
    
    user:7
    
    [WLAN EVENT] STA Connected to the AP: FiberHGW_ZT2HR9 , BSSID: 14:9:b4:c8:21:62
    
    user:
    
    [NETAPP EVENT] IP set to: IPv4=192.168.1.107 , Gateway=192.168.1.1
    
    user:

    I was able to get this log (in binary mode) but using our project not the network terminal one:

    5 GHz NWP log.log

    Best,

    Alex

  • Are you using a TI Launchpad or a customized board?

    Have you gone through the https://www.ti.com/tool/SIMPLELINK-WIFI-DESIGN-REVIEWS?

    BTW. do you really need to scan all the 5G channels? note that some of them are DFS channel where we can't send perform an active scan (i.e. send a probe request) until we receive beacons on the channel. Both the number of channels and the passive scanning can increase the scanning time. It does not explain how adding a scan in the 2.4 band will reduce the scan time (unless the AP gets found in the 2.4G in such case).

  • Hi,

    Sorry for the late response. I am using the customized board. I've tried your suggestions with launchpad and it has the same effect. Also, I've tried to set only the needed channels(0x0000000F for the 5 GHz channel mask and 0x0000 for the 2.4 GHz channel mask), and it has the same effect again. I am facing the same issue again and again. Have you attempted to run the same tests that we did?

    Best,

    Alex

  • Please go through the design review anyway.

    I'll try to check this tomorrow 

  • I was able to reproduce the issue and will need to debug this. 

    Is this critical for you (what is the use case?) or you can enable one channel of the 2.4 (ignore scan results on this channel if needed) to reduce the latency?

  • Thank you for your answer. In response to your question, it is critical for us to migrate to the 5 GHz band on our devices as it aligns with our long-term business goals and improves our network's overall performance. We are looking for a solution that will enable us to do this seamlessly, without the need for manual implementation. Theoretically, we could manually implement this bug fix, but I'm afraid that the fix may not be sufficient enough. How soon will the fix come out with the new SDK?

    Best regards,

    Alex

  • I'm not sure about the exact time but it will probably take some time to fix it. 

    I suggest you start with a patch.