Re: [ath9k-devel] Probe Request and Probe Response Frames

2012-04-26 Thread Mohammed Shafi
On Thu, Apr 26, 2012 at 10:56 AM, J. C. Jones jaibudu...@gmail.com wrote: Hi All, This is my first post to the list. Where in the source tree might I find code for sending probe request frames? net/mac80211/util.c Also, in your experience, do typical Wi-Fi chips honor t probe request

Re: [ath9k-devel] Transmitter Independent of Receiver

2012-04-26 Thread Mohammed Shafi
On Thu, Apr 26, 2012 at 11:00 AM, J. C. Jones jaibudu...@gmail.com wrote: Hi All, I searched in vain for real data sheets (as you all know) for “typical” Wi-Fi chips to determine which designs permit simultaneous, independent transmission and reception. For example, the transmitter would be

Re: [ath9k-devel] does the ath9k support WiFi Direct?

2012-04-26 Thread Mohammed Shafi
2012/4/26 万青松 wanqingsong_1...@126.com: It have been nearly 4 months after I send the question to the list, but nobody reply to it. So, bro, all up to you. I will look for your good news! please wait, i would search for it or check with some experts and tell :) At 2012-04-26 05:58:02,Arash

Re: [ath9k-devel] TL-WN811N - (AR5416) cardbus adapter

2012-04-17 Thread Mohammed Shafi
On Wed, Apr 18, 2012 at 3:19 AM, Alex Buell alex.bu...@munted.eu wrote: Hi! Hi Alex, Initially when I started using the TL-WN811N card (AR5416 chipset) with the ath9k driver, it didn't show any lights on the card, even though it worked perfectly. Then I found in the documentation that one

[ath9k-devel] [WIP 03/11] ath9k_hw: Add WoW hardware capability flags

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com have seperate wow capability flags for *basic wow support *device capable of matching exact user defined pattern or de-authentication/disassoc pattern *device such AR9280 requires first four bytest for all sort of patterns Signed-off

[ath9k-devel] [WIP 05/11] ath9k: advertise supported WoW flags to upper layer

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com currently the code supports WoW triggers due to *magic packet *user defined patterns *deauth and disassoc patterns *disconnect - beacon miss, last beacon received timeout, no ack for keeep alive frames. we need to support other WoW offload

[ath9k-devel] [WIP 06/11] ath9k_hw: INI changes for WoW for AR9002 chipsets

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com for AR9002 family of chipsets and for WoW sleep, we reprogram the SerDes so that the PLL and CHK REQ are both enabled. this uses more power but in certain cases this is required as otherwise WoW sleep is unstable and chip may disappear

[ath9k-devel] [WIP 08/11] ath9k: Add WoW related mac80211 callbacks

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com add suspend/resume/set_wakeup callbacks to the driver *suspend - bail out only if all the conditions for configuring WoW is fine, currently multivif case is not handled - check for associated state - map wow triggers from user space

[ath9k-devel] [WIP 09/11] ath: Add Wake-on-Wireless debug mask

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com to help the developers and users to debug/know whats happening with WoW Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff

[ath9k-devel] [WIP 10/11] ath9k: Add debug messages for WoW

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com add sufficient debug messages in the driver for debugging WoW Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/main.c | 91 + 1 files changed, 80

[ath9k-devel] [WIP 11/11] ath9k: do not disable hardware while wow is enabled

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/pci.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/pci.c b/drivers/net

[ath9k-devel] [RFC 1/1] cfg80211: have consistent checks for adding new entries in scan list

2012-04-10 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com *decide to traverse the RB tree in right - if the center frequency of new scan list entry is greater than the already available entries - if the IE length of new scan list entry is greater than

Re: [ath9k-devel] Is there a way to tell if an antenna is connected?

2012-04-10 Thread Mohammed Shafi
Hi Ben/Adrian, On Wed, Apr 11, 2012 at 2:31 AM, Adrian Chadd adr...@freebsd.org wrote: On 10 April 2012 10:11, Ben Greear gree...@candelatech.com wrote: Any register to query or other way to tell if an antenna is actually connected to the NIC?  I'd like to be able to warn users if the

Re: [ath9k-devel] Ath9k installation help

2012-04-10 Thread Mohammed Shafi
hi, On Wed, Apr 11, 2012 at 3:03 AM, Kareem Khalil kkhali...@gmail.com wrote: I'm running linux mint from my usb and I'm trying to install the ath9k driver. After downloading it, I try to type in the commands that are posted on the linux site but it keeps saying file does not exist. Is there

Re: [ath9k-devel] 3.4-rc ath9k regression (Re: 3.3.1 ath9k regression)

