kernel hack - wi driver - channels available
Date: Mon, 17 Oct 2005 22:37:11 -0500
I'm looking to see if it's possible to override the "range" of
channels a wireless card supports. I just picked up an SMC router and
was able to flash it with the Euro firmware to give me channels 1-13
rather than 1-11, however when i try to force my Siemens ss1021 or
D-Link DWL-520 to 12 or 13 i get "ifconfig: SIOCS80211: Invalid argument".
The datasheet from Siemens shows that card to support 2.41-2.48ghz
which would tell me that it supports all 14 channels, but it also goes
on to state that it is for US/Cananda and does 1-11 only.. i can see by
this that the transciever supports it, but apparently there is a soft
restriction in place.
judging by the code in if_wi.c there is an assumption made..
1- why would it assume 1-11?
2- is there a way to override it?
3- if the card was "told" to change to channel 12 would it be able to do it?
* Query the card for available channels and setup the
* channel table. We assume these are all 11b channels.
buflen = sizeof(val);
if (wi_read_rid(sc, WI_RID_CHANNEL_LIST, &val, &buflen) != 0)
val = htole16(0x1fff); /* assume 1-11 */
KASSERT(val != 0, ("wi_attach: no available channels listed!"));
####### end snippit
thanks for any insite on this. I don't think any HAM opperators
would be affected by a .6-.8mw signal at the extreme edge of their range...
-- - - james <at> hal-pc.org - - "A computer is like an Old Testament God, with a lot of rules and no mercy." - - - - - - - - - - - - - - -