wr703n is AP mode.   Version:   AA 12.09  Revision: 36447.  wifi stop work, 
ssid not visible.  This occasionally happen.      I notice others meet same 
problem,

ath79 driver have bug ?     

1> run:  iw wlan scan, have info

[ 2253.530000] ath: phy0: DMA failed to stop in 10 ms AR_CR=0xdeadbeef 
AR_DIAG_SW=0xdeadbeef DMADBG_7=0xdeadbeef
[ 2253.540000] ath: phy0: Could not stop RX, we could be confusing the DMA 
engine when we start RX up
[ 2253.800000] ath: phy0: Failed to stop TX DMA, queues=0x10f!

2> log  /sys/kernel/debug/ieee80211/phy0/ath9k 

---------------------------base_eeprom file

      EEPROM Version :          2
          RegDomain1 :          0
          RegDomain2 :         31
             TX Mask :          1
             RX Mask :          1
          Allow 5GHz :          0
          Allow 2GHz :          1
   Disable 2GHz HT20 :          0
   Disable 2GHz HT40 :          0
   Disable 5Ghz HT20 :          0
   Disable 5Ghz HT40 :          0
          Big Endian :          0
           RF Silent :          0
           BT option :          0
          Device Cap :          0
         Device Type :          4
  Power Table Offset :          0
        Tuning Caps1 :         96
        Tuning Caps2 :          0
 Enable Tx Temp Comp :          1
 Enable Tx Volt Comp :          0
   Enable fast clock :          1
     Enable doubling :          1
  Internal regulator :          1
        Enable Paprd :          1
     Driver Strength :          0
          Quick Drop :          0
   Chain mask Reduce :          0
   Write enable Gpio :          3
   WLAN Disable Gpio :          0
       WLAN LED Gpio :          8
 Rx Band Select Gpio :        255
             Tx Gain :          1
             Rx Gain :          1
              SW Reg :          0
          MacAddress : 00:03:7f:be:f1:f5

---------------------------modal_eeprom  file
   2GHz modal Header :
 Chain0 Ant. Control :        336
 Chain1 Ant. Control :        336
 Chain2 Ant. Control :        336
 Ant. Common Control :        272
Ant. Common Control2 :     139810
           Ant. Gain :          0
       Switch Settle :         44
    Chain0 xatten1DB :          0
    Chain1 xatten1DB :          0
    Chain2 xatten1DB :          0
Chain0 xatten1Margin :          0
Chain1 xatten1Margin :          0
Chain2 xatten1Margin :          0
          Temp Slope :         40
          Volt Slope :          0
      spur Channels0 :        164
      spur Channels1 :          0
      spur Channels2 :          0
      spur Channels3 :          0
      spur Channels4 :          0
 Chain0 NF Threshold :         -1
 Chain1 NF Threshold :          0
 Chain2 NF Threshold :          0
          Quick Drop :          0
       txEndToXpaOff :          0
      xPA Bias Level :          0
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired size :        -30
   5GHz modal Header :
 Chain0 Ant. Control :          0
 Chain1 Ant. Control :          0
 Chain2 Ant. Control :          0
 Ant. Common Control :        272
Ant. Common Control2 :     139810
           Ant. Gain :          0
       Switch Settle :         45
    Chain0 xatten1DB :          0
    Chain1 xatten1DB :          0
    Chain2 xatten1DB :          0
Chain0 xatten1Margin :          0
Chain1 xatten1Margin :          0
Chain2 xatten1Margin :          0
          Temp Slope :         68
          Volt Slope :          0
      spur Channels0 :          0
      spur Channels1 :          0
      spur Channels2 :          0
      spur Channels3 :          0
      spur Channels4 :          0
 Chain0 NF Threshold :         -1
 Chain1 NF Threshold :          0
 Chain2 NF Threshold :          0
          Quick Drop :          0
       txEndToXpaOff :          0
      xPA Bias Level :          0
  txFrameToDataStart :         14
       txFrameToPaOn :         14
      txFrameToXpaOn :         14
              txClip :          3
    ADC Desired size :        -30


---------------------------misc  file
BSSID: 00:00:00:00:00:00
BSSID-MASK: ff:ff:ff:ff:ff:ff
OPMODE: AP
RXFILTER: 0x4497 UCAST MCAST BCAST BEACON PROBEREQ COMP_BAR PSPOLL
INTERRUPT-MASK: 0xf0010473 SWBA CST RX RXHP RXLP BB_WATCHDOG
VIF-COUNTS: AP: 1 STA: 0 MESH: 0 WDS: 0 ADHOC: 0 TOTAL: 1 BEACON-VIF: 1
---------------------------interrupt
                 RXLP:      30963
                 RXHP:          0
              WATHDOG:          0
                RXEOL:          5
                RXORN:          0
                   TX:      15485
                TXURN:          0
                  MIB:          0
                RXPHY:          0
                RXKCM:          0
                 SWBA:     115529
                BMISS:          0
                  BNR:          0
                  CST:          0
                  GTT:          0
                  TIM:          0
               CABEND:          0
             DTIMSYNC:          0
                 DTIM:          0
               TSFOOR:          0
                  MCI:          0
                TOTAL:     161380
