[ath9k-devel] tx99 memory allocate failure

Eduardo Abinader <[email protected]>
Newsgroups org.ath9k.lists.ath9k-devel
Message-ID <B55DA282FD16424BB8D58FC600198C2D9B8F93@sfo1exc-mbxp08.nbttech.com>
Hi,

Create the monitor interface with active flag set.

BR.
________________________________
From: [email protected] [ath9k-devel-bounces at lists.ath9k.org] on behalf of Mathieu Slabbinck [matty.slabbinck at gmail.com]
Sent: Tuesday, May 17, 2016 3:52 PM
To: ath9k-devel at lists.ath9k.org
Subject: [ath9k-devel] tx99 memory allocate failure

Hi,

I'm having some issues running the tx99 features of the ath9k driver.
Seems like every time I try to run it, I get this:
sh: write error: cannot allocate memory.

After some poking, I found it's returning -ENOMEN in tx99.c.
Which is due to !sc-tx99_skb
Which on it's turn is due to an empty value for sc->tx99_vif.

So essentially, it's going wrong in ath9k_build_tx99_skb and returns NULL when checking:
if (!sc->tx99_vif) {
    return NULL;
}

Anybody some ideas on what the actual root cause can be of this and/or how to solve it?

Kernel version: 4.1.0

Thanks & Kr

Mathieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160517/57d182f2/attachment.htm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.