linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Query on iw command to set txq params
@ 2017-09-21 18:01 Phani Siriki
  2017-09-28 15:36 ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Phani Siriki @ 2017-09-21 18:01 UTC (permalink / raw)
  To: linux-wireless

Hi All

I am trying to apply the path mentioned below to set txq params using
iw command.

http://www.spinics.net/lists/linux-wireless/msg42585.html

But I am getting below error.

root@teste-VirtualBox:~/old_iw/iw-0.9.17# ./iw list | grep Wiphy
Wiphy mn00s05
Wiphy mn00s04
Wiphy mn00s03
Wiphy mn00s02
root@teste-VirtualBox:~/old_iw/iw-0.9.17#
root@teste-VirtualBox:~/old_iw/iw-0.9.17#
root@teste-VirtualBox:~/old_iw/iw-0.9.17#
root@teste-VirtualBox:~/old_iw/iw-0.9.17# ./iw --debug phy mn00s03 set
txq_params 1
configuring TX queue for VI
-- Debug: Received Message:
--------------------------   BEGIN NETLINK MESSAGE ---------------------------
  [HEADER] 16 octets
    .nlmsg_len = 96
    .nlmsg_type = 2 <ERROR>
    .nlmsg_flags = 0 <>
    .nlmsg_seq = 1506013146
    .nlmsg_pid = 5328
  [ERRORMSG] 20 octets
    .error = -22 "Invalid argument"
  [ORIGINAL MESSAGE] 16 octets
    .nlmsg_len = 16
    .nlmsg_type = 30 <0x1e>
    .nlmsg_flags = 5 <REQUEST,ACK>
    .nlmsg_seq = 1506013146
    .nlmsg_pid = 5328
---------------------------  END NETLINK MESSAGE   ---------------------------
command failed: Invalid argument (-22)
root@teste-VirtualBox:~/old_iw/iw-0.9.17#

I am using mininet wifi to create topology with 4 APs.

Could someone suggest how to proceed on this?

Best Regards
Phani

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Query on iw command to set txq params
  2017-09-21 18:01 Query on iw command to set txq params Phani Siriki
@ 2017-09-28 15:36 ` Johannes Berg
  2017-09-28 15:40   ` Phani Siriki
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2017-09-28 15:36 UTC (permalink / raw)
  To: Phani Siriki, linux-wireless

On Thu, 2017-09-21 at 13:01 -0500, Phani Siriki wrote:
> Hi All
> 
> I am trying to apply the path mentioned below to set txq params using
> iw command.
> 
> http://www.spinics.net/lists/linux-wireless/msg42585.html

The patch is wrong (now?), it needs to use the *netdev* not just the
wiphy.

johannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Query on iw command to set txq params
  2017-09-28 15:36 ` Johannes Berg
@ 2017-09-28 15:40   ` Phani Siriki
  2017-09-28 15:52     ` Johannes Berg
  0 siblings, 1 reply; 5+ messages in thread
From: Phani Siriki @ 2017-09-28 15:40 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

Hi Johannes Berg

Thank you for your reply.

Could you please point me to any reference implementation I can check
to make the correct modification?

Best Regards
Phani

On Thu, Sep 28, 2017 at 10:36 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Thu, 2017-09-21 at 13:01 -0500, Phani Siriki wrote:
>> Hi All
>>
>> I am trying to apply the path mentioned below to set txq params using
>> iw command.
>>
>> http://www.spinics.net/lists/linux-wireless/msg42585.html
>
> The patch is wrong (now?), it needs to use the *netdev* not just the
> wiphy.
>
> johannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Query on iw command to set txq params
  2017-09-28 15:40   ` Phani Siriki
@ 2017-09-28 15:52     ` Johannes Berg
  2017-09-28 16:08       ` Phani Siriki
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Berg @ 2017-09-28 15:52 UTC (permalink / raw)
  To: Phani Siriki; +Cc: linux-wireless

On Thu, 2017-09-28 at 10:40 -0500, Phani Siriki wrote:
> Hi Johannes Berg
> 
> Thank you for your reply.
> 
> Could you please point me to any reference implementation I can check
> to make the correct modification?

Why don't you just set it in hostapd?

johannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Query on iw command to set txq params
  2017-09-28 15:52     ` Johannes Berg
@ 2017-09-28 16:08       ` Phani Siriki
  0 siblings, 0 replies; 5+ messages in thread
From: Phani Siriki @ 2017-09-28 16:08 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-wireless

Hi Johannes Berg

I am trying to change the parameters for wireless mesh backbone
router. Is hostapd used for AP type configuration?

Best Regards
Phani

On Thu, Sep 28, 2017 at 10:52 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:
> On Thu, 2017-09-28 at 10:40 -0500, Phani Siriki wrote:
>> Hi Johannes Berg
>>
>> Thank you for your reply.
>>
>> Could you please point me to any reference implementation I can check
>> to make the correct modification?
>
> Why don't you just set it in hostapd?
>
> johannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-28 16:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 18:01 Query on iw command to set txq params Phani Siriki
2017-09-28 15:36 ` Johannes Berg
2017-09-28 15:40   ` Phani Siriki
2017-09-28 15:52     ` Johannes Berg
2017-09-28 16:08       ` Phani Siriki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).