Re: [PATCH net,stable] net: cdc_ncm: GetNtbFormat endian fix

2017-11-15 Thread Enrico Mioso
Thank you very much Ben and bjorn, for the spot, the fix, and overall helping me learn new things. Acked-By: Enrico Mioso <mrkiko...@gmail.com> On Wed, 15 Nov 2017, Bjørn Mork wrote: Date: Wed, 15 Nov 2017 09:35:02 From: Bjørn Mork <bj...@mork.no> To: net...@vger.kernel.or

[PATCH V3] Set NTB format again after altsetting switch for Huawei devices

2017-07-11 Thread Enrico Mioso
by the huawei_cdc_ncm.c driver. V1->V2: - fixed broken error checks - some corrections to the commit message V2->V3: - variable name changes, to clarify what's happening - check (and possibly set) the NTB format later in the common bind code path Signed-off-by: Enrico Mioso <mrkiko...@gmail.com&

[PATCH RFC V3] Set NTB format again after altsetting switch for Huawei devices

2017-07-08 Thread Enrico Mioso
by the huawei_cdc_ncm.c driver. V1->V2: - fixed broken error checks - some corrections to the commit message V2->V3: - variable name changes, to clarify what's happening - check (and possibly set) the NTB format later in the common bind code path Signed-Off-By: Enrico Mioso <mrkiko...@gmail.com&g

Re: [PATCH] [RFC PATCH] Set NTB format again after altsetting switch for Huawei devices

2017-07-08 Thread Enrico Mioso
hello, and thank you Christian for your comment and suggestion. I will send a new version in the evening: I don't have devices exposing the same behaviour, so I can't test the code completely. Still, I will move the check at the suggested point. But I am worried about interfering with MBIM

Re: [PATCH] [RFC PATCH] Set NTB format again after altsetting switch for Huawei devices

2017-07-07 Thread Enrico Mioso
Sorry, I should have made a big mistake with git send-email From mrkiko...@gmail.com Fri Jul 7 17:53:17 2017 Date: Fri, 7 Jul 2017 17:52:57 From: Enrico Mioso <mrkiko...@gmail.com> Cc: Enrico Mioso <mrkiko...@gmail.com> Subject: [PATCH RFC V2] Set NTB format again after altse

Re: [PATCH] [RFC PATCH] Set NTB format again after altsetting switch for Huawei devices

2017-07-07 Thread Enrico Mioso
On Fri, 7 Jul 2017, Bjørn Mork wrote: Date: Fri, 7 Jul 2017 16:59:09 From: Bjørn Mork <bj...@mork.no> To: Enrico Mioso <mrkiko...@gmail.com> Cc: Christian Panton <christ...@panton.org>, linux-usb@vger.kernel.org Subject: Re: [PATCH] [RFC PATCH] Set NTB format again after

[PATCH] [RFC PATCH] Set NTB format again after altsetting switch for Huawei devices

2017-07-07 Thread Enrico Mioso
by the huawei_cdc_ncm driver. I am not in a confortable position to test this code, so it may containg serious defects. Let me know. Signed-off-by: Enrico Mioso <mrkiko...@gmail.com> CC: Bjørn Mork <bj...@mork.no> CC: Christian Panton <christ...@panton.org> CC: linux-usb@vger.kernel.org --

Re: cdc_ncm: Specific Huawei E3372h firmware version stuck in NTB-32

2017-07-07 Thread Enrico Mioso
istian Panton <christ...@panton.org> Cc: linux-usb@vger.kernel.org, Enrico Mioso <mrkiko...@gmail.com> Subject: Re: cdc_ncm: Specific Huawei E3372h firmware version stuck in NTB-32 [CCing Enrico] Christian Panton <christ...@panton.org> writes: Found a solution. I have two

cdc_ncm driver padding problem (WAS: Question about CDC_NCM_FLAG_NDP_TO_END)

2016-09-15 Thread Enrico Mioso
know anyway if this is a problem. thank you all guys for everything, Enrico ==Date: Wed, 14 Sep 2016 19:31:50 ==From: Marek Brudka <mbru...@gmail.com> ==To: Enrico Mioso <mrkiko...@gmail.com> ==Subject: Re: Question about CDC_NCM_FLAG_NDP_TO_END == ==Hello Enrico, == ==As nobody at o

Re: [PATCH net,stable] net: cdc_mbim: add "NDP to end" quirk for Huawei E3372

2015-12-05 Thread Enrico Mioso
for reporting this Sami. Acked-By: Enrico Mioso <mrkiko...@gmail.com> -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: kernel panic while in interrupt handler

2015-12-05 Thread Enrico Mioso
Thank you very much Peter. In case I'll try. thank you. Enrico -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: kernel panic while in interrupt handler

2015-12-04 Thread Enrico Mioso
Thank you Greg. In case I am able, I'll provide more hints. Thank you again, Enrico -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

kernel panic while in interrupt handler

2015-12-04 Thread Enrico Mioso
Hello guys. with my current hardware setup (EEE PC 701, 1GB RAM), I get occasional PANICs while in interrupt handlers. It seems I get these when dealing with USB devices: it happened seeminglsy while using my braille display some days ago, and repeated today when "hciconfig hci0 up"'ing a

[PATCH] cdc_ncm: update specs URL

2015-07-11 Thread Enrico Mioso
Update referenced specs link to reflect actual file version and location. Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_ncm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 1991e4a..db40175

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-08 Thread Enrico Mioso
Hi Oliver and everybody reading this message. So V3 of this patch fixed the issue I reported recently. I wasn't properly accounting for the NDP size when writing new packets to the SKB: so i ended up writing past the end of SKB buffer. Thank you for your patience and help. Enrico -- To

[PATCH V3] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-08 Thread Enrico Mioso
NDP acronym definition - fixed possible NULL pointer dereference - patch cleanup V2-V3: - Properly account for the NDP size when writing new packets to SKB Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_mbim.c | 2 +- drivers/net/usb/cdc_ncm.c| 61

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-08 Thread Enrico Mioso
So, here is what I tried so far: 1 - Check if the pointer gets corrupted somehow (address change): it seems this doesn't happen at all. 2 - Size problems: I tried setting higher values of the size just in case, with absolutely no changei n behaviour. The code that assigns the pointer the

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-07 Thread Enrico Mioso
Hi Oliver, hello to who is reading this message. i was re-reading the code and the oops, without understanding what's the problem. Still: what impressed me is the fact that at some point you see NULL ptr dereference in unrelated code (fbcon). Is it possible that at some point the memory

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-06 Thread Enrico Mioso
Just to be clear - this happens on the real machine as well, but here the trace is difficult to extract, because even with the help of someone seeing the screen, I noticed the screen doesn't get updated. I am using vesa right now. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-06 Thread Enrico Mioso
patch, DOH. Tell me if I can do something and I'll try. No crashdump possible it seems, after this crash the system isn't able to kexec. Enrico Mioso Trace: from a 32-bit QEMU VM launched with parameters: qemu-system-i386 -drive file=dsksys.img,index=0,media=disk -boot d -m 512 -soundhw hda

Re: [PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-05 Thread Enrico Mioso
VM, from kernel 4.0.4 to current git. Thanks, Enrico Mioso -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH V2] cdc_ncm: Add support for moving NDP to end of NCM frame

2015-07-01 Thread Enrico Mioso
possible NULL pointer dereference - patch cleanup - rewrote description and commit subject to be more clear Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_mbim.c | 2 +- drivers/net/usb/cdc_ncm.c| 50 drivers/net/usb

