ipw2100 ch mask for rfmon, system config & ordinals table 2
Andrea Merello <[email protected]>
| Newsgroups | gmane.linux.drivers.ipw2100.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi! I noticed that in RFMON I cannot set channel 13 (I think also 12 and 14). The channel apparently seems to be set OK but I cannot RX any beacon (there is an AP on 13 here and in managed mode I can see it ). Also if I was on channel 5 where another AP is TXing and I change to 13, iwconfig shows current channel is 13, but the card still passes beacons on ch 5. This in the current 2.6.17 driver release as well as the one from sf net. And I think it was always in this way. Never been different in past. So I noticed that channels masks are set in ipw2100_system_config, that is not called at all when restarting in rfmon. I tryed to add this call without any result. I tryied to change the 3rd parameter of the command by passing REG_CHANNEL_MASK without & ibss_mask and it worked the first time I changed channel to 13. Changing back to, say, 5 and again 13 didn't worked. Quite strange. So I tryied to implement writing of ordinals table two and overwrite IPW_ORD_EEPROM_IBSS_11B_CHANNELS (without calling ipw2100_system_config in rfmon). This appear to work fine. I can see beacons on ch13 without problems.. I'd like to send a patch (that make sure the channel mask remain unchanged in ibss and bss mode), but I'm not really confident about writing ordinals table two. The other way I think is sending system_config, or even restarting the card each time we set channel, but I have not tryed yet. Any clue about this?? Thanks Andrea Merello