1. 30 Nov, 2010 11 commits
  2. 29 Nov, 2010 4 commits
  3. 24 Nov, 2010 6 commits
  4. 22 Nov, 2010 10 commits
    • Felix Fietkau's avatar
      ath9k_htc: fix eeprom access · f8afa42b
      Felix Fietkau authored
      wireless-testing commit a05b5d45
      
      
      ath9k: add support for reading eeprom from platform data on PCI devices
      
      This change moved the initialization of the AH_USE_EEPROM flag from ath9k_hw
      to ath9k. This needs to be added to ath9k_htc as well
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      f8afa42b
    • Felix Fietkau's avatar
      ath9k_hw: fix A-MPDU key search issues on AR9003 · 02d2ebb2
      Felix Fietkau authored
      
      
      Under load, a large number of frames can produce decryption errors, even when
      no key cache update is being done. Performing a key search for every single
      frame in an A-MPDU improves reliability.
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      02d2ebb2
    • Joe Perches's avatar
      carl9170: Use static const · 5653a63d
      Joe Perches authored
      
      
      Using static const generally increases object text and decreases data size.
      It also generally decreases overall object size.
      
         text	   data	    bss	    dec	    hex	filename
         1897	     56	    672	   2625	    a41	drivers/net/wireless/ath/carl9170/cmd.o.new
         1897	     56	    672	   2625	    a41	drivers/net/wireless/ath/carl9170/cmd.o.old
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      5653a63d
    • Joe Perches's avatar
      ath9k: Use static const · 07b2fa5a
      Joe Perches authored
      
      
      Using static const generally increases object text and decreases data size.
      It also generally decreases overall object size.
      
         text	   data	    bss	    dec	    hex	filename
        11161	     56	   2136	  13353	   3429	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.new
        11167	     56	   2136	  13359	   342f	drivers/net/wireless/ath/ath9k/ar9003_paprd.o.old
        15428	     56	   3056	  18540	   486c	drivers/net/wireless/ath/ath9k/eeprom_4k.o.old
        15451	     56	   3056	  18563	   4883	drivers/net/wireless/ath/ath9k/eeprom_4k.o.new
        14087	     56	   2560	  16703	   413f	drivers/net/wireless/ath/ath9k/eeprom_9287.o.old
        14036	     56	   2560	  16652	   410c	drivers/net/wireless/ath/ath9k/eeprom_9287.o.new
        10041	     56	   2384	  12481	   30c1	drivers/net/wireless/ath/ath9k/ani.o.new
        10088	     56	   2384	  12528	   30f0	drivers/net/wireless/ath/ath9k/ani.o.old
         9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.new
         9316	   1580	   2304	  13200	   3390	drivers/net/wireless/ath/ath9k/htc_drv_init.o.old
        16483	     56	   3432	  19971	   4e03	drivers/net/wireless/ath/ath9k/ar9003_phy.o.new
        16517	     56	   3432	  20005	   4e25	drivers/net/wireless/ath/ath9k/ar9003_phy.o.old
        18221	    104	   2960	  21285	   5325	drivers/net/wireless/ath/ath9k/rc.o.old
        18203	    104	   2960	  21267	   5313	drivers/net/wireless/ath/ath9k/rc.o.new
        19985	     56	   4288	  24329	   5f09	drivers/net/wireless/ath/ath9k/eeprom_def.o.new
        20040	     56	   4288	  24384	   5f40	drivers/net/wireless/ath/ath9k/eeprom_def.o.old
        23997	     56	   4984	  29037	   716d	drivers/net/wireless/ath/ath9k/ar5008_phy.o.old
        23846	     56	   4984	  28886	   70d6	drivers/net/wireless/ath/ath9k/ar5008_phy.o.new
        24285	     56	   3184	  27525	   6b85	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.old
        24101	     56	   3184	  27341	   6acd	drivers/net/wireless/ath/ath9k/ar9003_eeprom.o.new
         6834	     56	   1032	   7922	   1ef2	drivers/net/wireless/ath/ath9k/ar9002_phy.o.old
         6780	     56	   1032	   7868	   1ebc	drivers/net/wireless/ath/ath9k/ar9002_phy.o.new
        36211	     64	   8624	  44899	   af63	drivers/net/wireless/ath/ath9k/hw.o.new
        36401	     64	   8624	  45089	   b021	drivers/net/wireless/ath/ath9k/hw.o.old
         9281	     56	   1496	  10833	   2a51	drivers/net/wireless/ath/ath9k/ar9003_calib.o.old
         9150	     56	   1496	  10702	   29ce	drivers/net/wireless/ath/ath9k/ar9003_calib.o.new
      
      Use ARRAY_SIZE instead of a magic number.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      07b2fa5a
    • Joe Perches's avatar
      ath5k: Use static const · 8b22523b
      Joe Perches authored
      
      
      Using static const generally increases object text and decreases data size.
      It also generally decreases overall object size.
      
         text	   data	    bss	    dec	    hex	filename
        11266	     56	   2464	  13786	   35da	drivers/net/wireless/ath/ath5k/ani.o.old
        11181	     56	   2464	  13701	   3585	drivers/net/wireless/ath/ath5k/ani.o.new
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      8b22523b
    • Joe Perches's avatar
      ar9170: Use const · 85be3d98
      Joe Perches authored
      
      
      Mark an array const.
      Signed-off-by: default avatarJoe Perches <joe@perches.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      85be3d98
    • Christian Lamparter's avatar
      carl9170: fix init-self regression · a9ab2113
      Christian Lamparter authored
      
      
      The commit: "carl9170: tx path review" introduced a regression.
      
      gcc (with -Winit-self):
      tx.c:1264: warning: ‘super’ is used uninitialized in this function
      Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      a9ab2113
    • Felix Fietkau's avatar
    • Christian Lamparter's avatar
      carl9170: fix virtual interface setup crash · b397492a
      Christian Lamparter authored
      
      
      This patch fixes a faulty bound check which caused a
      crash when too many virtual interface were brought up.
      
      BUG: unable to handle kernel NULL pointer dereference at 00000004
      IP: [<f8125f67>] carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      *pde = 00000000
      Oops: 0002 [#1] PREEMPT
      Modules linked in: carl9170 [...]
      Pid: 4720, comm: wpa_supplicant Not tainted 2.6.37-rc2-wl+
      EIP: 0060:[<f8125f67>] EFLAGS: 00210206 CPU: 0
      EIP is at carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      EAX: 00000000 ...
      Process wpa_supplicant
      Stack:
       f4f88f34 fffffff4 ..
      Call Trace:
       [<f8f4e666>] ? ieee80211_do_open+0x406/0x5c0 [mac80211]
       [...]
      Code: <89> 42 04 ...
      EIP: [<f8125f67>] carl9170_op_add_interface+0x1d7/0x2c0 [carl9170]
      CR2: 0000000000000004
      Signed-off-by: default avatarChristian Lamparter <chunkeey@googlemail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      b397492a
    • Felix Fietkau's avatar
      ath9k: fix timeout on stopping rx dma · d47844a0
      Felix Fietkau authored
      
      
      It seems that using ath9k_hw_stoppcurecv to stop rx dma is not enough.
      When it's time to stop DMA, the PCU is still busy, so the rx enable
      bit never clears.
      Using ath9k_hw_abortpcurecv helps with getting rx stopped much faster,
      with this change, I cannot reproduce the rx stop related WARN_ON anymore.
      Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>
      Cc: stable@kernel.org
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      d47844a0
  5. 18 Nov, 2010 4 commits
  6. 17 Nov, 2010 5 commits