Hello Everyone,
Since I updated my Kernel to the current version 4.9 I don't get my tx
packets dumped in monitor mode. That worked at least with the old 4.1
Kernel.
That problem seems to have to do with IEEE80211_TX_CTL_REQ_TX_STATUS. In
the xmit.c of the ath9k driver only packets with that flag are passed on
to ieee80211_tx_status and otherwise to ieee80211_tx_status_noskb.
So if that flag is not set that packet won't get to the monitor
interface in mac80211.
My solution was to add that flag in ieee80211_xmit:
if (local->monitors)
{
info->flags |= IEEE80211_TX_CTL_REQ_TX_STATUS;
}
I'm not sure if that is the right position or if I'm missing something else.
Thanks,
Thomas