On 2013-02-07 3:57 PM, Krishna Chaitanya wrote: > On Thu, Feb 7, 2013 at 6:17 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: >> On Thu, 2013-02-07 at 15:03 +0100, Felix Fietkau wrote: >> >>> > But the problem is every time we have to test the Rx-AMSDU >>> > which is mandatory for WFA 802.11n cert, we need to procure a adapter >>> > which supports it, which is difficult. Thats the scenario we have faced >>> > which lead us to work on this.With this feature in place we can use >>> > any opensource adapter and driver for that purpose. >>> > >>> > Again, Its a trade off between stability and usability :-) >>> How about injecting A-MSDU packets via cooked monitor mode or nl80211 >>> frame tx and thus shifting the debug-only code into userspace? >> >> nl80211 won't work -- no support for data frames (and I'd rather not add >> it), but monitor mode (why cooked?) seems fine. > > But whats the use of sending an AMSDU if we are not connected? > First check in the code is to check for a connection. I mentioned cooked monitor because putting the hw in monitor mode may not always be desirable, and cooked monitor bypasses that. You can send the AMSDU while you're connected. mac80211 treats injected frames that match the address of a local interface similar to regular tx on that interface, except for bypassing the normal 802.11 header encapsulation, so it should work for your tests. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html