Re: [PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-30 Thread Enrico Mioso
Ok, for now I should let go of this - might be it was a little bit too much for the time constaints I am having. But thank you for your effort Oliver. Anyway, trying to write this new TX engine helped me in understand better things and conceive the patch I sent you affecting cdc_ncm.c, which

[RFC PATCH] cdc_ncm: add support for moving NDP to end of frames

2015-06-28 Thread Enrico Mioso
. This code works pretty well with an E3372 device I am testing it with. The problem is - I observed my patch causing system failures when severe OOM conditions are met. I am not sure the problem is cause by my code, but would like to hear from you. Signed-off-by: Enrico Mioso mrkiko...@gmail.com

Re: [RFC PATCH] cdc_ncm: add support for moving NDP to end of frames

2015-06-28 Thread Enrico Mioso
to work pretty well here, and lot of data has been processed so far. On Sun, 28 Jun 2015, Enrico Mioso wrote: Date: Sun, 28 Jun 2015 09:03:37 From: Enrico Mioso mrkiko...@gmail.com To: Oliver Neukum oneu...@suse.com, linux-usb@vger.kernel.org, net...@vger.kernel.org Cc: Enrico Mioso mrkiko

Re: [PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-26 Thread Enrico Mioso
Hi Oliver! I wish sincerely to thank you again for your time and patience. On Fri, 26 Jun 2015, Oliver Neukum wrote: Date: Fri, 26 Jun 2015 10:14:02 From: Oliver Neukum oneu...@suse.com To: Enrico Mioso mrkiko...@gmail.com Cc: linux-usb@vger.kernel.org, net...@vger.kernel.org Subject: Re

Re: [PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-25 Thread Enrico Mioso
Hi Oliver. Thank you for your patience, and review. I apreciated it very much. On Thu, 25 Jun 2015, Oliver Neukum wrote: Date: Thu, 25 Jun 2015 11:49:29 From: Oliver Neukum oneu...@suse.com To: Enrico Mioso mrkiko...@gmail.com Cc: linux-usb@vger.kernel.org, net...@vger.kernel.org Subject: Re

Re: [PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-25 Thread Enrico Mioso
Hi Oliver! And thank you again. I like / recommend the usage of open messaging standards: my preferred XMPP ID (JID) is: mrk...@jit.si. On Thu, 25 Jun 2015, Oliver Neukum wrote: Date: Thu, 25 Jun 2015 15:38:46 From: Oliver Neukum oneu...@suse.de To: Enrico Mioso mrkiko...@gmail.com Cc: linux

[PATCH RFC] 2/2 huawei_cdc_ncm: introduce new TX ncm stack

2015-06-22 Thread Enrico Mioso
working, should be considered as an example: the NCM manager is used here simulating the cdc_ncm.c behaviour. Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/huawei_cdc_ncm.c | 187 ++- 1 file changed, 185 insertions(+), 2 deletions(-) diff

[PATCH RFC] 1/2 cdc_ncm: export cdc_ncm_align_tail

2015-06-22 Thread Enrico Mioso
Export this function to allow for reusing it in other drivers needing NCM frames alignment, such as the huawei_cdc_ncm one. Signed-off-by: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_ncm.c | 3 ++- include/linux/usb/cdc_ncm.h | 1 + 2 files changed, 3 insertions(+), 1 deletion

[PATCH RFC 0/2] huawei_cdc_ncm: new NCM TX stack for Huawei-style NCM

2015-06-22 Thread Enrico Mioso
any aspect of this code is really apreciated - including suggestions for style and over-long lines problematic to break down, at least for me. Lots of lines longer than 80 chars seemed not easily breakable to me: any suggestion is welcome. Enrico Mioso (2): cdc_ncm: export cdc_ncm_align_tail

[PATCH RFC 2/2] cdc_ncm: split the cdc_ncm_ndp funciton

2015-06-02 Thread Enrico Mioso
by cdc_ncm_ndp16_find, hence this code is stateful. Signed-Off-By: Enrico Mioso mrkiko...@gmail.com --- drivers/net/usb/cdc_ncm.c | 30 +- 1 file changed, 21 insertions(+), 9 deletions(-) diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 8067b8f..3c837d6

[PATCH RFC 1/2] cdc_ncm: add the currently processed NDP frame to global driver data

2015-06-02 Thread Enrico Mioso
This is useful to split up the cdc_ncm_ndp function later on. The resulting code will be anyway stateful. Signed-Off-By: Enrico Mioso mrkiko...@gmail.com --- include/linux/usb/cdc_ncm.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/cdc_ncm.h b/include/linux/usb/cdc_ncm.h

[PATCH RFC 0/2] cdc_ncm refactoring

2015-06-02 Thread Enrico Mioso
more easy to modify the location where the NDP is disposed. What do you think about this? From now on, I need a little bit of help: I think we might work on the cdc_ncm_ndp16_push function, still I am open to any suggestion. Let me know if you like this. Enrico Enrico Mioso (2): cdc_ncm: add

Re: [cdc_ncm] guidance and help refactoring cdc_ncm

2015-06-01 Thread Enrico Mioso
Hello Greg, hello everyone reading. I am sorry If I wasn't specific enough - I'll be this time! :) Or I try at least. On Mon, 1 Jun 2015, Greg KH wrote: ==Date: Mon, 1 Jun 2015 02:59:17 ==From: Greg KH g...@kroah.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: linux-usb@vger.kernel.org, net

Re: [cdc_ncm] guidance and help refactoring cdc_ncm

2015-06-01 Thread Enrico Mioso
Thank you Oliver, thank you all for reading this thread and the attention. For a more detailed discussion and how we got here, you might google for the thread: Is this 32-bit NCM? and Is this 32-bit NCM?y (follow up). Where the y letter comes from a mistake of mine. The specification does only

Re: [cdc_ncm] guidance and help refactoring cdc_ncm

2015-06-01 Thread Enrico Mioso
On Mon, 1 Jun 2015, Oliver Neukum wrote: ==Date: Mon, 1 Jun 2015 14:00:22 ==From: Oliver Neukum oneu...@suse.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: you...@gmail.com, Greg KH g...@kroah.com, linux-usb@vger.kernel.org, ==net...@vger.kernel.org ==Subject: Re: [cdc_ncm] guidance

Re: [cdc_ncm] guidance and help refactoring cdc_ncm

2015-06-01 Thread Enrico Mioso
Thank you Oliver for the reply. On Mon, 1 Jun 2015, Oliver Neukum wrote: ==Date: Mon, 1 Jun 2015 09:48:26 ==From: Oliver Neukum oneu...@suse.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Greg KH g...@kroah.com, linux-usb@vger.kernel.org, ==net...@vger.kernel.org, you...@gmail.com

[RFC cdc_ncm] introducing allocation mode

2015-06-01 Thread Enrico Mioso
oneu...@suse.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: you...@gmail.com, Greg KH g...@kroah.com, linux-usb@vger.kernel.org, ==net...@vger.kernel.org ==Subject: Re: [cdc_ncm] guidance and help refactoring cdc_ncm == ==On Mon, 2015-06-01 at 13:41 +0200, Enrico Mioso wrote: == Thank you

[cdc_ncm] guidance and help refactoring cdc_ncm

2015-05-31 Thread Enrico Mioso
with 3G/4G technologies. 2 - To gain more flexibility in the long term. Thank you guys for reading this message and everything. Please keep me in CC since I am not subscribed to this list. Enrico Mioso My Tox ID is: 7C593F402A3C8632D87AB4B948D492294C39A6A614464ECF843CA3429FB023284180472C7475 I like

Re: intensive IO on usb-storage device causing system lock

2015-02-11 Thread Enrico Mioso
Thank you. If I'll be able I'll try. Thank you again guys. Enrico On Wed, 11 Feb 2015, Alan Stern wrote: Date: Wed, 11 Feb 2015 16:21:50 From: Alan Stern st...@rowland.harvard.edu To: Enrico Mioso mrkiko...@gmail.com Cc: linux-usb@vger.kernel.org, linux-ker...@vger.kernel.org Subject: Re

Re: intensive IO on usb-storage device causing system lock

2015-02-11 Thread Enrico Mioso
It seems the problem is also triggerable without rtorrent, but other tools like git when checking out lots of files (in the kernel git repository for example). -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More

Re: intensive IO on usb-storage device causing system lock

2015-02-10 Thread Enrico Mioso
Hello guys. the problem is still reproducible with final 3.19 kernel - I can confirm it. Re-sending the last trace here - don't know if it's available in cxg.de. For those who might not have read the thread - the problem is: after some intensive IO to an USB (usb-storage) disk, for a more or

Re: intensive IO on usb-storage device causing system lock

2015-02-09 Thread Enrico Mioso
Hello guys. Now that 3.19 is out there - I would like to know if I can domething more to help improve the situation regarding this bug - send some more info. I might eventually try to debug the problem differently but I will need some more spare time to do so. Thank you for all the help and

Re: intensive IO on usb-storage device causing system lock

2015-02-04 Thread Enrico Mioso
Hello guys! I was lucky! :) I was able to reproduce the crash in less time. So - a big blob of infos about my system: complete dmesg, lspci, lsusb, kernel config and so on is at http://www.gstorm.eu/info The trace is: http://cxg.de/_59153c.htm I wasn't able to get other infos, the system

Re: intensive IO on usb-storage device causing system lock

2015-02-04 Thread Enrico Mioso
...@rowland.harvard.edu To: Enrico Mioso mrkiko...@gmail.com Cc: linux-usb@vger.kernel.org Subject: Re: intensive IO on usb-storage device causing system lock On Tue, 3 Feb 2015, Enrico Mioso wrote: Hi guys. I finally was able to obtain some informations about what was going on - infos I retained useful. I am re

Re: intensive IO on usb-storage device causing system lock

2015-02-04 Thread Enrico Mioso
The situation is unchanged, but I noticed there is a continous process of creating workers. They might die at some point, but I noticed them now. Sorry for the verbosity. Here's the last trace: http://cxg.de/_dedb43.htm And process list: PID TTY STAT TIME COMMAND 1 ?Ss

Re: intensive IO on usb-storage device causing system lock

2015-02-04 Thread Enrico Mioso
Hello guys. This time I am managing to use the system while in the middle of the problem. From the command: ps aux USER PID %CPU %MEMVSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.5 22852 2600 ?Ss 09:24 0:01 /sbin/init auto root 2 0.0 0.0

Re: intensive IO on usb-storage device causing system lock

2015-02-04 Thread Enrico Mioso
Sorry guys - I was wrong: the process appears in the traces. And if I read the call trace correctly is's stuck in apic_write ? Enrico On Tue, 3 Feb 2015, Alan Stern wrote: Date: Tue, 3 Feb 2015 19:02:48 From: Alan Stern st...@rowland.harvard.edu To: Enrico Mioso mrkiko...@gmail.com Cc: linux

Re: intensive IO on usb-storage device causing system lock

2015-02-03 Thread Enrico Mioso
Hello to everybody reading this list, Hello alan. First of all - thank you for your help, attention and time in helping me troubleshoot this problem. I am 99% certain the device generating the problem is Bus 001 Device 010: ID 1e68:0022 TrekStor GmbH Co. KG I don't think the problem is on the

Re: intensive IO on usb-storage device causing system lock

2015-02-02 Thread Enrico Mioso
Hi guys. I finally was able to obtain some informations about what was going on - infos I retained useful. I am re-sending these, since it seems my previous message didn't get to the list - but might be I am wrong and didn't find it. This time I posted all the traces to a pstebin, so that it's

Re: intensive IO on usb-storage device causing system lock

2015-02-01 Thread Enrico Mioso
Hello guys. I should say that, wafter sending the command to SysRQ, the only output I can get is: SYSrq - shot state nothing more. There is no way to recover from this situation - no matter what I do. Sorry. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
2015, Oliver Neukum wrote: Date: Sat, 31 Jan 2015 13:20:48 From: Oliver Neukum oneu...@suse.de To: Enrico Mioso mrkiko...@gmail.com Cc: linux-usb@vger.kernel.org Subject: Re: intensive IO on usb-storage device causing system lock On Sat, 2015-01-31 at 12:10 +0100, Enrico Mioso wrote: Hi Oliver

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
Hi guys. The good news is that the problem is perfectly reproducible with some time - and some IO of course. A torrent file of somewhat 14 GB can trigger the issue; with files having a size of some MB each one. The bad news is that it triggers too aggressively - and therefore I wasn't able to

Re: intensive IO on usb-storage device causing system lock

2015-01-31 Thread Enrico Mioso
Hi Oliver! Thank you for the reply and the attention overall. What do you mean for do it manually? Yeah - I will try do do it via the sysrq key - I can't use the keyboard to trigger that actually (it's an Apple keyboard; yes I know there's a trick with it also). I'll wait until the next time

[discuss] [cdc_ncm] Refactoring cdc_ncm

2015-01-19 Thread Enrico Mioso
Hi guys. I am noticing that in kernel 3.19rc4, the driver from huawei, hw_cdc_driver is not able to perform the call to netif_msg_ifup anymore (receives error -13). This to say that it would be very important to continue the work on refactoring cdc_ncm.c driver to let it work with newer huawei

refactoring cdc_ncm

2014-12-28 Thread Enrico Mioso
Hello everyone, hello Bjorn. Sorry for my prevous private mail, didn't think about it. So I was wondering how it could be possible to refactor the cdc_ncm.c driver to queue frames and only when enough data was collected, generate a full NCM packet. so I am trying to get clear what's the way

Re: Is this 32-bit NCM?y

2014-12-05 Thread Enrico Mioso
Yes Bjorn: I should say that's true. and - in general, touching the device driver to make it flexible is surely important, especially to make it more easy to fix / expand in the future. I was referring to modifying the huawei_cdc_ncm.c driver only for specific huawei workarounds / firmware

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
To: Enrico Mioso mrkiko...@gmail.com Cc: Bjørn Mork bj...@mork.no, Eli Britstein eli.britst...@audiocodes.com, Alex Strizhevsky alex...@gmail.com, Midge Shaojun Tan shaojunmidge@audiocodes.com, you...@gmail.com you...@gmail.com, linux-usb@vger.kernel.org linux-usb@vger.kernel.org

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
From: Kevin Zhu mingying@audiocodes.com To: Bjørn Mork bj...@mork.no Cc: Enrico Mioso mrkiko...@gmail.com, Eli Britstein eli.britst...@audiocodes.com, Alex Strizhevsky alex...@gmail.com, Midge Shaojun Tan shaojunmidge@audiocodes.com, you...@gmail.com you...@gmail.com

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
. On Thu, 4 Dec 2014, Bjørn Mork wrote: Date: Thu, 4 Dec 2014 10:19:11 From: Bjørn Mork bj...@mork.no To: Kevin Zhu mingying@audiocodes.com Cc: Enrico Mioso mrkiko...@gmail.com, Eli Britstein eli.britst...@audiocodes.com, Alex Strizhevsky alex...@gmail.com, Midge Shaojun Tan

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
Shaojun Tan shaojunmidge@audiocodes.com To: Enrico Mioso mrkiko...@gmail.com, Bjørn Mork bj...@mork.no Cc: Kevin Zhu mingying@audiocodes.com, Eli Britstein eli.britst...@audiocodes.com, Alex Strizhevsky alex...@gmail.com, you...@gmail.com you...@gmail.com, linux-usb

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
... it works only applying cdc_ncm_modify.c; nothing else change. ARP works. Modesiwtch message not changed. -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
On Thu, 4 Dec 2014, Bjørn Mork wrote: Midge Shaojun Tan shaojunmidge@audiocodes.com writes: Hi all, I test OK with kervel 3.16.4 Need disable other Ethernet network, just like eth1. (Then the DNS and route is OK) And also need disable arp, (ifconfig wwan0 -arp up), because China

Re: Is this 32-bit NCM?y

2014-12-04 Thread Enrico Mioso
was expecting effectively to see some lost packets, but instead... no. On Thu, 4 Dec 2014, Bjørn Mork wrote: Date: Thu, 4 Dec 2014 12:44:56 From: Bjørn Mork bj...@mork.no To: Midge Shaojun Tan shaojunmidge@audiocodes.com Cc: Enrico Mioso mrkiko...@gmail.com, Kevin Zhu mingying

Re: Is this 32-bit NCM?y

2014-12-03 Thread Enrico Mioso
Hello guys! I am writing this message to hear if there is any progress, Enrico On Wed, 3 Dec 2014, Kevin Zhu wrote: Date: Wed, 3 Dec 2014 07:05:37 From: Kevin Zhu mingying@audiocodes.com To: Enrico Mioso mrkiko...@gmail.com Cc: Bjørn Mork bj...@mork.no, Eli Britstein eli.britst

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
observer. On Tue, 2 Dec 2014, Kevin Zhu wrote: ==Date: Tue, 2 Dec 2014 08:44:11 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Eli Britstein eli.britst...@audiocodes.com, Bjørn Mork bj...@mork.no, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
@audiocodes.com ==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
: ==Date: Tue, 2 Dec 2014 09:03:21 ==From: Kevin Zhu mingying@audiocodes.com ==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
will be needed, and I might try. On Tue, 2 Dec 2014, Kevin Zhu wrote: ==Date: Tue, 2 Dec 2014 09:03:21 ==From: Kevin Zhu mingying@audiocodes.com ==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Alex Strizhevsky alex...@gmail.com

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
Errata corrige - they might re-define those structurtes to be able to re-use the same parsing code. Sorry. On Tue, 2 Dec 2014, Kevin Zhu wrote: ==Date: Tue, 2 Dec 2014 09:03:21 ==From: Kevin Zhu mingying@audiocodes.com ==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
Testing it right now - let you know in a moment. On Tue, 2 Dec 2014, Bjørn Mork wrote: ==Date: Tue, 2 Dec 2014 12:21:18 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Kevin Zhu mingying@audiocodes.com, ==Eli Britstein eli.britst...@audiocodes.com

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
=1,0 ... the firmware seemed to ignore it. But this might not be related to the patch. Thank you again. Enrico On Tue, 2 Dec 2014, Bjørn Mork wrote: ==Date: Tue, 2 Dec 2014 12:21:18 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Kevin Zhu mingying@audiocodes.com

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
2014 12:21:18 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Kevin Zhu mingying@audiocodes.com, ==Eli Britstein eli.britst...@audiocodes.com, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
Thank you very much Bjorn. On Tue, 2 Dec 2014, Bjørn Mork wrote: ==Date: Tue, 2 Dec 2014 14:37:03 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Kevin Zhu mingying@audiocodes.com, ==Eli Britstein eli.britst...@audiocodes.com, ==Alex Strizhevsky alex

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com, Bjørn Mork bj...@mork.no ==Cc: Eli Britstein eli.britst...@audiocodes.com, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Eli Britstein eli.britst...@audiocodes.com, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb

Re: Is this 32-bit NCM?

2014-12-02 Thread Enrico Mioso
Dec 2014 07:05:37 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no, Eli Britstein eli.britst...@audiocodes.com, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex Strizhevsky alex...@gmail.com, ==Eli Britstein eli.britst...@audiocodes.com, ==linux-usb@vger.kernel.org linux-usb@vger.kernel.org, ==you...@gmail.com you...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 10:23:43 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex Strizhevsky alex...@gmail.com, Bjørn Mork bj...@mork.no, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
So ... I have two ideas left for now. We know for sure the problem is in the way we TX frames, not the way we RX them (the way we send, generate them, not the way we receive them). Si I have two ideas, and I ask for help from the Linux-usb mailing list for this first one. 1 - Does a wayexist to

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
2014 23:02:16 ==From: Eli Britstein eli.britst...@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Kevin Zhu mingying@audiocodes.com, Bjørn Mork bj...@mork.no, ==Alex Strizhevsky alex...@gmail.com, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
to compare them? == ==Sent from my iPhone == == On 1 בדצמ 2014, at 23:11, Enrico Mioso mrkiko...@gmail.com wrote: == == So ... I have two ideas left for now. == We know for sure the problem is in the way we TX frames, not the way we RX them == (the way we send, generate them, not the way we

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
? At least, this is the situation I observed in the test system. On Tue, 2 Dec 2014, Kevin Zhu wrote: ==Date: Tue, 2 Dec 2014 04:53:53 ==From: Kevin Zhu mingying@audiocodes.com ==To: Eli Britstein eli.britst...@audiocodes.com, ==Enrico Mioso mrkiko...@gmail.com ==Cc: Bjørn Mork bj...@mork.no

Re: Is this 32-bit NCM?

2014-12-01 Thread Enrico Mioso
else. Regards ... and good day to all of you, Enrico On Tue, 2 Dec 2014, Kevin Zhu wrote: ==Date: Tue, 2 Dec 2014 07:43:24 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Eli Britstein eli.britst...@audiocodes.com, Bjørn Mork bj...@mork.no, ==Alex

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
Sorry - by error I did not send the message to all. Hi everyone, and good Sunday! The problem is that - between those two firmwares things might change, and so we don't know what Windows does when it meets this specific branch /version of the firmware. I am desperately suspecting that we would

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
(23.128.00.00.00 ==21.286.03.01.209). ==Probably have sent to you the USB  capture with the first one. == ==In fact we have to make work the second one, this dongle has relevant SW. == ==On Nov 30, 2014 3:13 AM, Enrico Mioso mrkiko...@gmail.com wrote: == Hi guys. == Sorry for the late our

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
. == ==On Nov 30, 2014 3:13 AM, Enrico Mioso mrkiko...@gmail.com wrote: == Hi guys. == Sorry for the late our but ... I was trying to figure out == something new about == this dongle. == I also searched for it in my city shops without finding it == actually

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
be fine. In the windows sniff it returned 1,2; however we are not allowed to change this. On Fri, 28 Nov 2014, Bjørn Mork wrote: ==Date: Fri, 28 Nov 2014 10:29:09 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex Strizhevsky alex...@gmail.com, shaojunmidge

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
discovered that the device might handle the offset in a different way, have you tried this approach? On Thu, 27 Nov 2014, Bjørn Mork wrote: ==Date: Thu, 27 Nov 2014 11:03:24 ==From: Bjørn Mork bj...@mork.no ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: you...@gmail.com, alex...@gmail.com, linux-usb

Re: Is this 32-bit NCM?

2014-11-30 Thread Enrico Mioso
: Mon, 1 Dec 2014 04:14:10 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com, Alex Strizhevsky alex...@gmail.com ==Cc: Eli Britstein eli.britst...@audiocodes.com, ==linux-usb@vger.kernel.org linux-usb@vger.kernel.org, ==you...@gmail.com you...@gmail.com

Re: Is this 32-bit NCM?

2014-11-29 Thread Enrico Mioso
Hi guys. Sorry for the late our but ... I was trying to figure out something new about this dongle. I also searched for it in my city shops without finding it actually. But then I came back and ... tried to look at some things. Alex, Kevin: in the Windows USB captures you sent me (and that I

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
@audiocodes.com ==Cc: Enrico Mioso mrkiko...@gmail.com, you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb@vger.kernel.org, ==net...@vger.kernel.org net...@vger.kernel.org, ==Eli Britstein eli.britst...@audiocodes.com ==Subject: Re: Is this 32-bit NCM? == ==Hi all

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
bj...@mork.no, ==Midge Shaojun Tan shaojunmidge@audiocodes.com ==Cc: Enrico Mioso mrkiko...@gmail.com, you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb@vger.kernel.org, ==net...@vger.kernel.org net...@vger.kernel.org, ==Eli Britstein eli.britst

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
Bj-rn, you where right. I was thinking this was the classic compulsory switch from a bitness to an higher one. Sorry. On Fri, 28 Nov 2014, Kevin Zhu wrote: ==Date: Fri, 28 Nov 2014 09:23:16 ==From: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex Strizhevsky alex...@gmail.com, Bjørn Mork bj...@mork.no, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
: Kevin Zhu mingying@audiocodes.com ==To: Enrico Mioso mrkiko...@gmail.com ==Cc: Alex Strizhevsky alex...@gmail.com, Bjørn Mork bj...@mork.no, ==Midge Shaojun Tan shaojunmidge@audiocodes.com, ==you...@gmail.com you...@gmail.com, ==linux-usb@vger.kernel.org linux-usb@vger.kernel.org

Re: Is this 32-bit NCM?

2014-11-28 Thread Enrico Mioso
Sorry - resending message to all. Is the MAC right? In my case it was, but ... you never know. And - have you tried the promisc mode, just in case... don't know if this might even be implementedi n the driver, think not, but... I don't know what to think anymore. this ARP packet seems the same as

  1   2   >