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; > > |