Re: [ath9k-devel] [PATCH] drivers: net: Remove remaining alloc/OOM messages

2013-02-07 Thread Marc Kleine-Budde
> Removed now unused stack variables. > Removed unnecessary parentheses. > Neatened alignment. > > Signed-off-by: Joe Perches > --- > Let me know if you want multiple small patches instead. > > drivers/net/can/usb/ems_usb.c | 4 +- For ems_us

Re: [ath9k-devel] skb_under_panic in ath9k

2013-05-24 Thread Marc Kleine-Budde
added ath9k-devel to Cc On 05/23/2013 12:02 AM, Marc Kleine-Budde wrote: > Hello, > > I'm on a kirkwood based armv5 system with an USB attached TP-Link > TL-WN821N - Atheros AR7010+AR9287, [1]. the wlan is running in AP mode > with hostapd-1.0. The kernel is v3.8.12 from de

Re: [ath9k-devel] [PATCH RFC] Re: skb_under_panic in ath9k

2013-06-04 Thread Marc Kleine-Budde
On 05/26/2013 10:02 AM, Oleksij Rempel wrote: > Am 26.05.2013 08:20, schrieb Oleksij Rempel: >> Am 24.05.2013 10:47, schrieb Marc Kleine-Budde: >>> added ath9k-devel to Cc >>> >>> On 05/23/2013 12:02 AM, Marc Kleine-Budde wrote: >>>> Hello, >&g

Re: [ath9k-devel] skb_under_panic in ath9k

2013-06-04 Thread Marc Kleine-Budde
On 05/23/2013 12:02 AM, Marc Kleine-Budde wrote: > The system crashes repeatedly after about one week with the following > oops: > > [633625.401875] skbuff: skb_under_panic: text:bf501028 len:128 put:8 > head:d2788800 data:d27887fe tail:0xd278887e end:0xd2788f40 dev:wlan1 &

Re: [ath9k-devel] [PATCH] ath9k_htc: fix skb_under_panic error

2013-06-05 Thread Marc Kleine-Budde
On 06/05/2013 04:24 PM, Helmut Schaa wrote: > On Tue, Jun 4, 2013 at 8:37 PM, Oleksij Rempel wrote: >> This error seems to be really rare, and we do not know real couse of it. >> But, in any case, we should check size of head before reducing it. > > Mind to try the (completely untested) patch aga

Re: [ath9k-devel] [PATCH] ath9k_htc: fix skb_under_panic error

2013-08-16 Thread Marc Kleine-Budde
Hello, On 06/05/2013 04:24 PM, Helmut Schaa wrote: > On Tue, Jun 4, 2013 at 8:37 PM, Oleksij Rempel wrote: >> This error seems to be really rare, and we do not know real couse of it. >> But, in any case, we should check size of head before reducing it. > > Mind to try the (completely untested) p

[ath9k-devel] [PATCH v2] ath9k_htc: Restore skb headroom when returning skb to mac80211

2013-08-16 Thread Marc Kleine-Budde
ath9k_htc again (due to a soft retransmission for example) causing an skb_under_panic oops. Fix this by moving the 802.11 header back into its original position before returning the frame to mac80211 as other drivers like rt2x00 or ath5k do. Reported-by: Marc Kleine-Budde Signed-off-by: Helmut

Re: [ath9k-devel] [PATCH v2] ath9k_htc: Restore skb headroom when returning skb to mac80211

2013-08-20 Thread Marc Kleine-Budde
On 08/16/2013 09:39 PM, Marc Kleine-Budde wrote: > From: Helmut Schaa > > ath9k_htc adds padding between the 802.11 header and the payload during > TX by moving the header. When handing the frame back to mac80211 for TX > status handling the header is not moved back into its or

Re: [ath9k-devel] [PATCH v2 06/18] ath9k: add new function ath9k_hw_read_array

2015-03-21 Thread Marc Kleine-Budde
_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray > *array, > int column, unsigned int *writecnt); > +void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size); > u32 ath9k_hw_reverse_bits(u32 val, u32 n); > u16 ath9k_hw_computetx