Re: [Madwifi-devel] Help required in understandingMadWifiinitialization and card setup
"Tom Sharples" <[email protected]> Tue, 1 Jun 2010 20:45:45 -0700
| Newsgroups | gmane.linux.drivers.madwifi.user,gmane.linux.drivers.madwifi.devel |
|---|---|
| Message-ID | <DE1158D02D244BD5AB47D3A2875DB0E6@qlaptop2> |
You might also want to take a look here: http://madwifi-project.org/ticket/2316 Using hal-testing r4068 we were able to get 1/2 and 1/4 channel capability on 900Mhz and 4.9Ghz by setting the countrycodes to 843 and 842 respectively. This did NOT work on trunk, however, as of about 9 months ago. I don't know whether whatever made it work on hal-testing has been ported to trunk in the meanwhile. Tom S. ----- Original Message ----- From: "Brett Wright" <[email protected]> To: "Aditya Bhave" <[email protected]>; <[email protected]>; <[email protected]> Sent: Tuesday, June 01, 2010 7:29 PM Subject: Re: [Madwifi-devel] Help required in understandingMadWifiinitialization and card setup > Hi, > > You need to set a reg domain that supports half and quarter channels > (you may have to add/modify to get the functionality you want). > Have a look at struct regDomain in ah_regdomain.c > In particular the parameters chan11g_quarter, chanllg_half, etc. > The reg domain you are using will have to assign an appropriate > REG_DMN_FREQ_BAND to these parameters with corresponding channelBW set. > > Once these half/quarter channels exist for your regdomain, they are > differentiated by appropriate bits of the channelFlags parameter of an > ieee80211_channel structure - take a look at ath_getchannels() in > if_ath.c to get a good idea where the channel structures are set and > what they contain. Ultimately, these are the channels/bandwidths that > you can then specify. > > Brett > >> -----Original Message----- >> From: Aditya Bhave [mailto:[email protected]] >> Sent: Wednesday, 2 June 2010 12:07 PM >> To: [email protected]; madwifi- >> [email protected] >> Subject: [Madwifi-devel] Help required in understanding >> MadWifiinitialization and card setup >> >> Hi, >> >> I needed some help in understanding what happens during MadWifi >> initialization? What functions get called and in what order? Which >> function initializes the card through the HAL and so on. Specifically, >> Im looking to implement 5/10 MHz channel widths on Madwifi and I know >> that this requires modifying parts of the ath_reset() and ath_init() >> methods as well as adding regulatory support in ah_regdomain.c. Can >> someone please guide me on this? Specifically, >> >> 1. How does the driver know which channels are supported by the card? >> Which HAL functions does it call and what data structures represent >> channels? >> 2. How and where does the driver tell the card to use a specific > channel >> center frequency and width? >> >> Many thanks for your help >> --Aditya Bhave >> >> > ------------------------------------------------------------------------ > -- >> ---- >> >> _______________________________________________ >> Madwifi-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/madwifi-devel >> >> >> > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Madwifi-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/madwifi-devel -------------------------------------------------------------------------------- Internal Virus Database is out of date. Checked by AVG - www.avg.com Version: 8.5.435 / Virus Database: 271.1.1/2675 - Release Date: 02/08/10 07:35:00 ------------------------------------------------------------------------------