|
From: Heiko Z. <he...@zu...> - 2014-07-27 19:50:08
|
Hi, I don't think this is the right mailing list to address this issue. You're asking about questions which relate to programming on a driver level. Heiko Quoting "Hernán M. GonzálezCalderón" <her...@gm...>: > Hello again, I have already written here because of the same subject 5 > months ago, my final year project > (http://thread.gmane.org/gmane.linux.drivers.ath5k.devel/5651). I come here > asking what would be the best way of understanding ath5k driver in order to > get an 802.11p implementation based on that driver. Nowadays I have managed > to get some of the basics about it thanks to your help and a huge amount of > "printks", but regarding to the implementation issue I couldn't achieve > anything. > > My ordered change-needs list is: > > - Change emiting band to 5.9GHz > - Change bandwith to 10MHz (1/2 802.11p) > - Set rest of parameters of 802.11p > - Implement protocol stack of 802.11p > > Maybe is a bit naive for a list, but so far I haven't acomplished even the > first item so I won't worry about the rest right now. > > I guess that there are two ways of doing it. First, add a new mode for P or, > Second, modify A mode to get an P implementation. > > I'm into the first posibility. Now I'm triying to modify little by little > the driver and related files in order to add a new mode beside 80211A, > 80211B, ... But after all this time and the changes made I coudn't even > change channel with "iw" to one of the P channels. I have added a new > ieee80211_band band for 5.9HGz bands (in cfg80211.h), I have added a new > ath5k_driver_mode PHY operation mode (in ath5k.h)... I know these changes > won't get the thing done by their own, since I just add new elements to > serverals enums, but I didn't expect them to "break" the driver. Jet, the > initilization is failing from the beginning and it can't register the card. > > My first thought is that adding new elements to those enums could alter the > offests and the access to that structures is not being done the proper way. > And this make me thinks, "Wouldn't be easier just modify what is already > done and trasnform A to P, instead of create a new op mode?". I guess it is, > so is there anyone here anyway that could anser me that? Or is there anyone > here who could give me some hints about it? Right now I would be happy just > being able to set the channel to one included in the 5,9GHz band by using > "iw" or "iwconfig". > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss -- Regards Heiko Zuerker |