Search Linux Wireless

mac80211 / ath9k / Monitor Mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux