Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Sujith Manoharan
Janusz Dziedzic wrote: Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p scan failed. Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- @Felix, Sujith please review.

Re: [ath9k-devel] Connecting multiple times to same base station

2015-06-15 Thread Michal Kazior
On 15 June 2015 at 09:47, Kilian Risse kri...@student.ethz.ch wrote: Hi all I tried to simulate multiple clients through a single ar93xx card. I noticed that even though I connect with the base station multiple times through several interfaces, the MAC address with which I send packets (and

Re: [ath9k-devel] Connecting multiple times to same base station

2015-06-15 Thread Kilian Risse
Thanks for the reply! I think I explained my problem poorly - I'll try again; I have an access point and 2 computers. One connected to the AP by ethernet (PC0) and the other by wlan (PC1). In order to simulate several clients in the wlan I multiplex the card of PC1. The problem is that all

Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Janusz Dziedzic
On 15 June 2015 at 12:33, Sujith Manoharan suj...@msujith.org wrote: Janusz Dziedzic wrote: Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we would like to run p2p_find. Before p2p scan failed. Signed-off-by: Janusz

Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Janusz Dziedzic
On 15 June 2015 at 13:38, Janusz Dziedzic janusz.dzied...@tieto.com wrote: On 15 June 2015 at 12:33, Sujith Manoharan suj...@msujith.org wrote: Janusz Dziedzic wrote: Add p2p dev support when ath9k loaded with use_chanctx=1. This will fix problem, when first interface is an AP and next we

Re: [ath9k-devel] [RFC] ath9k: allow to receive probe request when offchannel

2015-06-15 Thread Felix Fietkau
On 2015-06-10 07:03, Janusz Dziedzic wrote: This fix problem that p2p group negotiation didn't work correctly when chanctx used, because we didn't receive probe requests when offchannel and use_chanctx=1 Signed-off-by: Janusz Dziedzic janusz.dzied...@tieto.com --- @Felix, Sujith could you

Re: [ath9k-devel] [RFC] ath9k: allow to receive probe request when offchannel

2015-06-15 Thread Janusz Dziedzic
adding Sujith correct mail On 10 June 2015 at 07:03, Janusz Dziedzic janusz.dzied...@tieto.com wrote: This fix problem that p2p group negotiation didn't work correctly when chanctx used, because we didn't receive probe requests when offchannel and use_chanctx=1 Signed-off-by: Janusz Dziedzic

Re: [ath9k-devel] [RFC] ath9k: allow to receive probe request when offchannel

2015-06-15 Thread Sujith Manoharan
Janusz Dziedzic wrote: case ATH_OFFCHANNEL_ROC_START: + /* Allow to receive probe requests */ + rfilt = ath_calcrxfilter(sc); + rfilt |= ATH9K_RX_FILTER_PROBEREQ; + ath9k_hw_setrxfilter(sc-sc_ah, rfilt); +

Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Sujith Manoharan
Janusz Dziedzic wrote: At least the callbacks for adding/removing interfaces need to be handled ? Strange, but I didn't hit any problem yet with my simple patch. Ok. But I am not very familiar with how p2p-device is supposed to be used... Sujith

Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Sujith Manoharan
Arend van Spriel wrote: The p2p-device is designed to be used for p2p discovery and p2p action frame exchange. It make it easier for driver and/or firmware to determine if user-space request is p2p related or not. However, in discussions with Jouni I got the impression that ath (or qca)

Re: [ath9k-devel] [RFC] ath9k: advertise p2p dev support when chanctx

2015-06-15 Thread Arend van Spriel
+ Jouni On 06/15/15 17:47, Sujith Manoharan wrote: Janusz Dziedzic wrote: At least the callbacks for adding/removing interfaces need to be handled ? Strange, but I didn't hit any problem yet with my simple patch. Ok. But I am not very familiar with how p2p-device is supposed to be used...

[ath9k-devel] Connecting multiple times to same base station

2015-06-15 Thread Kilian Risse
Hi all I tried to simulate multiple clients through a single ar93xx card. I noticed that even though I connect with the base station multiple times through several interfaces, the MAC address with which I send packets (and am associated to the access point) remains the same; the one of the