SYNC_CAUSE stats:
             Sync-All:          0
              RTC-IRQ:          0
              MAC-IRQ:          0
EEPROM-Illegal-Access:          0
          APB-Timeout:          0
    PCI-Mode-Conflict:          0
          HOST1-Fatal:          0
           HOST1-Perr:          0
       TRCV-FIFO-Perr:          0
          RADM-CPL-EP:          0
  RADM-CPL-DLLP-Abort:          0
   RADM-CPL-TLP-Abort:          0
    RADM-CPL-ECRC-Err:          0
     RADM-CPL-Timeout:          0
    Local-Bus-Timeout:          0
            PM-Access:          0
            MAC-Awake:          0
           MAC-Asleep:          0
     MAC-Sleep-Access:          0
---------------------------recv
               CRC ERR :        527
       DECRYPT CRC ERR :          0
               PHY ERR :          0
               MIC ERR :          0
     PRE-DELIM CRC ERR :          0
    POST-DELIM CRC ERR :          0
      DECRYPT BUSY ERR :          0
         RX-LENGTH-ERR :          0
            RX-OOM-ERR :          0
           RX-RATE-ERR :          0
     RX-TOO-MANY-FRAGS :          0
          UNDERRUN ERR :          0
            TIMING ERR :          0
            PARITY ERR :          0
              RATE ERR :          0
            LENGTH ERR :          0
             RADAR ERR :          0
           SERVICE ERR :          0
               TOR ERR :          0
       OFDM-TIMING ERR :          0
OFDM-SIGNAL-PARITY ERR :          0
         OFDM-RATE ERR :          0
       OFDM-LENGTH ERR :          0
   OFDM-POWER-DROP ERR :          0
      OFDM-SERVICE ERR :          0
      OFDM-RESTART ERR :          0
   FALSE-RADAR-EXT ERR :          0
        CCK-TIMING ERR :          0
    CCK-HEADER-CRC ERR :          0
          CCK-RATE ERR :          0
       CCK-SERVICE ERR :          0
       CCK-RESTART ERR :          0
        CCK-LENGTH ERR :          0
    CCK-POWER-DROP ERR :          0
            HT-CRC ERR :          0
         HT-LENGTH ERR :          0
           HT-RATE ERR :          0
           RX-Pkts-All :      30461
          RX-Bytes-All :    7186457
            RX-Beacons :      28804
              RX-Frags :          0

---------------------------xmit  file
Num-Tx-Queues: 10  tx-queues-setup: 0x10f poll-work-seen: 1481
                            BE         BK        VI        VO
MPDUs Queued:              107          0         0        50
MPDUs Completed:           107          0         0        50
MPDUs XRetried:              0          0         0         0
Aggregates:                  0          0         0         0
AMPDUs Queued HW:          879          0         0         0
AMPDUs Queued SW:            7          0         0         0
AMPDUs Completed:          886          0         0         0
AMPDUs Retried:              0          0         0         0
AMPDUs XRetried:             0          0         0         0
FIFO Underrun:               0          0         0         0
TXOP Exceeded:               0          0         0         0
TXTIMER Expiry:              0          0         0         0
DESC CFG Error:              0          0         0         0
DATA Underrun:               0          0         0         0
DELIM Underrun:              0          0         0         0
TX-Pkts-All:               993          0         0        50
TX-Bytes-All:           115294          0         0      7143
hw-put-tx-buf:             993          0         0        50
hw-tx-start:                 0          0         0         0
hw-tx-proc-desc:             0          0         0         0
TX-Failed:                   0          0         0         0
txq-memory-address:   80ed61b4   80ed6230  80ed6138  80ed60bc
axq-qnum:                    2          3         1         0
axq-depth:                   0          0         0         0
axq-ampdu_depth:             0          0         0         0
axq-stopped                  0          0         0         0
tx-in-progress               0          0         0         0
pending-frames               0          0         0         0
txq_headidx:                 1          0         0         2
txq_tailidx:                 1          0         0         2
axq_q empty:                   1          1         1         1
axq_acq empty:                 1          1         1         1
txq_fifo[0] empty:             1          1         1         1
txq_fifo[1] empty:             1          1         1         1
txq_fifo[2] empty:             1          1         1         1
txq_fifo[3] empty:             1          1         1         1
txq_fifo[4] empty:             1          1         1         1
txq_fifo[5] empty:             1          1         1         1
txq_fifo[6] empty:             1          1         1         1
txq_fifo[7] empty:             1          1         1         1


------------------reset  file
    Baseband Hang:  0
Baseband Watchdog:  0
   Fatal HW Error:  0
      TX HW error:  0
     TX Path Hang:  0
      PLL RX Hang:  0






2013-08-01 



xuming_lee 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to