2012-04-09 Thread Mohammed Shafi
On Mon, Apr 9, 2012 at 4:38 AM, Michael Leun lkml20120...@newton.leun.net wrote: After an suspend to disk / resume cycle (in kernel suspend to disk, openSuSE) with 3.4-rc2 my ath9k wireless does not ping anymore. Output of iwconfig wlan0 looks just as usual (associated to AP). iwconfig

Re: [ath9k-devel] 3.3.1 ath9k regression

2012-04-09 Thread Mohammed Shafi
Hi Ben, On Sat, Apr 7, 2012 at 2:01 AM, Ben Greear gree...@candelatech.com wrote: On 04/05/2012 10:11 PM, Mohammed Shafi wrote: Hi Ben, On Thu, Apr 5, 2012 at 11:55 PM, Ben Greeargree...@candelatech.com  wrote: I see the regression on my WPEA-127N systems as well. With the patch applied

Re: [ath9k-devel] 3.4-rc ath9k regression (Re: 3.3.1 ath9k regression)

2012-04-09 Thread Mohammed Shafi
On Mon, Apr 9, 2012 at 7:33 PM, Michael Leun lkml20120...@newton.leun.net wrote: On Mon, 9 Apr 2012 12:25:49 +0200 Michael Leun lkml20120...@newton.leun.net wrote: On Mon, 9 Apr 2012 11:58:06 +0530 Mohammed Shafi shafi.wirel...@gmail.com wrote: On Mon, Apr 9, 2012 at 4:38 AM, Michael Leun

Re: [ath9k-devel] 3.4-rc ath9k regression (Re: 3.3.1 ath9k regression)

2012-04-09 Thread Mohammed Shafi
On Mon, Apr 9, 2012 at 8:59 PM, Michael Leun lkml20120...@newton.leun.net wrote: On Mon, 9 Apr 2012 19:52:45 +0530 Mohammed Shafi shafi.wirel...@gmail.com wrote: On Mon, Apr 9, 2012 at 7:33 PM, Michael Leun lkml20120...@newton.leun.net wrote: On Mon, 9 Apr 2012 12:25:49 +0200 Michael Leun

Re: [ath9k-devel] 3.3.1 ath9k regression

2012-04-03 Thread Mohammed Shafi
Hi Kelly, please provide us as much details, about the card and pls provide lspci -vvxxx output to see if the ASPM is enabled or not. cced Felix also PS: Ben thanks! On Tue, Apr 3, 2012 at 11:31 AM, Ben Greear gree...@candelatech.com wrote: Ath9k list should be interested in this... Ben

Re: [ath9k-devel] 3.3.1 ath9k regression

2012-04-03 Thread Mohammed Shafi
Hi Kelly, could you please try to see by disabling ASPM in the boot option and see if it helps http://linuxwireless.org/en/users/Documentation/ASPM pcie_aspm= [PCIE] Forcibly enable or disable PCIe Active State Power off Disable ASPM. -- thanks, shafi

Re: [ath9k-devel] 3.3.1 ath9k regression

2012-04-03 Thread Mohammed Shafi
I just tried the unpatched kernel with pcie_aspm=off.  The device shows up with ifconfig, but it will not connect to the access point. oh, ok in addition does disabling power save helps ? -- thanks, shafi ___ ath9k-devel mailing list

Re: [ath9k-devel] 3.3.1 ath9k regression

2012-04-03 Thread Mohammed Shafi
On Tue, Apr 3, 2012 at 1:22 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: I just tried the unpatched kernel with pcie_aspm=off.  The device shows up with ifconfig, but it will not connect to the access point. oh, ok in addition does disabling power save helps ? also please provide

Re: [ath9k-devel] the patch aboutLow Throughput while Using minstrel_ht

2012-04-02 Thread Mohammed Shafi
On Tue, Apr 3, 2012 at 4:23 AM, Lito Kriara s0972...@sms.ed.ac.uk wrote: Hi all, Hi, as I mentioned to Shashank, I also work on ath9k (AR71xx cards used) and I tried to patch the use the patch you provided for ath9k_rate_control as the default rate control algorithm for setting a specific

Re: [ath9k-devel] Ubiquiti Wifistation Int Atheros ar2971 doesn't work

2012-03-29 Thread Mohammed Shafi
On Thu, Mar 29, 2012 at 6:27 PM, Enrique Moreno minis...@hotmail.es wrote: Ubiquiti Wifistation Int Atheros ar2971 doesn't work ... it has a different ID from Ubiquiti Wifistation Ext version. yes we can do it, can you please provide the ID, i can send a patch for you to test it ? Can

Re: [ath9k-devel] Ubiquiti Wifistation Int Atheros ar2971 doesn't work

