Search Linux Wireless

Re: rt2x00 mesh support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mar 17, 2009, at 9:31 , Ivo van Doorn wrote:
On Monday 16 March 2009, Antonio Marques wrote:
On Mar 16, 2009, at 14:58 , Ivo van Doorn wrote:
On Monday 16 March 2009, António Marques wrote:

As requested, I have attached the output of the script run before and
after
running 'iwlist mesh scan'. Unfortunately there seems to be no
change in
the output. I have also included the queue statistics as these do
change from
one state to the next. Any further pointers to help debug this? I'll
gladly test
any patches that try to address this issue.

The dumps aren't correct, I had forgotten to update the script on
the website
after some API for the rt2x00 debugfs interface changes recently.
Attached is the correct patch.

Ivo
<rt2x00_regdump.sh>

Fixed, new dumps are attached.

Thanks for the dumps, the reason why the beaconing isn't working
is (fortunately) very obvious from the registers point of view.
The "generate beacons" bit is simply not enabled. However the reason
why this bit has not been set escapes me. Could you apply the attached
patch? This will add extra debug messages to the driver to see when the
beacon generation bit is set.

Thanks,

Ivo
<rt73usb.beacon.diff>

Here are the relevant portions of the dmesg with the aforementioned
patch applied.

After interface creation and before 'iwlist mesh scan':

[108544.382327] phy3 -> rt73usb_validate_eeprom: EEPROM recovery - NIC: 0xffef [108544.382332] phy3 -> rt73usb_validate_eeprom: EEPROM recovery - Led: 0xe000 [108544.382334] phy3 -> rt73usb_validate_eeprom: EEPROM recovery - RSSI OFFSET A: 0x0000 [108544.382561] phy3 -> rt2x00_set_chip: Info - Chipset detected - rt: 1300, rf: 0002, rev: 0002573a.
[108544.384587] phy3: Selected rate control algorithm 'minstrel'
[108544.385282] Registered led device: rt73usb-phy3::radio
[108544.385296] Registered led device: rt73usb-phy3::assoc
[108544.385309] Registered led device: rt73usb-phy3::quality
[108544.385995] usbcore: registered new interface driver rt73usb
[108565.147588] phy3 -> rt2x00lib_request_firmware: Info - Loading firmware file 'rt73.bin'.
[108565.147595] rt73usb 2-5:1.0: firmware: requesting rt73.bin
[108565.152149] phy3 -> rt2x00lib_request_firmware: Info - Firmware detected - version: 1.7. [108565.174384] phy3 -> rt73usb_config_intf: Error - TXRX_CSR9 WRITE: 0x000d0000, READ: 0x000d0000 [108565.280398] phy3 -> rt73usb_config_intf: Error - TXRX_CSR9 WRITE: 0x000d0000, READ: 0x000d0000 [108565.385291] phy3 -> rt73usb_write_beacon: Error - TXRX_CSR9 WRITE: 0x00040000, READ: 0x00040000 [108565.492687] phy3 -> rt73usb_kick_tx_queue: Error - TXRX_CSR9 WRITE: 0x001d0000, READ: 0x001d0000 [108565.603206] phy3 -> rt73usb_init_registers: Error - TXRX_CSR9 WRITE: 0x00000000, READ: 0x00000000 [108565.742604] phy3 -> rt73usb_config_duration: Error - TXRX_CSR9 WRITE: 0x00000640, READ: 0x00000640 [108565.863000] phy3 -> rt2x00mac_conf_tx: Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0. [108565.864999] phy3 -> rt2x00mac_conf_tx: Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0. [108565.866996] phy3 -> rt2x00mac_conf_tx: Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0. [108565.869001] phy3 -> rt2x00mac_conf_tx: Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.

After 'iwlist mesh scan':

[108700.626333] phy3 -> rt73usb_config_intf: Error - TXRX_CSR9 WRITE: 0x000d0640, READ: 0x000d0640 [108701.756022] cfg80211: Found new beacon on frequency: 2472 MHz (Ch 13) on phy3 [108701.756031] cfg80211: Enabling active scanning on frequency: 2472 MHz (Ch 13) on phy3 [108701.756034] cfg80211: Enabling beaconing on frequency: 2472 MHz (Ch 13) on phy3 [108701.756037] cfg80211: Enabling active scanning on frequency: 2472 MHz (Ch 13) on phy0 [108701.756039] cfg80211: Enabling beaconing on frequency: 2472 MHz (Ch 13) on phy0 [108702.178713] phy3 -> rt73usb_config_intf: Error - TXRX_CSR9 WRITE: 0x000d0640, READ: 0x000d0640 [108702.287605] phy3 -> rt73usb_write_beacon: Error - TXRX_CSR9 WRITE: 0x00040640, READ: 0x00040640 [108702.395122] phy3 -> rt73usb_kick_tx_queue: Error - TXRX_CSR9 WRITE: 0x001d0640, READ: 0x001d0640

Hope this is useful.

Antonio Marques

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux