[PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-10-22 Thread Yanbo Li
The QCA99X0 4 addresses RX packets pad 2 bytes at the beginning of MSDU instead the end of ieee80211 header to keep align. The currently RX data path can't parse the header correctly in this case. This patch fixes it for QCA99X0 Signed-off-by: Yanbo Li diff --git a/drivers/net/wireless/ath/ath10

Re: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-11-16 Thread Kalle Valo
"Li, Yanbo" writes: >> > + /* The padding bytes's location is different on various chips */ >> > + enum ath10k_loc_4addr_pad loc_4addr_pad; >> >> I think that loc prefix is a bit misleading, it reminds me of >> locationing/positioning etc. What about ath10k_hw_4addr_pad? >> >

Re: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-11-20 Thread Mohammed Shafi Shajakhan
Hi Kalle\Yanbo, On Mon, Nov 16, 2015 at 10:57:44PM +0200, Kalle Valo wrote: > "Li, Yanbo" writes: > > >> > +/* The padding bytes's location is different on various > >> > chips */ > >> > +enum ath10k_loc_4addr_pad loc_4addr_pad; > >> > >> I think that loc prefix

RE: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-11-20 Thread Li, Yanbo
> -Original Message- > From: Shajakhan, Mohammed Shafi (Mohammed Shafi) > Sent: Friday, November 20, 2015 5:32 AM > To: Valo, Kalle > Cc: Li, Yanbo; linux-wireless@vger.kernel.org; ath...@lists.infradead.org > Subject: Re: [PATCH] ath10k: Adjust the RX packet pad

Re: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-11-23 Thread Kalle Valo
Yanbo Li writes: > The QCA99X0 4 addresses RX packets pad 2 bytes at the beginning of > MSDU instead the end of ieee80211 header to keep align. The currently > RX data path can't parse the header correctly in this case. This > patch fixes it for QCA99X0 > > Signed-off-by: Yanbo Li Applied, than

Re: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-10-22 Thread Kalle Valo
Yanbo Li writes: > The QCA99X0 4 addresses RX packets pad 2 bytes at the beginning of > MSDU instead the end of ieee80211 header to keep align. The currently > RX data path can't parse the header correctly in this case. This > patch fixes it for QCA99X0 > > Signed-off-by: Yanbo Li > > diff --git

RE: [PATCH] ath10k: Adjust the RX packet pad offset at QCA99X0 4addr mode

2015-10-22 Thread Li, Yanbo
> -Original Message- > From: Valo, Kalle > Sent: Thursday, October 22, 2015 10:25 PM > To: Li, Yanbo > Cc: dreamfly...@gmail.com; ath...@lists.infradead.org; linux- > wirel...@vger.kernel.org > Subject: Re: [PATCH] ath10k: Adjust the RX packet pad offset at