Hi All,
If I use VAP with WEP encryption and trying to monitor 802.11 frames on madwifi_old and madwifi_ng (last stable versions) on monitor interfaces (ath1 or ath0raw in example) I receive not raw but decrypted packets.
But on madwifi_old (20060124) everything is ok and I can get raw packets without decryption.
madwifi_ng
wlanconfig ath0 create wlandev wifi0 mode ap
wlanconfig ath1 create wlandev wifi0 mode monitor
iwconfig ath0 essid foo channel 1 key open s:12345
madwifi_old
iwconfig ath0 essid foo channel 1 key open s:12345 mode master
echo 1 > /proc/sys/dev/ath0/rawdev
echo 1 > /proc/sys/dev/ath0/rawdev_type