detect data rate of p2p connection

Chao Xu caesarxuchao at
Tue May 14 16:56:14 EDT 2013


I connect my two computers via wifi p2p. The driver I use is carl9170.
Is it possible to check the tx data rate? Regular commands such as
"iwconfig" or "iwlist wlan0" doesn't work. So I checked the debug
messages printed out by wpa_supplicant. It only showed the supported
 RATE[0] rate=60 flags=0x1
 RATE[1] rate=90 flags=0x0
 RATE[2] rate=120 flags=0x1
 RATE[3] rate=180 flags=0x0
 RATE[4] rate=240 flags=0x1
 RATE[5] rate=360 flags=0x0
 RATE[6] rate=480 flags=0x0
 RATE[7] rate=540 flags=0x0
I guess it means the data rate is in the range of 6-54Mbps, am I
right? Anyway, is it possible to get the actual data rate my adapter
is working at?
Chao Xu

More information about the HostAP mailing list