Hello Adam,
We're back from vacation :). With the tarball you last sent me the L2 was activated and everything seemed fine. But this week we've found something strange. Our application uses the OTG to connect to an internal board which delivers a continuous stream of data at 480KB/s; the problem is that with the new BSP we see that, after a wireless disconnection, the USB gets reset, resulting in USB OTG packets loss.
That's not always the case, but happens very frequently, about 2/3 of the times the wifi gets disconnected.
Here is the log:
[ 3052.975860] wlan0: deauthenticated from 00:1a:2b:68:23:c5 (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)
[ 3053.015869] cfg80211: All devices are disconnected, going to restore regulatory settings
[ 3053.024566] cfg80211: Restoring regulatory settings
[ 3053.029754] cfg80211: Kicking the queue
[ 3053.033874] cfg80211: Calling CRDA to update world regulatory domain
[ 3053.058929] wlan0: authenticate with 00:1a:2b:68:23:c5
[ 3053.108093] wlan0: send auth to 00:1a:2b:68:23:c5 (try 1/3)
[ 3053.121948] wlan0: authenticated
[ 3053.132873] wlan0: associate with 00:1a:2b:68:23:c5 (try 1/3)
[ 3053.148834] wlan0: RX AssocResp from 00:1a:2b:68:23:c5 (capab=0x431 status=0 aid=1)
[ 3053.210754] wlan0: associated
[ 3053.274414] wlcore: Association completed.
[ 3053.290832] cfg80211: Updating information on frequency 2412 MHz with regulatory rule:
[ 3053.299346] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.307312] cfg80211: Updating information on frequency 2417 MHz with regulatory rule:
[ 3053.315704] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.323669] cfg80211: Updating information on frequency 2422 MHz with regulatory rule:
[ 3053.332061] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.339996] cfg80211: Updating information on frequency 2427 MHz with regulatory rule:
[ 3053.348388] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.356353] cfg80211: Updating information on frequency 2432 MHz with regulatory rule:
[ 3053.364746] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.372680] cfg80211: Updating information on frequency 2437 MHz with regulatory rule:
[ 3053.381103] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.389068] cfg80211: Updating information on frequency 2442 MHz with regulatory rule:
[ 3053.397552] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.405487] cfg80211: Updating information on frequency 2447 MHz with regulatory rule:
[ 3053.413879] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.421783] cfg80211: Updating information on frequency 2452 MHz with regulatory rule:
[ 3053.430175] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.438079] cfg80211: Updating information on frequency 2457 MHz with regulatory rule:
[ 3053.446441] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.454528] cfg80211: Updating information on frequency 2462 MHz with regulatory rule:
[ 3053.462921] cfg80211: 2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.470855] cfg80211: Updating information on frequency 2467 MHz with regulatory rule:
[ 3053.479217] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.487152] cfg80211: Updating information on frequency 2472 MHz with regulatory rule:
[ 3053.495513] cfg80211: 2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A mBi, 2000 mBm)
[ 3053.503448] cfg80211: Updating information on frequency 2484 MHz with regulatory rule:
[ 3053.511810] cfg80211: 2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A mBi, 2000 mBm)
[ 3053.519744] cfg80211: Disabling freq 5040 MHz
[ 3053.524353] cfg80211: Disabling freq 5060 MHz
[ 3053.528961] cfg80211: Disabling freq 5080 MHz
[ 3053.533569] cfg80211: Disabling freq 5170 MHz
[ 3053.538146] cfg80211: Updating information on frequency 5180 MHz with regulatory rule:
[ 3053.546539] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.554565] cfg80211: Updating information on frequency 5190 MHz with regulatory rule:
[ 3053.562927] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.570953] cfg80211: Updating information on frequency 5200 MHz with regulatory rule:
[ 3053.579315] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.587341] cfg80211: Updating information on frequency 5210 MHz with regulatory rule:
[ 3053.595703] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.603729] cfg80211: Updating information on frequency 5220 MHz with regulatory rule:
[ 3053.612091] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.620086] cfg80211: Updating information on frequency 5230 MHz with regulatory rule:
[ 3053.628479] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.636474] cfg80211: Updating information on frequency 5240 MHz with regulatory rule:
[ 3053.644866] cfg80211: 5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.652862] cfg80211: Updating information on frequency 5260 MHz with regulatory rule:
[ 3053.661254] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.669250] cfg80211: Updating information on frequency 5280 MHz with regulatory rule:
[ 3053.677642] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.685638] cfg80211: Updating information on frequency 5300 MHz with regulatory rule:
[ 3053.694000] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.702026] cfg80211: Updating information on frequency 5320 MHz with regulatory rule:
[ 3053.710388] cfg80211: 5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.718414] cfg80211: Updating information on frequency 5500 MHz with regulatory rule:
[ 3053.726776] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.734802] cfg80211: Updating information on frequency 5520 MHz with regulatory rule:
[ 3053.743164] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.751190] cfg80211: Updating information on frequency 5540 MHz with regulatory rule:
[ 3053.759552] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.767578] cfg80211: Updating information on frequency 5560 MHz with regulatory rule:
[ 3053.775970] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.783966] cfg80211: Updating information on frequency 5580 MHz with regulatory rule:
[ 3053.792358] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.800354] cfg80211: Updating information on frequency 5600 MHz with regulatory rule:
[ 3053.808837] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.816833] cfg80211: Updating information on frequency 5620 MHz with regulatory rule:
[ 3053.825225] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.833221] cfg80211: Updating information on frequency 5640 MHz with regulatory rule:
[ 3053.841613] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.849609] cfg80211: Updating information on frequency 5660 MHz with regulatory rule:
[ 3053.858001] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.865997] cfg80211: Updating information on frequency 5680 MHz with regulatory rule:
[ 3053.874389] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.882415] cfg80211: Updating information on frequency 5700 MHz with regulatory rule:
[ 3053.890808] cfg80211: 5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A mBi, 2000 mBm)
[ 3053.898803] cfg80211: Updating information on frequency 5745 MHz with regulatory rule:
[ 3053.907196] cfg80211: 5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A mBi, 2000 mBm)
[ 3053.915100] cfg80211: Updating information on frequency 5765 MHz with regulatory rule:
[ 3053.923492] cfg80211: 5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A mBi, 2000 mBm)
[ 3053.931396] cfg80211: Updating information on frequency 5785 MHz with regulatory rule:
[ 3053.939788] cfg80211: 5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A mBi, 2000 mBm)
[ 3053.947692] cfg80211: Updating information on frequency 5805 MHz with regulatory rule:
[ 3053.956085] cfg80211: 5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A mBi, 2000 mBm)
[ 3053.963989] cfg80211: Updating information on frequency 5825 MHz with regulatory rule:
[ 3053.972381] cfg80211: 5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A mBi, 2000 mBm)
[ 3053.980346] cfg80211: World regulatory domain updated:
[ 3053.985778] cfg80211: DFS Master region: unset
[ 3053.990386] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 3054.000671] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3054.009185] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 3054.017669] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 3054.026123] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 3054.034698] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 3054.043273] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 3054.051818] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 3054.060302] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 3054.076965] usb 2-1: USB disconnect, device number 12
[ 3054.398132] usb 2-1: new full speed USB device number 13 using musb-hdrc
[ 3054.547821] usb 2-1: New USB device found, idVendor=2504, idProduct=0300
[ 3054.554901] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3054.562438] usb 2-1: Product: GHT ECG-PC
[ 3054.566894] usb 2-1: Manufacturer: GEM-MED SL / UPC BARCELONA TECH.
Why the usb gets disconnected ?
Thanks.