2012-03-29 Thread Mohammed Shafi
On Thu, Mar 29, 2012 at 8:34 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Thu, Mar 29, 2012 at 6:27 PM, Enrique Moreno minis...@hotmail.es wrote: Ubiquiti Wifistation Int Atheros ar2971 doesn't work ... it has a different ID from Ubiquiti Wifistation Ext version. yes we can do

Re: [ath9k-devel] AR9380/AR9382 AP Mode Source Code Support

2012-03-28 Thread Mohammed Shafi
On Wed, Mar 28, 2012 at 11:20 AM, Tushar K tushark.ker...@gmail.com wrote: Hi, I am planning to work on the Atheros AR9380/AR9382 chipset. I will be using this chipset in AP (Access Point) mode. I have couple of questions as below and require help to proceed further. 1) Does open source wifi

Re: [ath9k-devel] Anyone know a laptop that supports an AR9380 NIC?

2012-03-28 Thread Mohammed Shafi
Hi Daniel, On Thu, Mar 29, 2012 at 12:30 AM, Daniel Halperin dhalp...@cs.washington.edu wrote: Anything from Dell has worked for me. In particular, I've used the Inspiron 1525. so replacing the intel's card with AR9380 worked fine ? in case i buy a dell laptop in future i can use our own card

Re: [ath9k-devel] Anyone know a laptop that supports an AR9380 NIC?

2012-03-28 Thread Mohammed Shafi
Hello Ben, we had got an acer laptop where we put AR9382 card, while previously i had AR9380 i suppose. it is ASPIRE 4730Z -- Ben Greear gree...@candelatech.com Candela Technologies Inc  http://www.candelatech.com -- thanks, shafi ___

Re: [ath9k-devel] Where is MORE_DATA flag?

2012-03-25 Thread Mohammed Shafi
On Sat, Mar 24, 2012 at 1:15 PM, 马进 scor...@resl.kaist.ac.kr wrote: Hi all, Where could I find MORE_DATA flag, which is used for Wi-Fi power save mode? its in mac80211. pls take a look at ieee80211_sta_ps_deliver_response, ieee80211_get_buffered_bc Thank you. Jin

Re: [ath9k-devel] Low Throughput while Using minstrel_ht fixed-rate

2012-03-23 Thread Mohammed Shafi
, shafi On Wed, Mar 21, 2012 at 3:25 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Wed, Mar 21, 2012 at 2:17 AM, shashank ks shashank...@gmail.com wrote: Hi, Hi,   Here is few more information. I am doing some measurement experiments, for which i need fixed rate

Re: [ath9k-devel] Low Throughput while Using minstrel_ht fixed-rate

2012-03-22 Thread Mohammed Shafi
, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Wed, Mar 21, 2012 at 2:17 AM, shashank ks shashank...@gmail.com wrote: Hi, Hi,   Here is few more information. I am doing some measurement experiments, for which i need fixed rate in ath9k. If some one can give any suggestions on how

Re: [ath9k-devel] Low Throughput while Using minstrel_ht fixed-rate

2012-03-21 Thread Mohammed Shafi
On Wed, Mar 21, 2012 at 2:17 AM, shashank ks shashank...@gmail.com wrote: Hi, Hi,   Here is few more information. I am doing some measurement experiments, for which i need fixed rate in ath9k. If some one can give any suggestions on how to proceed, it is much appreciated. i think Raj

Re: [ath9k-devel] ath9k tools

2012-03-20 Thread Mohammed Shafi
On Tue, Mar 20, 2012 at 3:22 PM, chansun.xjs chansun@gmail.com wrote: Hi,shafi! Hi Chansun, Recently, I take some time to make test about ath9k driver and got stats. May I ask you some question and get help. Are there and stats tools like athstats in Madwifi drivers? Or other tools to

Re: [ath9k-devel] [ath9k] Complete freeze of the system when using ath9k drivers

2012-03-20 Thread Mohammed Shafi
Hi Giles, On Mon, Mar 19, 2012 at 7:25 PM, Gilles Habran gilleshab...@gmail.com wrote: Hi, I bought the card TP-LINK TL-WN851ND twice. One is for my main computer with ArchLinux (kernel 3.2.9-1), the other one is for my debian server (kernel 2.6.32-5). When I connect both computers to the

Re: [ath9k-devel] Help: ath9k txq

2012-03-14 Thread Mohammed Shafi
On Wed, Mar 14, 2012 at 8:15 PM, Chaoxing Lin chaoxing@ultra-3eti.com wrote: Can anyone help? hey, as Felix had suggested upgrade to latest compat wireless http://linuxwireless.org/en/users/Download#Where_to_download_bleeding_edge install it and this message is fixed and removed by later

[ath9k-devel] [RFC] ath9k_hw: Fix chip revision checks

2012-03-11 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com not sure if these checks are previously avoided may be those revision of chipsets are obselete ? Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/reg.h | 20 +++- 1

