Part Number: CC3120MOD
Other Parts Discussed in Thread: CC3120, 4213, UNIFLASH
Tool/software: Code Composer Studio
Hi all,
on an our device is mounted the CC3120MOD that is managed by an Tiva 32bit Microcontroller that work's on with Freertos and the SimpleLink driver (version 2.30.00.10).
The Simple link is configured as:
-
Station
-
IpV6 and Scan are disabled
-
mDNS is unregistred
-
all 64 filters are removed
- Connection Policy setted to auto
- low power policy set to on
- and DHCP is set as opportunistic renew
- configured only one profile for the connection to the AP (SSID, psk, type)
We had implemented a Hand Over scenario, based on WLAN connection to the AP, the TCP socket connection switch's form Mobile (WWLAN) to WLAN and vice versa. During the tests in some cases happened that the CC3120 couldn't reconnect to the AP. AP that is handled by dnxa-97 ar5b97 module and ATH9K linux driver, cast to work on channel 6 with ad band-width of 20 MHz.
To investigate this occurrence, we are doing a test based on turning on/off the wlan of the AP periodically. So :
- when the AP is Turned off:
- i have the disconnection event with a wlan disconnection reason code 102.
- based on fact that the reason isn't SL_WLAN_DISCONNECT_USER_INITIATED, the manual connection is called, so sl_wlanconnect
- so the proxy socket's switch to mobile.
- when the AP is Turned on, randomly happens :
- the GET_STATUS_BIT(status_variable, STATUS_BIT_CONNECTION) doesn't change, so no connection event is handled
- and in particular disconnection event with a wlan disconnection reason code 102, triggers (this disconnection reason code is triggered in normal working to).
- so in that case i'm blocked working on the WWAN.
Doing some capture with wireshark the evidence is that is missing the AUTHENTICATION/DEAUTHENTICATION packets in post probe request/response.
In attacked file, All_BlockingTranstion_capture.pcapng shows the capture when the connection never come's on (7797-8398 that happens, and AethraTe-5d:f6:54 is the CC3120, have to cut-of the mp3 extension :D ), and Blocked_capture.pcapng is a capture of a blocked state.
Do you have any suggestion of why that is happening, so to find a work around to exit from this blocking state.
Thank's in advance,
Kliti