You are not logged in.

#1 2012-07-17 06:38:31

tboliu
Member
Registered: 2012-07-17
Posts: 8

How to use the command 'iwpriv'?

I have a wireless card TL-WN821N, it uses the driver of ath9k_htc which is built in the latest linux kernel of 3.2.0-23.
It works fine,but now i want to config some parameters with the command iwpriv .While i input the "iwpriv ",it returns to me"wlan0 no private ioctls".
what should i do? Is Anyone can help me ?thks
ps,i need to reconfig the tx-chainmask/rx-chainmask,and the A-mpdu...

Last edited by tboliu (2012-07-17 06:39:00)

Offline

#2 2012-07-17 08:05:52

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: How to use the command 'iwpriv'?

Welcome to the forums.

I'm not familiar with iwpriv, but you can also set the tx_chainmask and rx_chainmask using the method indicated here.


Burninate!

Offline

#3 2012-07-17 09:24:39

tboliu
Member
Registered: 2012-07-17
Posts: 8

Re: How to use the command 'iwpriv'?

thanks very much and i'll check the debug page smile

Gcool wrote:

Welcome to the forums.

I'm not familiar with iwpriv, but you can also set the tx_chainmask and rx_chainmask using the method indicated here.

Offline

#4 2012-07-17 09:27:35

tboliu
Member
Registered: 2012-07-17
Posts: 8

Re: How to use the command 'iwpriv'?

Need more help with the problem "no private ioctls":)

Offline

#5 2012-07-17 10:59:55

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: How to use the command 'iwpriv'?

There is no problem, the message is fully correct - there aren't any private ioctls. Wireless extensions, which are based on ioctls, are deprecated. Drivers nowadays use netlink, not wext. Which means iwpriv is an outdated tool.
The only reason iwconfig and iwlist still work is because of a wext compatibility layer in the netlink-based wireless stack, but this layer won't be around forever.

Offline

#6 2012-07-17 11:38:57

tboliu
Member
Registered: 2012-07-17
Posts: 8

Re: How to use the command 'iwpriv'?

Thks very much!!
By the way ,is there any other ways replaced the iwpriv?
If i'm going to configure the Radio layer,such as enable/disable transmit AMPDU aggregation(it can be configured by iwpriv"iwpriv wifiN AMPDU 1|0"),
and the tx/rx_chainmask can be set by the command"iwpriv athN tx/rx_chainmask mask"...what shall i do?
i think the iwpriv command is really powerful,what a pity~
smile

Gusar wrote:

There is no problem, the message is fully correct - there aren't any private ioctls. Wireless extensions, which are based on ioctls, are deprecated. Drivers nowadays use netlink, not wext. Which means iwpriv is an outdated tool.
The only reason iwconfig and iwlist still work is because of a wext compatibility layer in the netlink-based wireless stack, but this layer won't be around forever.

Last edited by tboliu (2012-07-18 02:36:51)

Offline

#7 2012-07-18 01:25:31

tboliu
Member
Registered: 2012-07-17
Posts: 8

Re: How to use the command 'iwpriv'?

Hi,anyone can help me the other way replace the iwpriv, if i want to configure the radio layer..  smile

Offline

Board footer

Powered by FluxBB