[PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-05 Thread per . forlin
From: Per Forlin The pend_8021x_cnt gets into a state where it's not being decreased. When the brcmf_netdev_wait_pend8021x is called it will timeout because there are no pending packets to be consumed. There is no easy way of getting out of this state once it has happened. Preventing the counter

Re: [PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-06 Thread Arend Van Spriel
On 5-4-2016 22:01, per.for...@gmail.com wrote: > From: Per Forlin > > The pend_8021x_cnt gets into a state where it's not being decreased. > When the brcmf_netdev_wait_pend8021x is called it will timeout > because there are no pending packets to be consumed. There is no > easy way of getting out

Re: [PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-06 Thread Per Förlin
Hi, Thanks for getting back to me, * Chip: chip 43340 rev 2 pmurev 20 * I'm running kernel 4.1 (backports) for the wireless parts * I have not to setup my environment for the latest kernel yet. It's on my todo list. Looking at the code you pointed out I realize my fix i misplaced. It's strange

Re: [PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-06 Thread Arend Van Spriel
On 6-4-2016 17:56, Per Förlin wrote: > Hi, > > Thanks for getting back to me, > > * Chip: chip 43340 rev 2 pmurev 20 > * I'm running kernel 4.1 (backports) for the wireless parts > * I have not to setup my environment for the latest kernel yet. > It's on my todo list. > > Looking at the code

Re: [PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-06 Thread Per Förlin
2016-04-06 23:50 GMT+02:00 Arend Van Spriel : > > > On 6-4-2016 17:56, Per Förlin wrote: >> Hi, >> >> Thanks for getting back to me, >> >> * Chip: chip 43340 rev 2 pmurev 20 >> * I'm running kernel 4.1 (backports) for the wireless parts >> * I have not to setup my environment for the latest kernel

Re: [PATCH v2] brcmfmac: Don't increase 8021x_cnt for dropped packets

2016-04-06 Thread Per Förlin
2016-04-07 1:57 GMT+02:00 Per Förlin : > 2016-04-06 23:50 GMT+02:00 Arend Van Spriel : >> >> >> On 6-4-2016 17:56, Per Förlin wrote: >>> Hi, >>> >>> Thanks for getting back to me, >>> >>> * Chip: chip 43340 rev 2 pmurev 20 >>> * I'm running kernel 4.1 (backports) for the wireless parts >>> * I have