Re: [Madwifi-devel] channel bandwidth 5/10 MHz operation
Status: Beta
Brought to you by:
otaku
From: Dino J. M. <din...@ya...> - 2009-06-16 12:04:41
|
Hasan, i had added a test version with freq enabling from 5520 to 5900 in half and quarter bandwidth, pasted teh code below. After doing the below changes if i put wlanconfig ath0 list freq , its showing all the half and quarter bandwidth freq. Now need to configure the madwifi to use a particular bandwidth. Index: ath_hal/ah_regdomain.c =================================================================== --- ath_hal/ah_regdomain.c (revision 4029) +++ ath_hal/ah_regdomain.c (working copy) @@ -957,6 +957,10 @@ #define W2_5180_5240 AFTER(W2_5260_5320) { 5825, 5825, 30, 0, 20, 20, NO_DFS, PSCAN_WWR, 0 }, #define W2_5825_5825 AFTER(W2_5180_5240) + { 5520, 5900, 30, 0, 10, 10, NO_DFS, PSCAN_WWR, 0 }, +#define B1_5520_5900 AFTER(W2_5825_5825) + { 5520, 5900, 30, 0, 5, 5, NO_DFS, PSCAN_WWR, 0 }, +#define B2_5520_5900 AFTER(B1_5520_5900) }; /* @@ -1296,6 +1300,10 @@ .pscan = PSCAN_FCC_T | PSCAN_FCC, .chan11a = BM3(F4_5180_5240, F2_5260_5320, F3_5745_5825), .chan11a_turbo = BM3(T2_5210_5210, T1_5250_5290, T1_5760_5800), +#if 1 /* Dino for channel bandwidth */ + .chan11a_half = BM3(F4_5180_5240, F2_5260_5320, B1_5520_5900), + .chan11a_quarter = BM3(T2_5210_5210, T1_5250_5290, B2_5520_5900), +#endif }, {.regDmnEnum = APL8, Regards, Dino Joseph Mycle --- On Mon, 15/6/09, Hasan Rashid <ha...@di...> wrote: > From: Hasan Rashid <ha...@di...> > Subject: RE: [Madwifi-devel] channel bandwidth 5/10 MHz operation > To: "'Dino Joseph Mycle'" <din...@ya...> > Cc: mad...@li... > Date: Monday, 15 June, 2009, 11:06 PM > Dino, > > Last time I was working on this issue, I couldn't get this > to work. I have > not tried playing with the country codes, I have been > primarily doing my > testing with the US country code (i.e 840). > > At the moment I am trying to figure out a through put drop > issue.. After some > time of connectivity the through put on a link reduces to > 3/4 or 1/2 of the > maximum initially seen upon link up. I will get back to > working on the > channel width issues after rather more pressing issue. > > I will see if I can generate a patch set against the trunk > sometime soon, > and then you can try that. > > Regards, Hasan R. > Explore and discover exciting holidays and getaways with Yahoo! India Travel http://in.travel.yahoo.com/ |