Re: [PATCH v2] mac80211: enable to inject a-msdu frames using monitor interface

2016-10-12 Thread michael-dev
Am 12.10.2016 09:33, schrieb Johannes Berg: However, re-reading *p looks strange to me. Why don't we just refactor this to preserve everything but the TID and ACK policy, after all, we have just previous created this all zeroed in most cases, so it won't really matter. Looks good to me. I've

Re: [PATCH v2] mac80211: enable to inject a-msdu frames using monitor interface

2016-10-12 Thread Johannes Berg
On Mon, 2016-10-10 at 18:48 +0200, Michael Braun wrote: > Problem: When injecting an A-MSDU using a PF_PACKET socket, the qos > flag > IEEE80211_QOS_CTL_A_MSDU_PRESENT is cleared. > > How to reproduce: Inject a frame on a mac80211 hwsim monitor > interface and > have tshark sniffing on this

[PATCH v2] mac80211: enable to inject a-msdu frames using monitor interface

2016-10-10 Thread Michael Braun
Problem: When injecting an A-MSDU using a PF_PACKET socket, the qos flag IEEE80211_QOS_CTL_A_MSDU_PRESENT is cleared. How to reproduce: Inject a frame on a mac80211 hwsim monitor interface and have tshark sniffing on this monitor interface. You'll see the packet twice: Once with correct flag and