Re: [ath9k-devel] Atheros Ar9280 detailed reference design

2012-03-08 Thread Mohammed Shafi
On Thu, Mar 8, 2012 at 12:37 PM, Abdel-Latif Alshalalfah ashalal...@bluezonejordan.com wrote: Dear Mohammed,  Thanks for your response. Can I modify Ath9k to do some modifications on the protocol, f.e., I want to change the channel access to be time based (TDMA) to allow for multiple Access

[ath9k-devel] [RFC 1/1] ath9k_hw: Fix enabling of MCI and RTT

2012-03-08 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/hw.c | 11 +-- drivers/net/wireless/ath/ath9k/reg.h |1 + 2 files changed, 10 insertions(+), 2 deletions(-) diff --git

[ath9k-devel] [PATCH] ath9k_hw: Fix enabling of MCI and RTT

2012-03-08 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com tested in AR9462 Rev:2, both hardware capability flag are set Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/hw.c | 13 +++-- drivers/net/wireless/ath/ath9k/reg.h |1

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-03-07 Thread Mohammed Shafi
Hi Matt, yes, those are working to me now, but see the file regval, it is allowed to be written. I tried to echo a value to it, and cat it, it seems not work right to me. :( You may try to echo 0x0c45 regval when the regval is 0x0c55. Then cat regval again, see if it changed to

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-03-07 Thread Mohammed Shafi
On Wed, Mar 7, 2012 at 3:11 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: Hi Matt, yes, those are working to me now, but see the file regval, it is allowed to be written. I tried to echo a value to it, and cat it, it seems not work right to me. :( You may try to echo 0x0c45 regval

Re: [ath9k-devel] Atheros Ar9280 detailed reference design

2012-03-07 Thread Mohammed Shafi
Hi, those are confidential and proprietary of the company. i think those will be provided to people who to developers/contractors/interns who should have signed NDA. anyway ath9k is lot lot more than open compared to all other drivers. you can understand lots of HAL code with logic alone.

Re: [ath9k-devel] [RFC 1/2] ath9k: use ieee80211_free_txskb

2012-03-05 Thread Mohammed Shafi Shajakhan
would you like me to test this patch, ? Sure, I would like someone with a AR9300+ to test the patch. Currently, I'm stuck with a puny AR9287 [in a router]. So, I can't run tests all day :(. i can just ran a bidirectional traffic test parallel y enabling PAPRD,with this proposed patch.

Re: [ath9k-devel] Question about Atheros AR9220

2012-03-04 Thread Mohammed Shafi Shajakhan
Hi Wei Zhang, i don't know, will ask some one internally who knows about it. Cced ath9k-devel list. On Saturday 03 March 2012 01:27 AM, Wei Zhang wrote: Hello, Mr. Mohammed, My name is Wei Zhang, I am a graduate student of Texas AM University. Recently I'm working with MikroTik 433UAH

Re: [ath9k-devel] [RFC 1/2] ath9k: use ieee80211_free_txskb

2012-03-01 Thread Mohammed Shafi Shajakhan
On Thursday 01 March 2012 11:09 AM, Mohammed Shafi Shajakhan wrote: Hi Christian, On Monday 27 February 2012 09:40 PM, Christian Lamparter wrote: With the new tx status API: mac80211: implement wifi TX status All skb originating from mac80211 needs to be given back to mac80211. Signed-off

Re: [ath9k-devel] [RFC 1/2] ath9k: use ieee80211_free_txskb

2012-03-01 Thread Mohammed Shafi Shajakhan
On Thursday 01 March 2012 05:12 PM, Mohammed Shafi Shajakhan wrote: On Thursday 01 March 2012 11:09 AM, Mohammed Shafi Shajakhan wrote: Hi Christian, On Monday 27 February 2012 09:40 PM, Christian Lamparter wrote: With the new tx status API: mac80211: implement wifi TX status All skb

Re: [ath9k-devel] [RFC 2/2] ath9k_htc: use ieee80211_free_txskb

2012-03-01 Thread Mohammed Shafi Shajakhan
Hi Christian, On Monday 27 February 2012 10:02 PM, Christian Lamparter wrote: With the new tx status API: mac80211: implement wifi TX status All skb originating from mac80211 needs to be given back to mac80211. Signed-off-by: Christian Lamparterchunk...@googlemail.com --- It compiles, but

Re: [ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-03-01 Thread Mohammed Shafi
Work with someone who has hardware clue and just fix the problem. completely agree, we got to fix it. -- thanks, shafi ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Any recommendation of direct access the GPIO from specific address ?

2012-02-29 Thread Mohammed Shafi
On Wed, Feb 29, 2012 at 4:33 PM, Matt Chen mac...@suse.com wrote: Hi list, I am working on verifying the ath9k_rfkill_poll_state() function. It would execute the ath_is_rfkill_set() the read the GPIO and change the LED. I found the POLL_INTERVAL would take 5 secs according the definition in

Re: [ath9k-devel] Failed to stop Tx DMA and Could not stop RX with AR9485

2012-02-29 Thread Mohammed Shafi
With this message I have attached a log with the error messages. This has been a problem since.. Uhm.. Kernel 3.2.something and I'm currently running 3.2.8. For some reason it happened at least 3-4 times shortly after each other today - so I thought I might ask on here what's happening.

Re: [ath9k-devel] [RFC 1/2] ath9k: use ieee80211_free_txskb

2012-02-29 Thread Mohammed Shafi Shajakhan
Hi Christian, On Monday 27 February 2012 09:40 PM, Christian Lamparter wrote: With the new tx status API: mac80211: implement wifi TX status All skb originating from mac80211 needs to be given back to mac80211. Signed-off-by: Christian Lamparterchunk...@googlemail.com --- It's high time we

[ath9k-devel] [PATCH 1/2] ath9k: completely zero intialize valid_phy_rate_idx

2012-02-28 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com its better to zero initialize the 'valid_phy_rate_idx' array completely Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/rc.c |2 +- drivers/net/wireless/ath/ath9k/rc.h |2 -- 2

[ath9k-devel] [PATCH 2/2] ath9k: make use of list_for_each_entry_safe

2012-02-28 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com this does the same thing as the previous code Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/recv.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git

Re: [ath9k-devel] [PATCH] ath9k: fix PHY error accounting in debugfs

2012-02-23 Thread Mohammed Shafi
Hi Zefir, On Thu, Feb 23, 2012 at 3:58 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: ath9k_phyerr are defined as index but have been treated as bitmask (with an outdated mask used) for counting PHY errors in debugfs. ---  drivers/net/wireless/ath/ath9k/debug.c |    8  1 files

Re: [ath9k-devel] [PATCH] ath9k: fix PHY error accounting in debugfs

2012-02-23 Thread Mohammed Shafi
On Thu, Feb 23, 2012 at 4:27 PM, Zefir Kurtisi zefir.kurt...@neratec.com wrote: On 02/23/2012 11:41 AM, Mohammed Shafi wrote: Hi Zefir, [...] very recently fixed by http://www.spinics.net/lists/linux-wireless/msg85034.html Thanks, missed that one. anyway, thanks for finding

[ath9k-devel] [RFC 1/3] ath9k: completely zero intialize valid_phy_rate_idx

2012-02-23 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com its better to zero initialize the 'valid_phy_rate_idx' array completely Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/rc.c |2 +- drivers/net/wireless/ath/ath9k/rc.h |2 -- 2

[ath9k-devel] [RFC 2/3] ath9k: make use of list_for_each_entry_safe

2012-02-23 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com this does the same thing as the previous code Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/recv.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git

[ath9k-devel] [RFC 3/3] ath9k: handle invalid/error in processing tx descriptors

2012-02-23 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com for EDMA based chipsets there are few more errors/invalid conditions to be handled when processing tx descriptors apart from descriptor processing incomplete. based on the commit dcfcbd590d91e8385eb554aaed419bdebaf4c72a ENOENT error

Re: [ath9k-devel] AR9380 and AR9382 Support

2012-02-22 Thread Mohammed Shafi
On Thu, Feb 23, 2012 at 10:52 AM, Tushar K tushark.ker...@gmail.com wrote: Hi All, hi, I am planning to work on Atheros MiniPCIe AR9380 or AR9382 chipset. I have few queries, answers to them will really help me as I am new to Linux world. 1) Does latest Linux kernel support AR9380 /

Re: [ath9k-devel] [RFC/WIP 02/22] ath9k: Cleanup MCI init/deinit routines

2012-02-21 Thread Mohammed Shafi
Hi Sujith, On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch simplifies the buffer allocation functions for MCI and removes unneeded memset calls. Also, a couple of unused variables are removed and a memory leak in DMA allocation is fixed. [

Re: [ath9k-devel] [RFC/WIP 03/22] ath9k: Initialize MCI params using a helper

2012-02-21 Thread Mohammed Shafi
Hi Sujith, On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/btcoex.c |   24  drivers/net/wireless/ath/ath9k/btcoex.h |    1 +  

Re: [ath9k-devel] [RFC/WIP 10/22] ath9k_hw: Use a helper function to get MCI ISR

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_mac.c |   29 +-  drivers/net/wireless/ath/ath9k/ar9003_mci.c |   25

Re: [ath9k-devel] [RFC/WIP 11/22] ath9k_hw: Handle MCI power state using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_mci.c |   17 +  drivers/net/wireless/ath/ath9k/hw.c         |   17 ++---  

Re: [ath9k-devel] [RFC/WIP 09/22] ath9k: Initialize BTCOEX scheme using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:52 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Setting up the required scheme can be done as part of the BTCOEX initialization path and it doesn't belong in ath9k_hw_fill_cap_info() anyway. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  

Re: [ath9k-devel] [RFC/WIP 12/22] ath9k_hw: Setup MCI calibration using a helper

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_calib.c |   42 ++---  drivers/net/wireless/ath/ath9k/ar9003_mci.c   |   48

Re: [ath9k-devel] [RFC/WIP 14/22] ath9k_hw: Cleanup MCI bits from hw.h

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch moves all the MCI-specific declarations that have been dumped unceremoniously in hw.h to ar9003_mci.h Sujith, we did put all those stuff in ar9003_mci.h, but then it caused lot of compilation errors.

Re: [ath9k-devel] [RFC/WIP 15/22] ath9k_hw: Cleanup MCI function declarations

2012-02-21 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 2:53 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This patch converts a few functions to static variants and removes extraneous declarations. thanks, with the help of new functions which you had introduced in your previous patchs, which take care of calling few

Re: [ath9k-devel] installing atheros driver

2012-02-20 Thread Mohammed Shafi
On Tue, Feb 21, 2012 at 12:58 AM, Ghazale Hosseinabadi gh.hosseinab...@gmail.com wrote: Hi, I am trying to install the ath9k driver on mu Linux machine (Debian) as explained in the following page: http://linuxwireless.org/en/users/Drivers/ath9k; I downloaded compat-wireless-2012-02-19, but

Re: [ath9k-devel] [RFC] ath9k: remove rx_bufptr

2012-02-16 Thread Mohammed Shafi Shajakhan
Hi Felix, On Thursday 16 February 2012 01:08 PM, Felix Fietkau wrote: On 2012-02-16 8:03 AM, Mohammed Shafi Shajakhan wrote: From: Mohammed Shafi Shajakhanmoham...@qca.qualcomm.com it does not seems to used for anything Signed-off-by: Mohammed Shafi Shajakhanmoham...@qca.qualcomm.com

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-15 Thread Mohammed Shafi
dump my registers and those eeprom values you can override it. i would do it today evening On Tue, Feb 14, 2012 at 12:26 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Sun, Feb 12, 2012 at 3:22 PM, Michael Goberman mic...@gmail.com wrote: Hi, i applied the your patch, except

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-15 Thread Mohammed Shafi
please try with the hacked patch and see if it helps more data.. you enable ath9k debug see your dump to hey you could try with the Antenna diversity Ctl1 and ctl2 values Ant. Diversity ctl1 : 11 Ant. Diversity ctl2 : 6 i had produced a debug dump for you instructions

Re: [ath9k-devel] kernel panic with ath9k

2012-02-15 Thread Mohammed Shafi
Hi Pavel, once thanks a lot for analyzing it more and the amazing information you had provided. I was able to catch the rates when it happens: rate 0, idx 0, count 10, flags 0x0 rate 1, idx -1, count 1, flags 0x0 rate 2, idx -1, count 1, flags 0x0 rate 3, idx -1, count 1, flags 0x0 I

[ath9k-devel] [RFC] ath9k: remove rx_bufptr

2012-02-15 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com it does not seems to used for anything Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ath9k.h |1 - drivers/net/wireless/ath/ath9k/recv.c |4 2 files changed, 0

Re: [ath9k-devel] [PATCH 3/4] ath9k: Modify CCK spur mitigation for AR9462

2012-02-14 Thread Mohammed Shafi
Hi Sujith, On Tue, Feb 14, 2012 at 2:09 PM, Sujith Manoharan c_man...@qca.qualcomm.com wrote: This improves sensitivity for CCK at specific channels. Signed-off-by: Sujith Manoharan c_man...@qca.qualcomm.com ---  drivers/net/wireless/ath/ath9k/ar9003_phy.c |    9 -  1 files changed,

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-14 Thread Mohammed Shafi
ath9k_hw_fill_cap_info is important it lets us know if ant diversity is enabled in EEPROM could you please try with some latest compat wireless. i need to analyze those register stuff thanks On Thu, Feb 9, 2012 at 7:54 AM, Mohammed Shafi shafi.wirel...@gmail.com wrote: On Tue, Feb 7, 2012

[ath9k-devel] [PATCH 1/2] ath9k: remove obselete comments

2012-02-14 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com the corresponding code/logic was removed in ath9k: rework power state handling Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/main.c |6 -- 1 files changed, 0 insertions(+), 6

[ath9k-devel] [PATCH 2/2] ath9k: remove unnecessary PS wrappers

2012-02-14 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com ath_set_channel is called from ath9k_config which already has proper PS wrappers Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/main.c |4 1 files changed, 0 insertions(+), 4

Re: [ath9k-devel] Does ath9k Support Adhoc mode in 11n ?

2012-02-13 Thread Mohammed Shafi
On Mon, Feb 13, 2012 at 10:52 PM, shashank ks shashank...@gmail.com wrote: Hi all, Hi   I am trying to put atheros ath9k ( 9382 chip set ) in adhoc mode in 802.11n . I have another laptop having ralink rt2860 in [green field mode]. I am not able to ping one computer from other. When i

Re: [ath9k-devel] kernel panic with ath9k

2012-02-09 Thread Mohammed Shafi
Hi Pavel, I can reproduce the problem reliably with just one router (some stock Linksys router with standard firmware) and one laptop (Asus Eee PC 1005PE with AR9285).  802.11n is not used.  I just leave the laptop turned on overnight, and it catches the warning at some point. i could try

Re: [ath9k-devel] Atheros AR 9285 antenna diversity

2012-02-08 Thread Mohammed Shafi
On Tue, Feb 7, 2012 at 7:35 PM, Michael Goberman mic...@gmail.com wrote: Hi all, Hi, I have problem with antenna diversity, when i unplug one of two exists antennas (the main one) i don't receive the same data and don't see the same networks as when 2 antennas connected -- so i understand

Re: [ath9k-devel] Atheros AR 9285

2012-02-07 Thread Mohammed Shafi Shajakhan
Hi Michael, please send your queries to ath9k-devel list, there are always more people who might know more about this On Monday 06 February 2012 08:10 PM, Goberman, Michael (Michael) wrote: Hi, I am trying to figure out why antenna diversity doesn't work and whether I have a way to make it

[ath9k-devel] [PATCH 1/1] ath9k: Fix kernel panic during driver initilization

2012-02-02 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com all works need to be initialized before ieee80211_register_hw to prevent mac80211 call backs such as drv_start, drv_config getting started. otherwise we would queue/cancel works before initializing them and it leads to kernel panic

Re: [ath9k-devel] regarding iw statistics

2012-02-01 Thread Mohammed Shafi
hi, On Thu, Feb 2, 2012 at 6:40 AM, abhinav narain abhinavnarai...@gmail.com wrote: hi,   iw reports avg signal strength in dBm. Checking the code, its an unsigned int value. I wanted to know, is this RSSI value ? or (RSSI+noise ) value ? As its integer, I am confused it is the RSSI value

Re: [ath9k-devel] regarding iw statistics

2012-02-01 Thread Mohammed Shafi
On Thu, Feb 2, 2012 at 12:28 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: hi, On Thu, Feb 2, 2012 at 6:40 AM, abhinav narain abhinavnarai...@gmail.com wrote: hi,   iw reports avg signal strength in dBm. Checking the code, its an unsigned int value. I wanted to know, is this RSSI

Re: [ath9k-devel] btcoex - ath9k hardware recommendations?

2012-01-30 Thread Mohammed Shafi
On Mon, Jan 30, 2012 at 9:24 PM, Andy Pyles ajpy...@cs.wm.edu wrote: Any recommendations for a PCI based card that has both bluetooth and 802.11 (ath9k)? A 3-wire device is preferred. refererences: http://linuxwireless.org/en/users/Documentation/Bluetooth-coexistence

Re: [ath9k-devel] Failed to stop TX DMA

2012-01-20 Thread Mohammed Shafi
the time. I tried to take a code base of about a year back but compiling that seems to have lots of dependency errors for the age of the kernel. Has any one got any suggestions how I might resolve this problem? Thanks in advance Paul On Thu, 5 Jan 2012 12:16:31 +0530, Mohammed Shafi wrote

Re: [ath9k-devel] It takes long than expecting to change LED.

2012-01-18 Thread Mohammed Shafi
Hi Matt, On Thu, Jan 19, 2012 at 8:53 AM, Matt Chen mac...@suse.com wrote: Hi list, I am using v3.0.13 kernel for my desktop. Wireless modules is AR9485 [168c:0032], Marilyn. When I press F12 function key to enable/disable the wifi, it would take seconds, more than expected, to ON of OFF the

Re: [ath9k-devel] It takes long than expecting to change LED.

2012-01-18 Thread Mohammed Shafi
On Thu, Jan 19, 2012 at 8:53 AM, Matt Chen mac...@suse.com wrote: Hi list, I am using v3.0.13 kernel for my desktop. Wireless modules is AR9485 [168c:0032], Marilyn. When I press F12 function key to enable/disable the wifi, it would take seconds, more than expected, to ON of OFF the LED.

Re: [ath9k-devel] [PATCH 1/1] ath9k: Fix kernel panic in AR2427 in AP mode

2012-01-16 Thread Mohammed Shafi Shajakhan
Hi Luis, On Tuesday 17 January 2012 12:11 AM, Luis R. Rodriguez wrote: On Sun, Dec 25, 2011 at 09:19:13PM +0530, Mohammed Shafi Shajakhan wrote: Cc: sta...@kernel.org For future reference please use from now on sta...@vger.kernel.org instead of the older one [1]. [1] http://www.kroah.com

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-12 Thread Mohammed Shafi
On Thu, Jan 12, 2012 at 1:36 AM, Kim Lidström dex...@lacto.se wrote: And here is a complete log. thanks, don't know why desc processing is not completed. it fails frequently in your case. adding list -- shafi ___ ath9k-devel mailing list

Re: [ath9k-devel] Question on keycache size.

2012-01-12 Thread Mohammed Shafi
Hi Ben, On Thu, Jan 12, 2012 at 3:25 AM, Ben Greear gree...@candelatech.com wrote: I have an ath9k AP, running 3.0.8 kernel (with a few tweaks). nohwcrypt is enabled. I set up some other machines with virtual stations, a total of around 450 and had them associate with the AP. It seems to

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-10 Thread Mohammed Shafi
On Tue, Jan 10, 2012 at 6:24 AM, Kim Lidström dex...@lacto.se wrote: hi, also did you get some trace with netconsole No I didn't. netconsole didn't want to sent any messages related to ath. But if you wish to elaborate what you said about typing out the dmesg levels I can definitely try

Re: [ath9k-devel] ath9k_htc: power control features

2012-01-10 Thread Mohammed Shafi
On Wed, Jan 11, 2012 at 4:46 AM, Vitor Bernardo vitor.sahkopo...@gmail.com wrote: Dear all, I was checking the ath9k_htc support concerning the power control issues in LinuxWireless.org (http://linuxwireless.org/en/users/Drivers/ath9k_htc#Supported_Devices), but I cannot understand the

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-09 Thread Mohammed Shafi
though unrelated we can give a wild try with this patch http://marc.info/?l=linux-wirelessm=132595161516806w=2 download from the raw message. i can analyze the rx tasklet. hi, also did you get some trace with netconsole -- shafi ___ ath9k-devel

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-08 Thread Mohammed Shafi
On Sat, Jan 7, 2012 at 9:40 PM, Kim Lidström dex...@lacto.se wrote: Keep me updated if it that is not a problem. This is interesting :) i got the answer from the developer. we need to type the kernel debug level messages(though i have n't tried) KERN_EMERG 0 /* system is unusable

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-08 Thread Mohammed Shafi
On Sat, Jan 7, 2012 at 6:55 AM, Kim Lidström dex...@lacto.se wrote: After patching ath_rx_tasklet() with my debug statements and playing around a little I have not become smarter whatsoever. I will continue my own little investigation here. I might have accidentally done something weird

Re: [ath9k-devel] (no subject)

2012-01-07 Thread Mohammed Shafi
On Sat, Jan 7, 2012 at 5:49 PM, Anup Krishnan anuppeechan...@gmail.com wrote: Hi, Does ath9k_htc support mesh point mode in any linux kernel? not yet but there was an RFC sent http://permalink.gmane.org/gmane.linux.kernel.wireless.general/81716

Re: [ath9k-devel] Kernel panic with AR9485 and kernel 3.1.6

2012-01-07 Thread Mohammed Shafi
On Sat, Jan 7, 2012 at 8:58 PM, Mohammed Shafi shafi.wirel...@gmail.com wrote: Hi Kim, i was looking at you debug message in rx tasklet. in the second iteration bf is NULL ie we are not getting buffers. let me also a put the print here and see. PS: also the warning you had seemed to have

[ath9k-devel] [PATCH] ath9k_hw: fix a comment

2012-01-07 Thread Mohammed Shafi Shajakhan
From: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com also remove an unused macro and a function declaration Signed-off-by: Mohammed Shafi Shajakhan moham...@qca.qualcomm.com --- drivers/net/wireless/ath/ath9k/ar9003_phy.c |2 +- drivers/net/wireless/ath/ath9k/ath9k.h |1

Re: [ath9k-devel] Ath9k Sniffer - SGI Problem

2012-01-05 Thread Mohammed Shafi
On Thu, Jan 5, 2012 at 1:14 PM, Adrian Chadd adr...@freebsd.org wrote: On 4 January 2012 23:41, Mani vmanikandan@gmail.com wrote: Hi All,   I am using HP ProBook4430s laptop. It has AR9285 chipset. Downloaded and installed latest compat wireless driver.   Problem, i am facing is, i am

<    1   2   3   4   5   6   7   8   >