From: Ivo v. D. <iv...@gm...> - 2005-07-23 16:39:40
|
Hi, This patch will add support for the Hiperlan2 channels which are available = for=20 Europe. Patch is against ieee80211 1.0.3. Signed-Off-By: Ivo van Doorn <Iv...@gm...> IvD diff -U 3 -H -w -E -d -r -N -- ieee80211-1.0.3/ieee80211_geo.c=20 ieee80211-1.0.3-hiperlan/ieee80211_geo.c =2D-- ieee80211-1.0.3/ieee80211_geo.c 2005-07-15 01:53:35.000000000 +0200 +++ ieee80211-1.0.3-hiperlan/ieee80211_geo.c 2005-07-21 15:32:00.000000000= =20 +0200 @@ -82,6 +82,12 @@ { 5220, 44}, { 5240, 48}, { 5260, 52, 1 }, { 5280, 56, 1 }, { 5300, 60, 1 }, { 5320, 64, 1 }, + { 5500, 100 }, { 5520, 104 }, + { 5540, 108 }, { 5560, 112 }, + { 5580, 116 }, { 5600, 120 }, + { 5620, 124 }, { 5640, 128 }, + { 5660, 132 }, { 5680, 136 }, + { 5700, 140}, { 5745,149}, { 5765,153}, { 5785,157}, { 5805,161} }, }, diff -U 3 -H -w -E -d -r -N -- ieee80211-1.0.3/net/ieee80211.h=20 ieee80211-1.0.3-hiperlan/net/ieee80211.h =2D-- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 01:53:35.000000000 +0200 +++ ieee80211-1.0.3-hiperlan/net/ieee80211.h 2005-07-21 15:36:59.000000000= =20 +0200 @@ -735,7 +735,7 @@ =20 #define IEEE80211_52GHZ_MIN_CHANNEL 36 #define IEEE80211_52GHZ_MAX_CHANNEL 161 =2D#define IEEE80211_52GHZ_CHANNELS 16 +#define IEEE80211_52GHZ_CHANNELS 27 =20 struct ieee80211_channel { u16 freq; |
From: James K. <jke...@li...> - 2005-07-28 20:48:27
|
Ivo van Doorn wrote: >Hi, > >This patch will add support for the Hiperlan2 channels which are available for >Europe. > > As a result of the variances across geographies and various manufacturers hardware cards, and the channels they support and have tested against, we're moving the channel maps out of the ieee80211_geo code and back into the drivers. Otherwise we'll end up with a mismatch of what the ieee80211_geo code thinks is supported vs. what may actually be supported by the cards. The ieee80211_geo code will provide some helper functions for verifying channels, etc. but the actual channel maps will need to come from the drivers themselves. I'll be putting up some updated code in GIT tomorrow that does this. James >Patch is against ieee80211 1.0.3. > >Signed-Off-By: Ivo van Doorn <Iv...@gm...> > >IvD > > >diff -U 3 -H -w -E -d -r -N -- ieee80211-1.0.3/ieee80211_geo.c >ieee80211-1.0.3-hiperlan/ieee80211_geo.c >--- ieee80211-1.0.3/ieee80211_geo.c 2005-07-15 01:53:35.000000000 +0200 >+++ ieee80211-1.0.3-hiperlan/ieee80211_geo.c 2005-07-21 15:32:00.000000000 >+0200 >@@ -82,6 +82,12 @@ > { 5220, 44}, { 5240, 48}, > { 5260, 52, 1 }, { 5280, 56, 1 }, > { 5300, 60, 1 }, { 5320, 64, 1 }, >+ { 5500, 100 }, { 5520, 104 }, >+ { 5540, 108 }, { 5560, 112 }, >+ { 5580, 116 }, { 5600, 120 }, >+ { 5620, 124 }, { 5640, 128 }, >+ { 5660, 132 }, { 5680, 136 }, >+ { 5700, 140}, > { 5745,149}, { 5765,153}, > { 5785,157}, { 5805,161} }, > }, >diff -U 3 -H -w -E -d -r -N -- ieee80211-1.0.3/net/ieee80211.h >ieee80211-1.0.3-hiperlan/net/ieee80211.h >--- ieee80211-1.0.3/net/ieee80211.h 2005-07-15 01:53:35.000000000 +0200 >+++ ieee80211-1.0.3-hiperlan/net/ieee80211.h 2005-07-21 15:36:59.000000000 >+0200 >@@ -735,7 +735,7 @@ > > #define IEEE80211_52GHZ_MIN_CHANNEL 36 > #define IEEE80211_52GHZ_MAX_CHANNEL 161 >-#define IEEE80211_52GHZ_CHANNELS 16 >+#define IEEE80211_52GHZ_CHANNELS 27 > > struct ieee80211_channel { > u16 freq; > > |
From: Pedro R. <ram...@se...> - 2005-07-28 23:23:47
|
James Ketrenos wrote: > Ivo van Doorn wrote: > > >>Hi, >> >>This patch will add support for the Hiperlan2 channels which are available for >>Europe. >> >> > > As a result of the variances across geographies and various > manufacturers hardware cards, and the channels they support and have > tested against, we're moving the channel maps out of the ieee80211_geo > code and back into the drivers. Otherwise we'll end up with a mismatch > of what the ieee80211_geo code thinks is supported vs. what may actually > be supported by the cards. > > The ieee80211_geo code will provide some helper functions for verifying > channels, etc. but the actual channel maps will need to come from the > drivers themselves. > > I'll be putting up some updated code in GIT tomorrow that does this. > > James I think it would be nice to maintain some default tables in ieee80211 so that drivers that use the most "standard" tables, need not define them. I expect that there are some "standard" tables (USA/EU/Japan) plus "maximum" (all channels possible) and "minimum" (channels common to all regions/countries) tables. So it should probably be good to have some sanitized standard tables and then allow a driver to choose to use those or provide their own. It would also be nice to have the tables named so that in the future a user can get the name of the table it is using some API or application and know which set of channels a card supports ex: "USA", "EU", "Japan", "USA+12", etc.. Just a thought =:-) -- Pedro Ramalhais |