Re: [ath9k-devel] [ath5k-devel] [PATCH 2/2] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-17 Thread Johannes Berg
> Virtual box did the job and I found 3 drivers that somehow did not > complain in my OpenWRT build env... thx for not playing :)... v3 is out. See, that's why I don't want to play the game -- I could've gone back and forth with you for like a week over multiple compile failures :-) > I used wir

[ath9k-devel] Continuous Transmit

2012-07-17 Thread శ్రీధర్
I'm working on trying to make the continuous transmit function that was implemented in the madwifi driver code ( http://madwifi-project.org/browser/madwifi/trunk/ath/if_ath.c#L11631) working in the ath9k driver, has anyone ported this and had any success? My goal is to set my ath9k card in CT Mode

Re: [ath9k-devel] 5 and 10 Mhz Bandwidth support using ath9k

2012-07-17 Thread Mohammed Shafi
Hi, On Tue, Jul 17, 2012 at 9:52 PM, John Clark wrote: > I'm looking for what is needed to support these narrow bandwidths using the > ar9K series chips. > > There was a couple of posts early in January in regard to 'patches' that > someone had for the OpenWRT environment, and I'm trying to fin

[ath9k-devel] regarding netlink query to wireless interface

2012-07-17 Thread abhinav narain
hi, When looking at iw, I see packet counts four times the actual data packets from a wireless device, iw uses netling sockets with NL80211_STA_INFO_RX_PACKETS macro for collecting packets. I want to know what all packets are included in these ? Nothing explains to me the huge ratio between the i

Re: [ath9k-devel] [ath5k-devel] [PATCH 2/2] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-17 Thread Thomas Huehn
Hi Johannes, > No, I'm not going to play that game. Make sure it compiles on > wireless-next. Virtual box did the job and I found 3 drivers that somehow did not complain in my OpenWRT build env... thx for not playing :)... v3 is out. I used wireless-testing and not -next,as in -next the necessa

[ath9k-devel] [PATCH v3 1/2] mac80211_hwsim: fix possible race condition in usage of info->control.sta & control.vif

2012-07-17 Thread Thomas Huehn
info->control.sta and control.vif may only be dereferenced during the drv_tx call otherwise could lead to use-after-free bugs. Signed-off-by: Thomas Huehn --- drivers/net/wireless/mac80211_hwsim.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/dr

[ath9k-devel] [PATCH v3 0/0] mac80211: Restructure ieee80211_tx_info->control to gain free space along tx-path

2012-07-17 Thread Thomas Huehn
In order to enable new annotations per data packet along the max80211 tx-path, (e.g. upcoming Transmit Power Control (TPC) per packet) this patch-serie does: - fix the ieee80211_tx_info->control usage in driver mac80211_hwsim - remove control.sta from ieee80211_tx_info and adapt all affected drive

[ath9k-devel] [PATCH v2 0/0] mac80211: Restructure ieee80211_tx_info->control to gain free space along tx-path

2012-07-17 Thread Thomas Huehn
In order to enable new annotations per data packet along the max80211 tx-path, (e.g. upcoming Transmit Power Control (TPC) per packet) this patch-serie does: - fix the ieee80211_tx_info->control usage in driver mac80211_hwsim - remove control.sta from ieee80211_tx_info and adapt all affected drive

[ath9k-devel] [PATCH v2 0/0 1/2] mac80211_hwsim: fix possible race condition in usage of info->control.sta & control.vif

2012-07-17 Thread Thomas Huehn
info->control.sta and control.vif may only be dereferenced during the drv_tx call otherwise could lead to use-after-free bugs. Signed-off-by: Thomas Huehn --- drivers/net/wireless/mac80211_hwsim.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/dr

[ath9k-devel] 5 and 10 Mhz Bandwidth support using ath9k

2012-07-17 Thread John Clark
I'm looking for what is needed to support these narrow bandwidths using the ar9K series chips. There was a couple of posts early in January in regard to 'patches' that someone had for the OpenWRT environment, and I'm trying to find out more. I'll take anyone's 'patches' and see if I can work wi

Re: [ath9k-devel] Regarding custom IE support in management frames

2012-07-17 Thread �R�� ��之
Hi Chen, Thank you so much for your reply. I took a look at documentation of iw command and "iw help". If my understanding is correct, iw command can set channels, frequencies, country codes etc. But it can't set custom( vendor specific ) information element in management frames... Is my understa

[ath9k-devel] question about bluetooth coexistence

2012-07-17 Thread jimy
hello, having a lot of interruptions and packet loss in voip communication if i use a bluetooth headset and am connected via wireless at the same time i became interested in bluetooth coexistence on ath9k. i compiled the kernel (3.4.4) with btcoex and loaded the ath9k module with btcoex_enable=1

Re: [ath9k-devel] how can i use the command iwpriv to config the ath9k_htc

2012-07-17 Thread Guido Iribarren
Try "iw" command. See Matt Chen recent post in another thread for more info. On 7/17/12, liubonan...@bupt.edu.cn wrote: > hi, >  I have a wireless card TL-WN821N,it works fine on my ubuntu 12.04. > But i need to config some parameters of the card ,like the tx/rx-chainmask, > when i input the comm

[ath9k-devel] ath9k_htc issue

2012-07-17 Thread Bryan Kemp
All, I am experiencing the issue described in this old set of messages: http://comments.gmane.org/gmane.linux.drivers.ath9k.devel/7553 I can not find any references as to whether this is resolved or not. I am building a system based on the raspberry pi board, and I very much would like to use t

Re: [ath9k-devel] Regarding custom IE support in management frames

2012-07-17 Thread Matt Chen
Hi �R�� ��之, There is a command called "iw". It can work with a log parameters, I think it can do what you'd like to do. If you don't know where the command is, just have a look in http://wireless.kernel.org/en/users/Documentation/iw/#About_iw. Hope it helps. :) 2012/7/17 �R�� ��之 : > Dear all, >

[ath9k-devel] how can i use the command iwpriv to config the ath9k_htc

2012-07-17 Thread
hi, I have a wireless card TL-WN821N,it works fine on my ubuntu 12.04.But i need to config some parameters of the card ,like the tx/rx-chainmask, when i input the command iwpriv ,it turns out to me "wlan0   no private ioctls"what should i do? thks___ ath9

Re: [ath9k-devel] [ath5k-devel] [PATCH 2/2] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-17 Thread Johannes Berg
On Tue, 2012-07-17 at 14:57 +0200, Thomas Huehn wrote: > > Ok first of all, please actually compile the tree after your changes. It > > doesn't. When it does, please fix > > I always do compile the compat-wireless-tree after changes I introduce, > and it compiles without errors in the case of thi

Re: [ath9k-devel] [ath5k-devel] [PATCH 2/2] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-17 Thread Thomas Huehn
Hi Johannes, Johannes Berg schrieb: > Ok first of all, please actually compile the tree after your changes. It > doesn't. When it does, please fix I always do compile the compat-wireless-tree after changes I introduce, and it compiles without errors in the case of this mac80211:sta-remove patch.

[ath9k-devel] Regarding custom IE support in management frames

2012-07-17 Thread 馬場 寛之
Dear all, I have a question about custom information element. I would like to add cunstom information element to management frames ( beacon, probe request/response ) for the purpose of research. I think madwifi could do this with IOCTL interface. ( http://madwifi-project.org/ticket/517 ) But I d

Re: [ath9k-devel] [PATCH 2/2] mac80211: Remove control.sta from struct ieee80211_tx_info and restructure tx-path

2012-07-17 Thread Johannes Berg
Ok first of all, please actually compile the tree after your changes. It doesn't. When it does, please fix 1) line length in the commit log should be < 72 chars 2) indentation in mac80211.h 3) removal of an important comment in mac80211.h that I pointed out in previous review > The tx-path