Skip to contentSkip to conversation

Adhoc-demo support in ath9k

ath9k-devel ming li 4 participants 6 messages Mar 11, 2009 – Mar 24, 2009

lore
Share & tools
lore

ming li

author
#0 lore raw

Folks,

I am wondering how hard it is to add support for ahdemo mode in ath9k. My understanding of ahdemo is that it does not have the beacons or the association process as in adhoc mode. Does this mean that I can just comment out the beacon and association code of adhoc mode and make it ahdemo? Any info will be highly appreciated.

Thanks

#1 lore raw

Hi,

I asked this some time back but did not get any reply. I am just wondering if there is any easy way to implement adhoc-demo mode in ath9k. Thanks a lot.

Ming

Quoted 10 lines · ming li

Folks,

I am wondering how hard it is to add support for ahdemo mode in ath9k. My understanding of ahdemo is that it does not have the beacons or the association process as in adhoc mode. Does this mean that I can just comment out the beacon and association code of adhoc mode and make it ahdemo? Any info will be highly appreciated.

Thanks

#2 lore raw
Quoted 5 lines · ming li

Hi,

I asked this some time back but did not get any reply. I am just wondering if there is any easy way to implement adhoc-demo mode in ath9k. Thanks a lot.

Custom vendor solutions are kept out of mac80211, nl80211 and cfg80211 so no, you will not see ahdemo, turbo or any of those custom vendor solutions with ath9k or even ath5k.

Luis

#3 lore raw
In reply to ming li
Quoted 3 lines · ming li

I asked this some time back but did not get any reply. I am just wondering if there is any easy way to implement adhoc-demo mode in ath9k.

This should not be in any way specific to ath9k, i.e., this type of functionality can be implemented in mac80211 (Linux kernel IEEE 802.11 stack). So yes, it could be made to work with ath9k. However, adhoc-demo mode is not a standard compliant operation mode and I'm not sure whether there is any complete specification on what exactly it means and depending on the implementation choices, this may or may not interoperate with other implementations.

Could you please describe what you would be using adhoc-demo mode for so that it would be easier to figure out whether it really is the best option? In general, I would prefer to use time on standard compliant mechanisms wherever reasonable.

- Jouni

#4 lore raw

Hello Jouni,

I just want to avoid the control pkts/mechanisms(association, probe, etc.) in adhoc-mode. Is there any easy way to disable these functions in ath9k? Thanks.

Ming

Quoted 22 lines · Jouni Malinen
Quoted 3 lines · ming li

I asked this some time back but did not get any reply. I am just wondering if there is any easy way to implement adhoc-demo mode in ath9k.

This should not be in any way specific to ath9k, i.e., this type of functionality can be implemented in mac80211 (Linux kernel IEEE 802.11 stack). So yes, it could be made to work with ath9k. However, adhoc-demo mode is not a standard compliant operation mode and I'm not sure whether there is any complete specification on what exactly it means and depending on the implementation choices, this may or may not interoperate with other implementations.

Could you please describe what you would be using adhoc-demo mode for so that it would be easier to figure out whether it really is the best option? In general, I would prefer to use time on standard compliant mechanisms wherever reasonable.

- Jouni

#5 lore raw
Quoted 3 lines · ming li

I just want to avoid the control pkts/mechanisms(association, probe, etc.) in adhoc-mode. Is there any easy way to disable these functions in ath9k?

No, like I mentioned, this type of change is not in scope for ath9k and such changes would happen in mac80211; ath9k cannot modify how the management frames are used.

If you are prepared to modify mac80211 yourself and understand that there may not be much interest in getting the feature included in upstream versions, you can probably do this, but that is quite out-of-scope for this mailing list since none of this is really specific to the driver (ath9k).

- Jouni