Search Linux Wireless

mac80211_hwsim: wrong tx/rx bitrate when width != 20MHz

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

 



I'm running 2 virtual interfaces: one in master mode with hostapd
(802.11n in 40MHz) and the other one in managed mode.

I can confirm that the AP is working on 40MHz:

ap1 iw dev ap1-wlan1 info
Interface ap1-wlan1
ifindex 221
wdev 0x6c00000001
addr 02:00:00:00:02:00
ssid new-ssid
type AP
wiphy 108
channel 3 (2422 MHz), width: 40 MHz, center1: 2432 MHz
txpower 14.00 dBm

as well as the client:

sta1 iw dev sta1-wlan0 info
Interface sta1-wlan0
ifindex 219
wdev 0x6a00000001
addr 00:00:00:00:00:02
ssid new-ssid
type managed
wiphy 106
channel 3 (2422 MHz), width: 40 MHz, center1: 2432 MHz
txpower 14.00 dBm

However, tx/rx bitrates of the client are not equivalent to the 40 MHz
channels. Only the MCS index seems to be ok and I can change it via
iw.

sta1 iw dev sta1-wlan0 link
Connected to 02:00:00:00:02:00 (on sta1-wlan0)
SSID: new-ssid
freq: 2422
RX: 1199869 bytes (12752 packets)
TX: 4055 bytes (41 packets)
signal: -14 dBm
rx bitrate: 6.0 MBit/s
tx bitrate: 39.0 MBit/s MCS 4
bss flags: short-slot-time
dtim period: 2
beacon int: 100

For some reason I can see the correct tx/rx bitrate right at the
beginning of the association (e.g. tx bitrate: 270.0 MBit/s MCS 15
40MHz), but right after that they change to 20 MHz. I have been trying
to identify errors in mac80211_hwsim, but I was not successful. Can
anybody help me? I did tests with/without wmediumd and the results are
the same.

--
Ramon Fontes



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

  Powered by Linux