Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
Could someone clarify this?
Best Regards
Phani
From: Thomas Pedersen <hidden> Date: 2018-03-07 05:59:28
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
Could someone help me on this?
On Wed, Mar 7, 2018 at 10:39 AM, Phani Siriki [off-list ref] wrote:
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
From: Thomas Pedersen <hidden> Date: 2018-03-15 22:31:31
On Wed, Mar 7, 2018 at 8:39 AM, Phani Siriki [off-list ref] wrote:
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
try
$ iw mesh0 mpath dump
The mpath queue length is under the "QLEN" heading.
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
I don't think there is any reason modifying the queue parameters wouldn't work
in mesh mode. Why don't you hack up that code and give it a try.
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
Thanks Thomas. I will try to hack the code and let you know.
Best Regards
Phani
On Thu, Mar 15, 2018 at 5:31 PM, Thomas Pedersen [off-list ref] wrote:
On Wed, Mar 7, 2018 at 8:39 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
try
$ iw mesh0 mpath dump
The mpath queue length is under the "QLEN" heading.
quoted
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
I don't think there is any reason modifying the queue parameters wouldn't work
in mesh mode. Why don't you hack up that code and give it a try.
quoted
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
Hi Thomas
I modified the code and tried to set the TXQ parameters for mesh
interface. I didn't observe any error.
However, I modified the ath9k driver code to verify default TXQ
parameters. But I am observing same values for all the queues and the
cwmin is looks different.
To my understanding, the configured parameters using netlink library
will get effect in driver queues..
nl80211 - cfg80211 - mac80211 - ath9k
Could you please let me know if I am doing something wrong.
wifi@wifi-VirtualBox:~/chaos/get_txq_code/chaos_calmer-15.05.1/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/compat-wireless-2015-03-09$
quilt diff
Index: compat-wireless-2015-03-09/drivers/net/wireless/ath/ath9k/debug.c
===================================================================
Thanks Thomas. I will try to hack the code and let you know.
Best Regards
Phani
On Thu, Mar 15, 2018 at 5:31 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Wed, Mar 7, 2018 at 8:39 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
try
$ iw mesh0 mpath dump
The mpath queue length is under the "QLEN" heading.
quoted
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
I don't think there is any reason modifying the queue parameters wouldn't work
in mesh mode. Why don't you hack up that code and give it a try.
quoted
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas
Hi Thomas
I am able to see the correct values after I enable the wifi interface
and with the following changes.
Index: compat-wireless-2015-03-09/drivers/net/wireless/ath/ath9k/debug.c
===================================================================
Hi Thomas
I modified the code and tried to set the TXQ parameters for mesh
interface. I didn't observe any error.
However, I modified the ath9k driver code to verify default TXQ
parameters. But I am observing same values for all the queues and the
cwmin is looks different.
To my understanding, the configured parameters using netlink library
will get effect in driver queues..
nl80211 - cfg80211 - mac80211 - ath9k
Could you please let me know if I am doing something wrong.
wifi@wifi-VirtualBox:~/chaos/get_txq_code/chaos_calmer-15.05.1/build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-ar71xx_generic/compat-wireless-2015-03-09$
quilt diff
Index: compat-wireless-2015-03-09/drivers/net/wireless/ath/ath9k/debug.c
===================================================================
Thanks Thomas. I will try to hack the code and let you know.
Best Regards
Phani
On Thu, Mar 15, 2018 at 5:31 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Wed, Mar 7, 2018 at 8:39 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi Thomas
Thank you for your reply.
Could you please let me know how can I verify these queues on a mesh
router? (I am using TPLink router with Ath9k chipset).
try
$ iw mesh0 mpath dump
The mpath queue length is under the "QLEN" heading.
quoted
Also, the TXQ parameters can only be set if device is in AP or P2P
mode. Do you have any idea why this restriction is in place?
I don't think there is any reason modifying the queue parameters wouldn't work
in mesh mode. Why don't you hack up that code and give it a try.
quoted
https://github.com/torvalds/linux/blob/master/net/wireless/nl80211.c
static int nl80211_set_wiphy(struct sk_buff *skb, struct genl_info *info)
{
if (info->attrs[NL80211_ATTR_WIPHY_TXQ_PARAMS]) {
....
if (netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_AP &&
netdev->ieee80211_ptr->iftype != NL80211_IFTYPE_P2P_GO)
return -EINVAL;
...
}
Best Regards
Phani
On Tue, Mar 6, 2018 at 11:59 PM, Thomas Pedersen [off-list ref] wrote:
quoted
On Thu, Mar 1, 2018 at 7:27 AM, Phani Siriki [off-list ref] wrote:
quoted
Hi All
I am trying to understand the queuing mechanism wireless mesh networks.
As per AP mode is concerned, there are four queues (BK, BE, Vi, VO)
and traffic is controlled based on CWmin, CWmax, AIFS and TxOP.
Does, mesh mode also involve these queues? Does mesh mode have any
queue or it is just a single queue?
mesh mode maps to the different ACs like AP mode. The only additional
queue in mesh is the mpath->frame_queue, which may be used if an
active mpath for a given RA can't be found.
--
thomas