Stop writing a bogus IEEE80211_RADIOTAP_DBM_TX_POWER field.
authorscottr <scottr@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 10 Dec 2007 23:13:33 +0000 (23:13 +0000)
committerscottr <scottr@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Mon, 10 Dec 2007 23:13:33 +0000 (23:13 +0000)
commit91fcb5214de6b5b3c2351b8f680fc4f3b9886912
tree53aa7170f530b7c60ba8b6a1e839379b6438cc7f
parent45c427d337fd769e70c34d768471f91459f36f10
Stop writing a bogus IEEE80211_RADIOTAP_DBM_TX_POWER field.

We were setting this field to 0 as we had no easy way of determining
what TX power was used to transmit a frame. However, by including this
field and setting it to 0dBm we are saying that each frame is being
transmitted at 1mW, which is incorrect. Better to simply not write the
field at all, however this introduces the need for padding in the TX
header to ensure that the TX_FLAGS field is aligned to a 16-bit
boundary.

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3014 0192ed92-7a03-0410-a25b-9323aeb14dbd
net80211/ieee80211_monitor.c
net80211/ieee80211_monitor.h