Re: [ath9k-devel] modifying priority of UDP packets

2013-05-24 Thread abhinav narain
Well, I don't want to do it in the driver, if possible in mac80211 itself. I looked into net/mac80211/, but I did not find any specific hint where the TOS field is checked and subsequent allocation takes place. Any hint will be greatly appreciated ! - Abhinav On Thu, May 23, 2013 at 7:07 PM,

Re: [ath9k-devel] How to set a scan with ath9k driver

2013-05-24 Thread Francisco Cuesta
HEllo Mohammend, thanks for replying your sequence was really helpful 2013/5/22 Mohammed Shafi Shajakhan moham...@qca.qualcomm.com: On Wed, May 22, 2013 at 02:12:13PM +0200, Francisco Cuesta wrote: Hello, I would like to know whether someone might point out where a sta-mode scan in ath9k

Re: [ath9k-devel] How to set a scan with ath9k driver

2013-05-24 Thread Matt Chen
INIT_DELAYED_WORK(local-scan_work, ieee80211_scan_work); So it would do void ieee80211_scan_work(struct work_struct *work) {. 2013/5/24 Francisco Cuesta ndarkn...@gmail.com HEllo Mohammend, thanks for replying your sequence was really helpful 2013/5/22 Mohammed Shafi Shajakhan

[ath9k-devel] [PATCH v4 1/3] mac80211: add STBC flag for radiotap

2013-05-24 Thread Oleksij Rempel
Some chips can tell us if received frame was encoded with STBC or not. To make this information available in user space we can use updated radiotap specification: http://www.radiotap.org/defined-fields/MCS This patch will set number of STBC encoded spatial streams (Nss). The HAVE_STBC flag should

Re: [ath9k-devel] [PATCH v4 1/3] mac80211: add STBC flag for radiotap

2013-05-24 Thread Johannes Berg
On Fri, 2013-05-24 at 12:05 +0200, Oleksij Rempel wrote: Some chips can tell us if received frame was encoded with STBC or not. To make this information available in user space we can use updated radiotap specification: http://www.radiotap.org/defined-fields/MCS This patch will set number

Re: [ath9k-devel] [PATCH v4 1/3] mac80211: add STBC flag for radiotap

2013-05-24 Thread Oleksij Rempel
Am 24.05.2013 12:08, schrieb Johannes Berg: On Fri, 2013-05-24 at 12:05 +0200, Oleksij Rempel wrote: Some chips can tell us if received frame was encoded with STBC or not. To make this information available in user space we can use updated radiotap specification:

[ath9k-devel] [PATCH 0/2] ath9k: STBC Rx monitoring

2013-05-24 Thread Oleksij Rempel
this are two remaining patches to allow STBC Rx monitoring on ath9k devices. This patches depend on currently applied: [PATCH v4 1/3] mac80211: add STBC flag for radiotap Oleksij Rempel (2): ath9k: remove useless flag conversation. ath9k: check for Rx-STBC flag and pass it to ieee80211

[ath9k-devel] [PATCH 1/2] ath9k: remove useless flag conversation.

2013-05-24 Thread Oleksij Rempel
some flags used only outside of ath9k - In this case we can use enum mac80211_rx_flags and pass it upstream without extra conversation. Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/ar9003_mac.c | 5 +++-- drivers/net/wireless/ath/ath9k/mac.c|

[ath9k-devel] [PATCH 2/2] ath9k: check for Rx-STBC flag and pass it to ieee80211

2013-05-24 Thread Oleksij Rempel
Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/init.c | 9 +++-- drivers/net/wireless/ath/ath9k/mac.c | 5 + drivers/net/wireless/ath/ath9k/mac.h | 3 ++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git

Re: [ath9k-devel] [PATCH 2/2] ath9k: check for Rx-STBC flag and pass it to ieee80211

2013-05-24 Thread Johannes Berg
On Fri, 2013-05-24 at 12:18 +0200, Oleksij Rempel wrote: Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/init.c | 9 +++-- drivers/net/wireless/ath/ath9k/mac.c | 5 + drivers/net/wireless/ath/ath9k/mac.h | 3 ++- 3 files changed, 14

Re: [ath9k-devel] [PATCH 2/2] ath9k: check for Rx-STBC flag and pass it to ieee80211

2013-05-24 Thread Oleksij Rempel
Am 24.05.2013 12:29, schrieb Johannes Berg: On Fri, 2013-05-24 at 12:18 +0200, Oleksij Rempel wrote: Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/init.c | 9 +++-- drivers/net/wireless/ath/ath9k/mac.c | 5 +

Re: [ath9k-devel] [PATCH 2/2] ath9k: check for Rx-STBC flag and pass it to ieee80211

2013-05-24 Thread Oleksij Rempel
Am 24.05.2013 12:18, schrieb Oleksij Rempel: Signed-off-by: Oleksij Rempel li...@rempel-privat.de --- drivers/net/wireless/ath/ath9k/init.c | 9 +++-- drivers/net/wireless/ath/ath9k/mac.c | 5 + drivers/net/wireless/ath/ath9k/mac.h | 3 ++- 3 files changed, 14 insertions(+), 3