[ath9k-devel] Spectral Scan on extended channel

2016-06-13 Thread Kamran Nishat
Hi, In 20/40 mode if there is a transmission on extended channel while primary channel is idle. Using only the data given in the struct of spectral scan. How can we determine it. Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org ht

[ath9k-devel] A-MPDUs in 20/40 mode

2015-04-18 Thread Kamran Nishat
Hi, according to wireshark (radiotap.mcs.bw field) some MPDUs in an A-MPDU are recieved at 40Mhz while others are reiceved at 20Mhz. AP is working in 20/40 mixed mode. I dont think bandwidth change within an A-MPDU is possible. Is there a bug in wireshark or in my inderstanding? kamran _

[ath9k-devel] Probe response

2015-03-03 Thread Kamran Nishat
Hi how can i stop an AP to respond to a clients probe request with a probe response should i do it at the mac80211? Regrads, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

[ath9k-devel] Change in Channel width

2014-11-24 Thread Kamran Nishat
Hi, I want to ask how channel width is changed in the driver ath9k. Function ath_set_channel in channel.c is called on the change in channel width in openwrt. It "says first cleanup all pending DMAs". Does this means all packets in the HW buffer will be send before change? In the specification of

Re: [ath9k-devel] strange MPDU loss pattern

2014-10-24 Thread Kamran Nishat
But for this channel conditions should be changing at the scale of 100 micro secs consistently. On Sat, Oct 25, 2014 at 12:13 AM, Adrian Chadd wrote: > It's not completely unsurprising - the initial channel estimate and > such is done at the beginning of each packet and stays constant. So if > th

Re: [ath9k-devel] strange MPDU loss pattern

2014-10-24 Thread Kamran Nishat
How did u determine that? only by looking at the Bitmaps in BlockAcks? On Fri, Oct 24, 2014 at 9:04 PM, Ali Abedi wrote: > Hello, > > We study the effects of 802.11n frame aggregation on throughput. We > noticed a > strange pattern in the MPDU loss within an aggregated frame. It seems > that the

Re: [ath9k-devel] Capture A-MPDUs

2014-10-24 Thread Kamran Nishat
One more thing did u tried putting your sniffing (monitoring) PC close to the iwlwifi based device? On Fri, Oct 24, 2014 at 2:51 PM, Kamran Nishat wrote: > we saw this but according to some list of iwlwifi driver. AMPDUs are off. > Are u sure, u got BlockAcks from iwlwifi > > On

Re: [ath9k-devel] Capture A-MPDUs

