Re: [ath5k-devel] Rookie needs helps with ath5k basics
Hi, right. The default NIC EEPROM setup doesn't include those channels because they haven't tested them out. If you have an 802.11p regulatory compliant NIC then it should have the 11p frequencies show up in the EEPROM channel range. So you should definitely first check that the NIC EEPROM has those as available channels. :) -adrian On 7 November 2014 07:04, Bruno Randolf b...@einfach.org wrote: Hi, I don't remember all the details but there are various places which can limit the available channels in ath5k. Check ath5k_is_standard_channel() ath5k_setup_channels() ath5k_setup_bands() in drivers/net/wireless/ath/ath5k/base.c Good luck! bruno On 11/07/2014 02:27 PM, Sergey Ryazanov wrote: Cc linux-wireless since Rostislav Lisovy just working on adding 802.11p to the stack. 2014-11-07 16:49 GMT+03:00 Hernán Maximiliano González Calderón hernan.gonzalez.calde...@gmail.com: Hello everyone, I am still working to adapt the ath5k module to transmit in the 5850..5925GHz range, in order to comply with IEEE 802.11p requirements. Our plan is to liberate the code to the community as soon as we develop it. I have already compiled a new regdomains database with wireless-regdb and crda, and we are using the module in ATH5K_TEST_CHANNELS mode. The database is now defined as follows: (2402 - 2472 @ 40), (3, 27) (5170 - 5250 @ 40), (3, 17) (5250 - 5330 @ 40), (3, 20) (5490 - 5600 @ 40), (3, 20) (5650 - 5710 @ 40), (3, 20) (5735 - 5835 @ 40), (3, 30) (5835 - 5925 @ 10), (3, 30) However, when I execute iw wlan1 ibss join TFG 5850 it returns the -22 error number, indicating that we are using a frequency not defined. 2014-02-19 17:22 GMT+01:00 Hernán Maximiliano González Calderón hernan.gonzalez.calde...@gmail.com: Thanks for the quick reply and sorry for not giving an answer until now, but first I had to talk with my project advisor. The reason we chose ath5k was that the cards we bought used it and all information we gather about this kind of projects were related to that driver. I also have talked with my advisor and whatever we accomplish will come back to the community. I am just starting with the project and I am needing some guides, the tips and info you all gave me will be very helpful. I will keep on working and will tell you if I get something done. Thanks a lot, Hernán M. G. C. 2014-02-18 2:03 GMT+01:00 Adrian Chadd adr...@freebsd.org: ... because some of the 802.11p NICs are actually ath5k NICs that have the relevant bandpass filters for 5.9GHz and high output amplifiers. -a On 17 February 2014 01:27, Holger Schurig holgerschu...@gmail.com wrote: Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
On Fri, Nov 07, 2014 at 02:49:35PM +0100, Hernán Maximiliano González Calderón wrote: However, when I execute iw wlan1 ibss join TFG 5850 it returns the -22 error number, indicating that we are using a frequency not defined. Said channel also needs to show up when you do 'iw phy0 info' -- you might need to modify the driver suitably if you haven't already. A fun hack to find out where -EINVAL comes from: http://lwn.net/Articles/614446/ -- Bob Copeland %% http://bobcopeland.com/ ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
Hi, I don't remember all the details but there are various places which can limit the available channels in ath5k. Check ath5k_is_standard_channel() ath5k_setup_channels() ath5k_setup_bands() in drivers/net/wireless/ath/ath5k/base.c Good luck! bruno On 11/07/2014 02:27 PM, Sergey Ryazanov wrote: Cc linux-wireless since Rostislav Lisovy just working on adding 802.11p to the stack. 2014-11-07 16:49 GMT+03:00 Hernán Maximiliano González Calderón hernan.gonzalez.calde...@gmail.com: Hello everyone, I am still working to adapt the ath5k module to transmit in the 5850..5925GHz range, in order to comply with IEEE 802.11p requirements. Our plan is to liberate the code to the community as soon as we develop it. I have already compiled a new regdomains database with wireless-regdb and crda, and we are using the module in ATH5K_TEST_CHANNELS mode. The database is now defined as follows: (2402 - 2472 @ 40), (3, 27) (5170 - 5250 @ 40), (3, 17) (5250 - 5330 @ 40), (3, 20) (5490 - 5600 @ 40), (3, 20) (5650 - 5710 @ 40), (3, 20) (5735 - 5835 @ 40), (3, 30) (5835 - 5925 @ 10), (3, 30) However, when I execute iw wlan1 ibss join TFG 5850 it returns the -22 error number, indicating that we are using a frequency not defined. 2014-02-19 17:22 GMT+01:00 Hernán Maximiliano González Calderón hernan.gonzalez.calde...@gmail.com: Thanks for the quick reply and sorry for not giving an answer until now, but first I had to talk with my project advisor. The reason we chose ath5k was that the cards we bought used it and all information we gather about this kind of projects were related to that driver. I also have talked with my advisor and whatever we accomplish will come back to the community. I am just starting with the project and I am needing some guides, the tips and info you all gave me will be very helpful. I will keep on working and will tell you if I get something done. Thanks a lot, Hernán M. G. C. 2014-02-18 2:03 GMT+01:00 Adrian Chadd adr...@freebsd.org: ... because some of the 802.11p NICs are actually ath5k NICs that have the relevant bandpass filters for 5.9GHz and high output amplifiers. -a On 17 February 2014 01:27, Holger Schurig holgerschu...@gmail.com wrote: Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
Thanks for the quick reply and sorry for not giving an answer until now, but first I had to talk with my project advisor. The reason we chose ath5k was that the cards we bought used it and all information we gather about this kind of projects were related to that driver. I also have talked with my advisor and whatever we accomplish will come back to the community. I am just starting with the project and I am needing some guides, the tips and info you all gave me will be very helpful. I will keep on working and will tell you if I get something done. Thanks a lot, Hernán M. G. C. 2014-02-18 2:03 GMT+01:00 Adrian Chadd adr...@freebsd.org: ... because some of the 802.11p NICs are actually ath5k NICs that have the relevant bandpass filters for 5.9GHz and high output amplifiers. -a On 17 February 2014 01:27, Holger Schurig holgerschu...@gmail.com wrote: Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
Hi, There are a few things you can do to better understand the driver code. First, knowing how the actual wireless chips works will help you to understand what the driver is trying to accomplish. You can find some of the manuals online. For example, for the AR5213: http://read.pudn.com/downloads89/doc/comm/340359/AR5213_Data_Sheet_0704.pdf For an overview of the ath5k I don't know any recent documents. Best I found was an old MadWifi overview: http://mesh.calit2.net/whzhao/madwifi_summary.pdf Best option is to put printk's in the code and see how it works. Try chaning something / adding something. For a quick introduction to the wireless stack on Linux: http://au-kbc.org/comm/Docs/papers/Vipin_Analysis_of_open_source_WLAN_driver_paper.pdf - Mathy On Mon, Feb 17, 2014 at 10:27 AM, Holger Schurig holgerschu...@gmail.comwrote: Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
Re: [ath5k-devel] Rookie needs helps with ath5k basics
... because some of the 802.11p NICs are actually ath5k NICs that have the relevant bandpass filters for 5.9GHz and high output amplifiers. -a On 17 February 2014 01:27, Holger Schurig holgerschu...@gmail.com wrote: Okay, I admit that I cannot help you, I have no clue on the driver level. But maybe I can help with the methodology. :-) You mention 802.11p (car-to-car-communication). Is there any specific reason you base it on ath5k and not on ath9k? If you look at the number of commits, then you should see that ath9k is much more lively. People are actively working with that code and might be able to be answer more specific questions. Another thing that I noted: I have seen over the years many requests of information from uni projects in this mailing list. But I'm quite unsure if ever something came back into the Linux kernel. How do you plan to tackle that? I have the feeling that people are more likely to cooperate if the work doesn't end up in yet another black hole ... And one tip: ask specific questions, not broad ones. For example, look at what features you need to implement 802.11p. Now look at what OSI level this has to be done, e.g. at hardware level (frequency, bandwidth), driver level, or protocoll layer (mac80211, user-space layer (e.g. wpa_supplicant). That would allow you to ask questions not like Tell me everything, but Oh, I need to do XYZ, where can I do it?. It might even help you in finding your way, e.g. by looking into git commits inside the ath/ath9k subdirectories that might have something to do with what you need. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
[ath5k-devel] Rookie needs helps with ath5k basics
Hi, all Just like that new yorker student (http://comments.gmane.org/gmane.linux.drivers.ath5k.devel/3034) who posted a few years ago I am needing help with ath5k code. I am in my last year and I am doing my final year project, which is related to an implementacion of 802.11p protocol. That is why I need to understand deeply how ath5k driver works. I have pulled the git project from git//git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-testing.git and I have tried to read it without any result at all. Not quite surprising, I know. Then I did a little research and found an analysis of the driver (http://www.softwarefreedom.org/resources/2007/ath5k-code-analysis.html). Even when it seems usefull, it has nothing to do with the source I found, the only file name that matches with the ones I got from git is ath5k.h. I am starting to read Understanding Linux Network, but right now I need something more specific. I can not figure out how to go on with my project and need to know: how the driver works? which are the files related to it? and wich function have them? Thanks a lot, Hernán M. G. C. ___ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel