Re: [PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-23 Thread Kalle Valo
Luca Coelho writes: > On Thu, 2018-08-23 at 14:13 +0300, Kalle Valo wrote: >> Luca Coelho writes: >> >> > > > - * You should have received a copy of the GNU General Public >> > > > License along with >> > > > - * this program; if not, write to the Free Software >> > > > Foundation, >> > > >

Re: [PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-23 Thread Luca Coelho
On Thu, 2018-08-23 at 14:13 +0300, Kalle Valo wrote: > Luca Coelho writes: > > > > > - * You should have received a copy of the GNU General Public > > > > License along with > > > > - * this program; if not, write to the Free Software > > > > Foundation, > > > > Inc., > > > > - * 51 Franklin

Re: [PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-23 Thread Kalle Valo
Luca Coelho writes: >> > - * You should have received a copy of the GNU General Public >> > License along with >> > - * this program; if not, write to the Free Software Foundation, >> > Inc., >> > - * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA >> > - * >> > * The full GNU General

Re: [PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-22 Thread Luca Coelho
On Wed, 2018-08-22 at 14:45 +0300, Kalle Valo wrote: > Luca Coelho writes: > > > From: Mordechay Goodstein > > > > Every rx mpdu cmd is built from cmd_hdr | 80211_hdr. The problem > > is > > that the size of cmd_hdr changes with API changes and we don't know > > where the 80211_hdr starts. >

Re: [PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-22 Thread Kalle Valo
Luca Coelho writes: > From: Mordechay Goodstein > > Every rx mpdu cmd is built from cmd_hdr | 80211_hdr. The problem is > that the size of cmd_hdr changes with API changes and we don't know > where the 80211_hdr starts. > > By adding the size of cmd_hdr dynamically, we can ensure that we

[PATCH 07/15] iwlwifi: add 80211 hdr offset to trace data

2018-08-21 Thread Luca Coelho
From: Mordechay Goodstein Every rx mpdu cmd is built from cmd_hdr | 80211_hdr. The problem is that the size of cmd_hdr changes with API changes and we don't know where the 80211_hdr starts. By adding the size of cmd_hdr dynamically, we can ensure that we always know how to parse mpdu frames,