2014-10-24 Thread Kamran Nishat
we saw this but according to some list of iwlwifi driver. AMPDUs are off. Are u sure, u got BlockAcks from iwlwifi On Fri, Oct 24, 2014 at 1:58 PM, Tsaixiong wrote: > Astrit Zhushi cs.ucl.ac.uk> writes: > > > > > Hi, > > I need to capture aggregate MPDUs between an AP and a client (both > runni

Re: [ath9k-devel] Block ACK without frame aggregation

2014-10-23 Thread Kamran Nishat
It is a part of 802.11n because of compatibility with 802.11e. But because 802.11n gives a much more advanced AMPDU based thing I think no one implemented it. It not a mandatory part of WMM I suppose. On Thu, Oct 23, 2014 at 7:22 PM, Kamran Nishat wrote: > I was talking about the same one.

Re: [ath9k-devel] Block ACK without frame aggregation

2014-10-22 Thread Kamran Nishat
I think you should look in earlier drivers from Atheors. Because this delayed BA for separate packets was introduced before 802.11n in 802.11e perhaps. On Thu, Oct 23, 2014 at 8:18 AM, Adrian Chadd wrote: > I don't think mac80211 supports delayed-BA. :( > > > -adrian > > > On 22 October 2014 08:3

Re: [ath9k-devel] Difference 40MHz and 20MHz

2014-09-24 Thread Kamran Nishat
to switch to 20MHz do u have any idea what will be the delay and what rate would be picked. On Wed, Sep 24, 2014 at 9:52 PM, Adrian Chadd wrote: > On 22 September 2014 14:14, Kamran Nishat wrote: > > Hi, > > FIRST, Will there be any difference in duration of PHY header for 20MHz

[ath9k-devel] Difference 40MHz and 20MHz

2014-09-22 Thread Kamran Nishat
Hi, FIRST, Will there be any difference in duration of PHY header for 20MHz and 40Mhz. Do u think 40Mhz header will take lesser time? Second, if my AP is connected to a client on 40MHz (Channel Bonding). During Carrier Sense (CS) it sense ext channel of 20MHz is busy will it automatically switch t

[ath9k-devel] Channel width on packet level

2014-09-09 Thread Kamran Nishat
Hi, Is it possible to change channel width at the packet level in ath9k. For example if AP connected with a client on 40Mhz channel wants to send next packet on 20Mhz primary channel. Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https:

Re: [ath9k-devel] Spectral Scan

2014-07-23 Thread Kamran Nishat
hi yes this is the expected behaviour. one can only get spectral scans for things cannot be decoded as valid packets by HW. One way to receive scans for packets is to scan on 40MHz channel while sending traffic on a 20Mhz sub channel. kamran On Thu, Jul 24, 2014 at 12:29 AM, mahaveer gupta wro

[ath9k-devel] How can I access TCP or UDP header at MAC layer

2014-07-23 Thread Kamran Nishat
Hi, I am trying to access transport layer header in MAC (ath9k or mac80211). Is there any standard way to do that like mac80211/wme.c access TOS fields of IP header. regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.

Re: [ath9k-devel] idle time or (Tx + Rx)Time

2014-07-20 Thread Kamran Nishat
abotu the whole air being idle. > > > -a > > > On 19 July 2014 14:14, Kamran Nishat wrote: > > Hi, > > Is there a way or any debugs entry to find for how much time HW has been > in > > idle state. Or can I estimate Tx a

[ath9k-devel] idle time or (Tx + Rx)Time

2014-07-19 Thread Kamran Nishat
Hi, Is there a way or any debugs entry to find for how much time HW has been in idle state. Or can I estimate Tx and Rx time for HW? Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k

[ath9k-devel] Spectral Scan in background mode

2014-06-09 Thread Kamran Nishat
Hi, Did anyone tried spectral scan in background mode for a longer duration of 5-10secs? We tried with but scans stopped after ~200-500 scans and we need to trigger it again. Any idea why? Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.

Re: [ath9k-devel] Finest granularity for the spectral scan

2014-04-10 Thread Kamran Nishat
in, and update it to work with the latest kernel! :) > > > [1] https://wiki.freebsd.org/dev/ath_hal%284%29/SpectralScan > > > On Mon, Apr 7, 2014 at 8:35 PM, Kamran Nishat wrote: > >> Hi Mathy >> Can u please share the details of your 60K/s samples with us. How were u

Re: [ath9k-devel] Finest granularity for the spectral scan

2014-04-07 Thread Kamran Nishat
at 1:47 AM, Mathy wrote: > Hi Kamran, > > Some time ago I was able to get 60k samples per second using a modified > ath9k_htc driver and firmware. I don't know whether better is possible. > What are you planning to do with it? > > Cheers, > Mathy > > > On Sat,

[ath9k-devel] Finest granularity for the spectral scan

2014-04-05 Thread Kamran Nishat
Hi, What will be the finest granularity of time to get spectral scan. I assume it should be 4usec as i can set spectral_fft_period =1 then (fft_period+1)*4uS= 4uS. But then what would be the use of spectral_period variable? Kamran ___ ath9k-devel mai

Re: [ath9k-devel] Spectral scan in background mode

2014-03-21 Thread Kamran Nishat
Thanks for quick reply. Do u know what does "bitmap_weigh" suppose to mean. On Fri, Mar 21, 2014 at 11:55 PM, Gui Iribarren wrote: > On 03/21/2014 03:22 PM, Kamran Nishat wrote: >> i am getting scans "chanscan" mode. All the values are easy to >> understan

[ath9k-devel] Spectral scan in background mode

2014-03-21 Thread Kamran Nishat
i am getting scans "chanscan" mode. All the values are easy to understand except "bitmap_weigh". But once i change mode to background. it stops working. Nothing got in the spectral scan. I tried printing values directly from ath_process_fft in recv.c, but still no success. Do we need to any other

Re: [ath9k-devel] Ack and Block Ack processing

2014-02-10 Thread Kamran Nishat
as Adrian said we got information received in a BlockACK (ath_tx_complete_aggr in xmit.c) you get a bitmap, SSN and retires done for AMPDU. On Mon, Feb 10, 2014 at 1:57 PM, Olivier Marce < olivier.ma...@alcatel-lucent.com> wrote: > Thanks for the quick and precise answer. > > Then, I wonder is

