Question regarding verifying TXQ parameters
Phani Siriki
yvsg.phanis at gmail.com
Tue Feb 20 12:50:54 PST 2018
Hi All
Could someone help me in answering following question on setting and
verifying of TXQ parameters?
1. How can we verify whether the TXQ parameters set in conf file are
properly configured or not?
2. iw scan command doesn't show WMM parameters when non-default TXQ
parameters are set.
I am using mininet-wifi to simulate the test.
Please find my configuration below.
ap1 = net.addAccessPoint( 'ap1', ssid= 'new-ssid', mode= 'g', channel=
'1', position='40,40,0', range=20,
config='tx_queue_data0_cwmin=15,tx_queue_data0_cwmax=1023,tx_queue_data0_aifs=1,tx_queue_data0_burst=1.5)
wifi at wifi-VirtualBox:~/Downloads$ cat mn10203_ap1-wlan1.apconf
interface=ap1-wlan1
driver=nl80211
ssid=new-ssid
wds_sta=1
hw_mode=g
channel=1
tx_queue_data0_cwmin=15
tx_queue_data0_cwmax=1023
tx_queue_data0_aifs=1
tx_queue_data0_burst=1.5
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
mininet-wifi> ap1 iw dev ap1-wlan1 info
Interface ap1-wlan1
ifindex 195
wdev 0x4400000001
addr 02:00:00:00:02:00
ssid new-ssid
type AP
wiphy 68
channel 1 (2412 MHz), width: 20 MHz (no HT), center1: 2412 MHz
txpower 20.00 dBm
mininet-wifi>
mininet-wifi>
Output when Non-default TXQ parameters are set:
=======================================
mininet-wifi> sta1 iw dev sta1-wlan0 scan
-------------------> sta1 is associated to ap1
BSS 02:00:00:00:02:00(on sta1-wlan0) -- associated
TSF: 0 usec (0d, 00:00:00)
freq: 2412
beacon interval: 100 TUs
capability: ESS ShortSlotTime (0x0401)
signal: -30.00 dBm
last seen: 0 ms ago
Information elements from Probe Response frame:
SSID: new-ssid
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 1
ERP: Barker_Preamble_Mode
Extended supported rates: 24.0 36.0 48.0 54.0
Extended capabilities: Extended Channel Switching, 6
--------> No WMM parameters are displayed
BSS 02:00:00:00:04:00(on sta1-wlan0)
TSF: 0 usec (0d, 00:00:00)
freq: 2412
beacon interval: 100 TUs
capability: ESS ShortSlotTime (0x0401)
signal: -30.00 dBm
last seen: 0 ms ago
Information elements from Probe Response frame:
SSID: new-ssid
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 1
ERP: Barker_Preamble_Mode
Extended supported rates: 24.0 36.0 48.0 54.0
Extended capabilities: Extended Channel Switching, 6
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
Output when default TXQ parameters (No parameter setting on hostap conf file):
==================================
wifi at wifi-VirtualBox:~/Downloads$ cat mn10851_ap1-wlan1.apconf
interface=ap1-wlan1
driver=nl80211
ssid=new-ssid
wds_sta=1
hw_mode=g
channel=1
wme_enabled=1
wmm_enabled=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
mininet-wifi> sta1 iw dev sta1-wlan0 scan
BSS 02:00:00:00:02:00(on sta1-wlan0) -- associated
TSF: 0 usec (0d, 00:00:00)
freq: 2412
beacon interval: 100 TUs
capability: ESS ShortSlotTime (0x0401)
signal: -30.00 dBm
last seen: 0 ms ago
Information elements from Probe Response frame:
SSID: new-ssid
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 1
ERP: Barker_Preamble_Mode
Extended supported rates: 24.0 36.0 48.0 54.0
Extended capabilities: Extended Channel Switching, 6
WMM: * Parameter version 1
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
.
Initially all parameters values are set same and later changed again.
Logs:
=====
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.346025] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=0 txop=0 cw_min=15 cw_max=1023
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.346026] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=1 txop=0 cw_min=15 cw_max=1023
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.346028] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=2 txop=0 cw_min=15 cw_max=1023
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.346029] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=3 txop=0 cw_min=15 cw_max=1023
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.346031] ieee80211
mn00s02: mac80211_hwsim_bss_info_changed(changed=0x2000
vif->addr=02:00:00:00:02:00)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522607] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=0 txop=47 cw_min=3 cw_max=7
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522609] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=1 txop=94 cw_min=7 cw_max=15
aifs=2)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522610] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=2 txop=0 cw_min=15 cw_max=1023
aifs=3)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522612] ieee80211
mn00s02: mac80211_hwsim_conf_tx (queue=3 txop=0 cw_min=15 cw_max=1023
aifs=7)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522613] ieee80211
mn00s02: mac80211_hwsim_bss_info_changed(changed=0x2000
vif->addr=02:00:00:00:02:00)
Feb 20 13:13:41 wifi-VirtualBox kernel: [12439.522667] ieee80211
mn00s02: mac80211_hwsim_configure_filter
Best Regards
Phani
More information about the Hostap
mailing list