Hi,
I have Linksys WRT54GL with OpenWRT 8.09 (2.4 with broadcom wireless driver). I need to read RSSI field from wifi packets. I know, it is possible with core 2.6 and another driver, but I need to use broadcom proprietary driver capabilities, like antenna switching.
In 2.4 i have created the monitor interface using this config:
/etc/config/wireless:
config wifi-device wl0
option type broadcom
option channel 11
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0
config wifi-iface
option device wl0
option network lan
option mode ap
option ssid testWL
option encryption none
config wifi-iface
option device wl0
option mode monitor
Access point is working, but sniffers like tcpdump can't capture packets from monitor interface wl0.1
From interace wl0 packets can be captured but rssi can not be read.
root@OpenWrt:/tmp# ./tcpdump -i wl0 -L
Data link types (use option -y to set):
DOCSIS (DOCSIS) (not supported)
EN10MB (Ethernet)
root@OpenWrt:/tmp#
It looks like wire ethernet.
If I'm trying to turn on monitor mode on wl0, and then run iwconfig, router is rebooting.
wlc monitor 1
iwconfig
On 8.09 2.6 it is possible to create monitor interface, and tcpdump can read rssi from it.
root@OpenWrt:/tmp# ./tcpdump -i wscan -L
Data link types (use option -y to set):
IEEE802_11_RADIO (802.11 plus BSD radio information header)
root@OpenWrt:/tmp#
What am I doing wrong?
Is it possible to create the same monitor interface on OpenWRT 2.4?
Thanks in advance.