Re: [ath9k-devel] How to lock AMPDU length at a specific value?

2014-01-26 Thread Kamran Nishat
t; Does setting retry to 1 solves this problem? My understanding is that if > retry is 1 then we move the BA window > anyway (regardless of frame error) by 32 each time. Is this right? > > Thanks, > Ali > > > On 22/01/2014 11:02, Kamran Nishat wrote: > > Check if they are

Re: [ath9k-devel] How to lock AMPDU length at a specific value?

2014-01-22 Thread Kamran Nishat
ames than 20 > --- > Max A-mpdu size = 32 * 1550 B > 80 > 320 > 20 > 3232 > 30 > 320 > 10 > 32 0 > 4 4 > 10 > 3232 > > It happens even more frequently. > > Is there a solution to this pro

Re: [ath9k-devel] How to lock AMPDU length at a specific value?

2014-01-21 Thread Kamran Nishat
ll aggregate frames carry exactly 20 frames (constant rate)? > > Thank you, > Ali > > > On 21/01/2014 15:59, Kamran Nishat wrote: > > > > > > do it at a fix rate (1st check if duration of packet is less tahn 4ms for > ur MCS) and with nearly zero noise los

[ath9k-devel] Fwd: How to lock AMPDU length at a specific value?

2014-01-21 Thread Kamran Nishat
n set min=max and lock the AMPDU length. > > Thank you, > Ali > > On 21/01/2014 15:07, Kamran Nishat wrote: > > As far as i know AMPDU length is determined by 3 constraints. Firs maximum > AMPDU length. second blockAck window (if there were losses then this will > play a

Re: [ath9k-devel] How to lock AMPDU length at a specific value?

2014-01-21 Thread Kamran Nishat
As far as i know AMPDU length is determined by 3 constraints. Firs maximum AMPDU length. second blockAck window (if there were losses then this will play a role). Third is Max air time of the AMPDU which is 4ms for some domain constraints. this comes into play MCS is low and packet duration gets m

[ath9k-devel] RF tunning on 5/10MHz channel

2013-12-10 Thread Kamran Nishat
Hi, I guess there is some RF tunning/caliberation code in calib.c Can it be used to adjust the offset of 500KHz in different NIC like 5416 and 9160 when used in 5/10MHz width channel? Best Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

Re: [ath9k-devel] Infrastructure mode support for 5/10 Mhz channels

2013-11-29 Thread Kamran Nishat
37Mbps whao which Rate Control did u use I fixed MCS 4 and I got only 4Mbps at max. Kamran On Fri, Nov 29, 2013 at 1:25 PM, Sergey Ryazanov wrote: > 2013/11/29 Kamran Nishat : > > Hi, > Hi > > > Does anyone ever use used 5/10Mhz channel in infrastructure (AP/client) >

[ath9k-devel] Infrastructure mode support for 5/10 Mhz channels

2013-11-28 Thread Kamran Nishat
Hi, Does anyone ever use used 5/10Mhz channel in infrastructure (AP/client) mode. If yes then can you tell me ur Atheros cards versions and rate control you used. I have done this with openwrt with AR9160. But throughput were very bad even for very short range. But I am unable to do it with mainst

[ath9k-devel] Fwd: ath9k: set 5/10 MHz supported channels

2013-11-23 Thread Kamran Nishat
-- Forwarded message -- From: Kamran Nishat Date: Sat, Nov 23, 2013 at 12:00 PM Subject: Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels To: Simon Wunderlich Simon Can we merge openwrt source and iwreless-next tree? what will happen if we do this? Best Kamran On Fri

Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-21 Thread Kamran Nishat
Thanks Adrian for your reply. But there are certain things I am still not to understand. First I am have set my AR9160 based AP to channel 11 which is in 2.4G range not in 5GHz range. Second my AR5416 card can see it but but was not able to connect. Why? Are they with different 500KHz offset? Why i

Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-21 Thread Kamran Nishat
I have an AP with AR9160 tunning openWRT. When I set chennel to 10MHz from debugfs entry. I can still connect it with other boards running OpenWrt. But from computers running latest linux kernel it was visible in scan when I was using AR5416 but I was not able to connect to my AP. Then I changed N

Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-18 Thread Kamran Nishat
Can I change the center of my 5/10MMHz channel so I can accommodated more than one channels in official 802.11 20Mhz channel? If not then is it for HW reason or b/c of driver? On Mon, Nov 18, 2013 at 4:07 PM, Simon Wunderlich wrote: > Hey Tomas, > > > I still had a patch for iw on my disk which

Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-12 Thread Kamran Nishat
Hi, > > 2013/11/8 Kamran Nishat : > > Hi, > > I want to set 5 and 10 MHz channels. My AP has Atheros AR9160 and my > nodes > > have AR5416. Are they supported for my cards. Can I go to higher MCS like > > 12-13 on a 5MHz channel? > > > Current mainstre

Re: [ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-11 Thread Kamran Nishat
Dear Alex, Can you send me updates in driver to make it support 5/10Mhz channel both at client and AP ath9k. Also how can i set my channel to 5/10Mhz in settings. Kamran On Mon, Nov 11, 2013 at 2:16 PM, Alex Hacker wrote: > Thank you Adrian. Yes I know, but I can not get it working with AR9390

[ath9k-devel] ath9k: set 5/10 MHz supported channels

2013-11-07 Thread Kamran Nishat
Hi, I want to set 5 and 10 MHz channels. My AP has *Atheros* AR9160 and my nodes have AR5416. Are they supported for my cards. Can I go to higher MCS like 12-13 on a 5MHz channel? Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org

[ath9k-devel] Wait for more packets before sending single one as MPDU

2013-09-30 Thread Kamran Nishat
hello Can we force ath9k to send every packet as an AMPDU. Currently if there is only one packet in the queue then ath9k tell the hardware to just send it as MPDU. Is there a way to ask driver to wait for more packets and send them as AMPDU? Simple wait is not working in ath_tx_start(), ath_tx_sen

[ath9k-devel] (no subject)

2013-09-30 Thread Kamran Nishat
hello can we force ath9k to send every packet as an AMPDU. Currently if there is only one packet in the queue then ath9k tell the hardware to just send it as MPDU. Is there a way to ask driver to wait for more packets and send them as AMPDU? Simple wait is not working in ath_tx_start(), ath_tx_sen

[ath9k-devel] CSI Support

2013-08-15 Thread Kamran Nishat
Hi, there is a tread of CSI support on the list with one reply from Adrian saying Atheros HW does support it but no further reply. Can anyone please enlighten us. Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mail

[ath9k-devel] AR5416 Message in Message (MIM)

2013-07-03 Thread Kamran Nishat
Hi Do u know ar5416 does support Message in Message (MIM) in case of interfering signals Carrier Sense. MIM means means if a recv is looked on one packet and another packet is started coming with higher strength. many Atheros cards leave the weaker signal and start recv the new stronger signal. R

Re: [ath9k-devel] AR9287 ; 2-wire coexistence expected behavior

2013-07-03 Thread Kamran Nishat
Hi Do u know ar5416 does support Message in Message (MIM) in case of interfering signals Carrier Sense. MIM means means if a recv is looked on one packet and another packet is started coming with higher strength. many Atheros cards leave the weaker signal and start recv the new stronger signal.

[ath9k-devel] Time stamp of start and completion of TX

2012-12-04 Thread Kamran Nishat
with ath9k_hw_computetxtime(). So if I subtract this duration from ts_tsramp it will give me TX starting time. Please comment on this am I right or not. Regards, Kamran Nishat ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https

[ath9k-devel] Get FCS of TX MPDU

2012-11-28 Thread Kamran Nishat
Hi Adrian, How can I get FCS of MPDUs sent with them in xmit. Is it possible to get the FCS of BA also. Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] How can I get the Tx rate in Xmit.c

2012-09-06 Thread Kamran Nishat
Do u know how can i current Tx rate at the runtime in the driver. Kamran On Wed, Sep 5, 2012 at 7:07 PM, Adrian Chadd wrote: > On 5 September 2012 01:22, Kamran Nishat wrote: > > I want to get the TX rate. In the xmit.c ath_buf_set_rate it sets four > > rates. Are they Tx rate

[ath9k-devel] How can I get the Tx rate in Xmit.c

2012-09-05 Thread Kamran Nishat
I want to get the TX rate. In the xmit.c ath_buf_set_rate it sets four rates. Are they Tx rates for different retries? if not then which function is suitable to get Tx rate? regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https:/

[ath9k-devel] where in code CWMIn and CWMax are managed

2012-07-25 Thread Kamran Nishat
Hello, We want to change Backoff window dynamically using some scheme. Where should we look for the code which is called before Tx of each AMPDU to set parameters like cwmin and cwmax. Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9

[ath9k-devel] Last function before Tx of MPDU

2012-07-16 Thread Kamran Nishat
Hello, Do you know the last function in the driver which is called before Tx every MPDU or at least before Tx of a AMPDU. We want to timestamp the Tx time in the log. Regards, kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.

[ath9k-devel] clock time in ath9k

2012-07-12 Thread Kamran Nishat
Hi, How can i get the clock time in ath9k with minimum overhead. Which function is the last called during TX for an MPDU? similarly which one is the first in RX for a MPDU? Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https:/

[ath9k-devel] (Disable backoff ) desperate for help

2012-07-04 Thread Kamran Nishat
different functions of mac.c. Can you please help? It would be really nice if you could some what guide us in this process. Regards, Kamran Nishat ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k

Re: [ath9k-devel] Ath9k Rate Control

2012-06-18 Thread Kamran Nishat
To disable rate control use. config ATH9K_RATE_CONTROL bool "Atheros ath9k rate control" depends on ATH9K default y ---help--- Say Y, if you want to use the ath9k specific rate control module instead of minstrel_ht. But if you want to fix rate in ath9k

[ath9k-devel] iwpriv for ath9k based interface

2012-06-13 Thread Kamran Nishat
Hi, Is there any patch or other way to use iwpriv for any interface using ath9k driver? currently I am getting "no private ioctls" error. Regards, Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/a

[ath9k-devel] Retransmission of lost MPDUs

2012-06-13 Thread Kamran Nishat
Hi, According to my understanding if a MPDU got lost in a A-MPDU it must be retransmitted in the next A-MPDU. We collected a lots of dumps using ath9k driver at sender, receiver and sniffer. Dumps suggests that lost packets are not always retransmitted in the immediate next AMPDU. Sometimes it is d

[ath9k-devel] fix # of MPDUs is in an A-MPDU

2012-06-07 Thread Kamran Nishat
Hi , Do u know can we limit # of MPDUs is in a A-MPDU. We want to do some controled experiments. Making A-MPDUs of constant size will help in great deal. Kamran ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/list

[ath9k-devel] Turn Carrier sense off

2012-06-05 Thread Kamran Nishat
Hello, For some experimental purposes we want to turn Carrier sense completely off. So node do not compete for the access of channel before sending. It has been done 3 years back. bu t i was not able to find the patch. Kamran ___ ath9k-devel mailing li

Re: [ath9k-devel] problem with setting MCS code for rate in ath9k

2012-06-05 Thread Kamran Nishat
Thanks a lot, it is working now. On Tue, Jun 5, 2012 at 5:54 PM, Kamran Nishat wrote: > root@wireless2:/sys/kernel/debug/ieee80211/phy0/ath9k# cat ../rc/name > minstrel_ht > > root@wireless2:/sys/kernel/debug/ieee80211/phy0/ath9k# echo 15 > > fix_mcs_rate > > SSID: w

[ath9k-devel] problem with setting MCS code for rate in ath9k

2012-06-05 Thread Kamran Nishat
root@wireless2:/sys/kernel/debug/ieee80211/phy0/ath9k# cat ../rc/name minstrel_ht root@wireless2:/sys/kernel/debug/ieee80211/phy0/ath9k# echo 15 > fix_mcs_rate SSID: wireless freq: 2412 RX: 2068030 bytes (14072 packets) TX: 2439 bytes (83 packets) signal: -58 dBm tx bitrat

[ath9k-devel] How to enable DEBUGFS in ATH9K

2012-05-31 Thread Kamran Nishat
This is the output from menuconfig for ATH9K search option. There is no option like ATH_DEBUG or ATH_DEBUGFS. Symbol: PACKAGE_kmod-ath9k [=y] │ │ Prompt: kmod-ath9k Atheros 802.11n PCI wireless cards support │ │ Defined at tmp/.config-package.in:7113

Re: [ath9k-devel] Disabling Rate control in ath9k

2012-05-31 Thread Kamran Nishat
I have applied the patch to disable ath9k Rate Control in my OpenWRT compilation. But now I am unable to set 11n specific (MCS 10-15) rates using iw dev. Kamran On Mon, May 28, 2012 at 8:40 PM, Mohammed Shafi wrote: > On Mon, May 28, 2012 at 7:53 PM, Sujith Manoharan > wrote: > > Mohammed Shafi