Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-20 Thread Yahia Shabara
Thank you Mathy. I see you have done great work. I could have used your modified driver to work it out. Unfortunately, I'm not using a USB dongle. My card is PCIe and I use ath9k driver not ath9k_htc. I'm trying to map the changes, however, I am a beginner in the field and this is not

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-18 Thread Mathy Vanhoef
Hi Yahia, You can set the bits in AR_DIAG_SW an any point in time you want. An option is to create a debugfs entry to control whether carrier sensing is enabled or not. The only catch is that you have to restore your custom values when ath9k_hw_set_power_awake or ath9k_hw_reset is called.

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-18 Thread Yahia Shabara
Hey guys, I got stuck trying to implement these instructions in the driver code. I know I should use reg_set_bit On Sat, Jan 3, 2015 at 11:34 AM, Yahia Shabara shabara.m...@gmail.com wrote: Thank you Sujith for your help ___ ath9k-devel mailing

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-18 Thread Yahia Shabara
Hey guys, I got stuck trying to implement these instructions in the driver code. I know I should use the function REG_SET_BIT(ah, AR_DIAG_SW, AR_DIAG_IGNORE_VIRT_CS), for example, to disable Virtual carrier sensing. What I need to know whether I just need this piece of code, and where exactly in

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-03 Thread Yahia Shabara
Thanks Mathy for your help. Your paper is also quite interesting. On Sat, Jan 3, 2015 at 2:30 AM, Mathy Vanhoef vanho...@gmail.com wrote: Hi Yahia, You can disable both virtual and physical carrier sensing (physical: detecting that someone else is currently transmitting, virtual: channel

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-03 Thread Yahia Shabara
Thank you Sujith for your help ___ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-02 Thread Mathy Vanhoef
Hi Yahia, You can disable both virtual and physical carrier sensing (physical: detecting that someone else is currently transmitting, virtual: channel is marked as reserved due the a RTS/CTS). You can also disable the back-off algorithm or modify its timeouts. I recently did this in a paper

Re: [ath9k-devel] Disabling physical spectrum sensing

2015-01-02 Thread Sujith Manoharan
Yahia Shabara wrote: I am doing an experiment that involves implementing a proposed channel access scheme and I need to enable or disable physical spectrum sensing in a dynamic manner. In addition to disabling the back-off time intended for collision avoidance since my experiment and system

[ath9k-devel] Disabling physical spectrum sensing

2015-01-02 Thread Yahia Shabara
hi, Is it possible to disable physical spectrum sensing? I am doing an experiment that involves implementing a proposed channel access scheme and I need to enable or disable physical spectrum sensing in a dynamic manner. In addition to disabling the back-off time intended for collision avoidance