Linux wireless drivers development
 help / color / mirror / Atom feed
* wireless-next-2.6 compile broken
From: Prarit Bhargava @ 2010-06-17 22:50 UTC (permalink / raw)
  To: linux-wireless; +Cc: John W. Linville

John, as I mentioned in my previous email, the wireless-next-2.6 kernel
tree is not compiling.

This is because the wireless-next-2.6 tree is missing linux-2.6 commit
6c1f716e8154ee9315534782b9b1eedea0559a24,  but has wireless-next-2.6
commit 832c10fd733893f86c63bde1c65b005d5a2fe346 ... which explicitly
depends on the linux-2.6 commit.

FYI,

P.

^ permalink raw reply

* pull request: wireless-next-2.6 2010-06-17
From: John W. Linville @ 2010-06-17 21:02 UTC (permalink / raw)
  To: davem; +Cc: linux-wireless, netdev

David,

Another week, another bunch of patches intende for 2.6.36...
This week's batch includes the usual updates to ath5k, ath9k,
iwlwifi, rt2x00, and other drivers.  Also included are a lot of
cleanup/maintenance for mac80211 from Johannes and some IBSS-related
changes from Teemu, as well as a number of other patches from a
variety of contributors.

Please let me know if there are problems!

John

P.S.  This also includes a pull of the 2.6.35 bits I sent yesterday
in order to resolve some merge conflicts.

---

The following changes since commit 4de57826810fd2cfeb2ab5c7d003ff9116b8f7ee:
  Amit Kumar Salecha (1):
        qlcnic: fix register access

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6.git master

Bruno Randolf (17):
      ath5k: more debug prints for resets
      ath5k: rename ath5k_txbuf_free() to ath5k_txbuf_free_skb()
      ath5k: fix some comment typos
      ath5k: fix rx descriptor debugging
      ath5k: print more errors when decriptor setup fails
      ath5k: reset more pointers after we free skbs
      ath5k: unify rx descriptor error handling
      ath5k: split descriptor handling and frame receive
      ath5k: move checks and stats into new function
      ath5k: use direct function calls for descriptors when possible
      ath5k: cosmetic changes in ath5k_hw_proc_5212_rx_status()
      ath5k: remove pointless rx error overlay struct
      ath5k: review and add comments for descriptors
      ath5k: update 5210/5211 frame types
      ath5k: take descriptor differences between 5210 and 5211 into account
      ath5k: review RX descriptor functions
      ath5k: report PHY error frames only for chips which need it

Christoph Fritz (1):
      mac80211: fix warn, enum may be used uninitialized

Dor Shaish (1):
      iwlwifi: Fix null pointer referencing in iwl_dbgfs_rx_queue_read.

Emmanuel Grumbach (2):
      iwlwifi: rename rxq->dma_addr
      iwlwifi: rename iwl4965_rx_mpdu_res_start

Felix Fietkau (20):
      ath9k: fix mac80211 queue lookup for waking up queues
      ath9k_htc: use common WMM AC definitions instead of ath9k ones
      ath9k: remove duplicate WMM AC definitions
      ath9k: remove declarations of some nonexistant functions
      ath9k: make ath_get_hal_qnum static
      ath9k: fix extending the rx timestamp with the hardware TSF
      ath9k: fix queue stopping threshold
      ath9k: add a debugfs entry for ignoring CCA on the extension channel in HT40
      ath9k_hw: remove a useless function for setting the mac address
      ath9k_hw: add register definitions related to PA predistortion
      ath9k_hw: add support for parsing PA predistortion related EEPROM fields
      ath9k_hw: add functions for controlling PA predistortion calibration
      ath9k: implement PA predistortion support
      ath9k_hw: remove ATH9K_CAP_CIPHER
      ath9k_hw: remove ATH9K_CAP_TXPOW
      ath9k_hw: remove ATH9K_CAP_TKIP_MIC
      ath9k_hw: remove ATH9K_CAP_TKIP_SPLIT
      ath9k_hw: remove ATH9K_CAP_MCAST_KEYSRCH
      ath9k/ath9k_htc: remove redundand checks for dual-stream tx support
      ath9k_hw: remove ATH9K_CAP_DS

Helmut Schaa (9):
      rt2x00: clarify meaning of txdone flags
      rt2x00: don't use TXDONE_FALLBACK as success indicator
      rt2x00: only set TXDONE_FALLBACK in rt2800pci if the frame was retried
      rt2x00: Fix IEEE80211_TX_CTL_MORE_FRAMES handling
      rt2x00: Add comment about BBP1_TX_POWER
      rt2x00: Fix TX_STA_FIFO handling
      rt2x00: Fix typo in rt2800_config_txpower
      rt2x00: provide mac80211 a suitable max_rates value
      rt2x00: Fix tx status reporting when falling back to the lowest rate

Ivo van Doorn (5):
      rt2x00: Enable fallback rates for rt61pci and rt73usb
      rt2x00: Update author rt2800lib
      rt2x00: Limit TX done looping to number of TX ring entries
      rt2x00: Enable HW crypto by default
      rt2x00: Synchronize WCID initialization with legacy driver

Joerg Albert (1):
      p54pci: add Symbol AP-300 minipci adapters pciid

Johannes Berg (27):
      iwlwifi: trace full RX
      iwlwifi: print warning about disconnected antennas
      cfg80211/mac80211: allow action frame TX/RX in IBSS
      mac80211: simplify station/aggregation code
      mac80211: use common skb queue
      mac80211: use common work struct
      mac80211: use common work function
      mac80211: common work skb freeing
      mac80211: pull mgmt frame rx into rx handler
      mac80211: always process blockack action from workqueue
      mac80211: move blockack stop due to fragmentation
      mac80211: move aggregation callback processing
      mac80211: use RCU for RX aggregation
      mac80211: use RCU for TX aggregation
      mac80211: remove non-irqsafe aggregation callbacks
      mac80211: refcount aggregation queue stop
      mac80211: make TX aggregation start/stop request async
      mac80211: move BA session work
      mac80211: defer RX agg session teardown to work
      mac80211: fix RX aggregation timer
      mac80211: change RX aggregation locking
      mac80211: defer TX agg session teardown to work
      mac80211: change TX aggregation locking
      mac80211: allow drivers to sleep in ampdu_action
      mac80211: update aggregation documentation
      mac80211: fix mgmt frame accounting
      mac80211: bracket driver tracing

John W. Linville (3):
      iwlwifi: cancel scan watchdog in iwl_bg_abort_scan
      zd1211rw: change ZD_REGDOMAIN_JAPAN_* naming
      Merge branch 'master' of git://git.kernel.org/.../linville/wireless-2.6

Jouni Malinen (2):
      mac80211: Protect Deauthentication frame when using MFP
      mac80211: Use a separate CCMP PN receive counter for management frames

Juuso Oikarinen (2):
      mac80211: Fix circular locking dependency in ARP filter handling
      mac80211: Fix ps-qos network latency handling

Kouhei Sutou (1):
      zd1211rw: add 0x49 -> JP regulatory domain map

Leann Ogasawara (1):
      p54usb: Comment out duplicate Medion MD40900 device id

Luis R. Rodriguez (12):
      ath9k_hw: move clock definitions from hw.c to hw.h
      ath9k_hw: fix clock rate calculations for ANI
      ath9k_hw: clear MIB interrupt causes when skipping ANI adjustments
      ath9k_hw: allow for spliting up ANI operations by family
      ath9k_hw: add register definitions for the new ANI
      ath9k_hw: inform ANI calibration when scanning
      ath9k: add new ANI implementation for AR9003
      ath9k_hw: enable ANI for AR9003
      ath9k_hw: reduce delay on programming INI on AR9003
      ath9k_hw: update 5 GHz tx gain tables for femless and high power PA
      ath9k: enable AR9003 PCI IDs
      ath9k_hw: avoid setting cwmin/cwmax to 0 for IBSS for AR9003

Prarit Bhargava (1):
      libertas_tf: Fix warning in lbtf_rx for stats struct

Reinette Chatre (1):
      iwlwifi: serialize station management actions

Shanyu Zhao (1):
      iwlagn: verify flow id in compressed BA packet

Sujith (1):
      ath9k_htc: Fix ampdu_action callback

Teemu Paasikivi (3):
      mac80211: Set basic rates while joining ibss network
      mac80211: Set changed basic rates flag
      mac80211: remove BSS from cfg80211 list when leaving IBSS

Tim Gardner (1):
      hostap: Protect against initialization interrupt

Wey-Yi Guy (1):
      iwlwifi: cancel run time calibration work when going down

Zhu Yi (1):
      wireless: orphan ipw2x00 drivers

ubuntu@tjworld.net (1):
      ipw2200: Enable LED by default

 Documentation/networking/README.ipw2200            |    2 +-
 MAINTAINERS                                        |   10 +-
 drivers/net/b44.c                                  |  144 ++--
 drivers/net/wireless/ath/ath5k/Makefile            |    1 +
 drivers/net/wireless/ath/ath5k/ani.c               |   20 +-
 drivers/net/wireless/ath/ath5k/ath5k.h             |   19 +-
 drivers/net/wireless/ath/ath5k/attach.c            |    2 -
 drivers/net/wireless/ath/ath5k/base.c              |  373 +++++----
 drivers/net/wireless/ath/ath5k/caps.c              |    7 -
 drivers/net/wireless/ath/ath5k/debug.c             |   79 ++-
 drivers/net/wireless/ath/ath5k/debug.h             |    9 +-
 drivers/net/wireless/ath/ath5k/desc.c              |  152 ++--
 drivers/net/wireless/ath/ath5k/desc.h              |  310 ++++----
 drivers/net/wireless/ath/ath5k/dma.c               |   13 -
 drivers/net/wireless/ath/ath5k/eeprom.c            |    3 +-
 drivers/net/wireless/ath/ath5k/gpio.c              |    7 -
 drivers/net/wireless/ath/ath5k/pcu.c               |   24 -
 drivers/net/wireless/ath/ath5k/phy.c               |   82 +-
 drivers/net/wireless/ath/ath5k/qcu.c               |    9 -
 drivers/net/wireless/ath/ath5k/reset.c             |   64 +--
 drivers/net/wireless/ath/ath5k/sysfs.c             |  116 +++
 drivers/net/wireless/ath/ath9k/Makefile            |    3 +-
 drivers/net/wireless/ath/ath9k/ani.c               |  743 +++++++++++++++++-
 drivers/net/wireless/ath/ath9k/ani.h               |   78 ++-
 drivers/net/wireless/ath/ath9k/ar5008_phy.c        |  372 +++++++++-
 drivers/net/wireless/ath/ath9k/ar9002_hw.c         |  118 ++-
 drivers/net/wireless/ath/ath9k/ar9002_initvals.h   |    6 +-
 drivers/net/wireless/ath/ath9k/ar9002_phy.h        |    7 +
 .../{ar9003_initvals.h => ar9003_2p0_initvals.h}   |  254 +++---
 .../{ar9003_initvals.h => ar9003_2p2_initvals.h}   |  433 +++++-----
 drivers/net/wireless/ath/ath9k/ar9003_calib.c      |   10 +-
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.c     |   13 +-
 drivers/net/wireless/ath/ath9k/ar9003_eeprom.h     |    4 +-
 drivers/net/wireless/ath/ath9k/ar9003_hw.c         |  165 ++++-
 drivers/net/wireless/ath/ath9k/ar9003_mac.c        |   13 +
 drivers/net/wireless/ath/ath9k/ar9003_mac.h        |    5 +
 drivers/net/wireless/ath/ath9k/ar9003_paprd.c      |  714 +++++++++++++++++
 drivers/net/wireless/ath/ath9k/ar9003_phy.c        |  513 ++++++++++---
 drivers/net/wireless/ath/ath9k/ar9003_phy.h        |  298 ++++++--
 drivers/net/wireless/ath/ath9k/ath9k.h             |   85 ++-
 drivers/net/wireless/ath/ath9k/beacon.c            |    3 +-
 drivers/net/wireless/ath/ath9k/common.c            |  314 +-------
 drivers/net/wireless/ath/ath9k/common.h            |   77 +--
 drivers/net/wireless/ath/ath9k/debug.c             |   68 ++-
 drivers/net/wireless/ath/ath9k/debug.h             |    2 +
 drivers/net/wireless/ath/ath9k/eeprom.c            |   29 +
 drivers/net/wireless/ath/ath9k/eeprom.h            |    5 +-
 drivers/net/wireless/ath/ath9k/eeprom_4k.c         |    1 +
 drivers/net/wireless/ath/ath9k/eeprom_9287.c       |  618 ++++++++--------
 drivers/net/wireless/ath/ath9k/eeprom_def.c        |    1 +
 drivers/net/wireless/ath/ath9k/hif_usb.c           |   58 +-
 drivers/net/wireless/ath/ath9k/hif_usb.h           |    2 +
 drivers/net/wireless/ath/ath9k/htc.h               |   37 +-
 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c    |   23 +
 drivers/net/wireless/ath/ath9k/htc_drv_init.c      |  168 +++-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c      |  491 +++++++------
 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c      |   86 ++-
 drivers/net/wireless/ath/ath9k/htc_hst.c           |    3 +-
 drivers/net/wireless/ath/ath9k/hw-ops.h            |   16 +
 drivers/net/wireless/ath/ath9k/hw.c                |  185 ++----
 drivers/net/wireless/ath/ath9k/hw.h                |   91 ++-
 drivers/net/wireless/ath/ath9k/init.c              |   54 +-
 drivers/net/wireless/ath/ath9k/mac.c               |   14 +-
 drivers/net/wireless/ath/ath9k/mac.h               |   13 +-
 drivers/net/wireless/ath/ath9k/main.c              |  411 ++++------
 drivers/net/wireless/ath/ath9k/pci.c               |    1 +
 drivers/net/wireless/ath/ath9k/rc.c                |  184 +++--
 drivers/net/wireless/ath/ath9k/recv.c              |  296 +++++++-
 drivers/net/wireless/ath/ath9k/reg.h               |   62 +-
 drivers/net/wireless/ath/ath9k/virtual.c           |    2 +-
 drivers/net/wireless/ath/ath9k/wmi.c               |    3 -
 drivers/net/wireless/ath/ath9k/xmit.c              |  144 ++--
 drivers/net/wireless/b43/dma.c                     |   69 +-
 drivers/net/wireless/b43legacy/dma.c               |   49 +-
 drivers/net/wireless/hostap/hostap_cs.c            |   15 +-
 drivers/net/wireless/hostap/hostap_hw.c            |   13 +
 drivers/net/wireless/hostap/hostap_wlan.h          |    2 +-
 drivers/net/wireless/ipw2x00/ipw2100.c             |   18 +-
 drivers/net/wireless/ipw2x00/ipw2200.c             |    7 +-
 drivers/net/wireless/iwlwifi/Kconfig               |    6 +-
 drivers/net/wireless/iwlwifi/iwl-1000.c            |    2 +
 drivers/net/wireless/iwlwifi/iwl-3945-debugfs.c    |   28 +-
 drivers/net/wireless/iwlwifi/iwl-3945.c            |  203 +-----
 drivers/net/wireless/iwlwifi/iwl-4965.c            |   83 ++-
 drivers/net/wireless/iwlwifi/iwl-5000.c            |   58 ++-
 drivers/net/wireless/iwlwifi/iwl-6000.c            |  345 ++++++++-
 drivers/net/wireless/iwlwifi/iwl-agn-debugfs.c     |   27 +-
 drivers/net/wireless/iwlwifi/iwl-agn-hcmd.c        |   26 +-
 drivers/net/wireless/iwlwifi/iwl-agn-lib.c         |  230 ++----
 drivers/net/wireless/iwlwifi/iwl-agn-rs.c          |    3 +-
 drivers/net/wireless/iwlwifi/iwl-agn-tx.c          |   82 ++-
 drivers/net/wireless/iwlwifi/iwl-agn-ucode.c       |  123 +++
 drivers/net/wireless/iwlwifi/iwl-agn.c             |  327 +++++++--
 drivers/net/wireless/iwlwifi/iwl-agn.h             |   34 +
 drivers/net/wireless/iwlwifi/iwl-calib.c           |    7 +
 drivers/net/wireless/iwlwifi/iwl-commands.h        |    5 +-
 drivers/net/wireless/iwlwifi/iwl-core.c            |  266 +++----
 drivers/net/wireless/iwlwifi/iwl-core.h            |   23 +-
 drivers/net/wireless/iwlwifi/iwl-debugfs.c         |   88 +--
 drivers/net/wireless/iwlwifi/iwl-dev.h             |   80 +-
 drivers/net/wireless/iwlwifi/iwl-helpers.h         |   27 +
 drivers/net/wireless/iwlwifi/iwl-rx.c              |   10 +-
 drivers/net/wireless/iwlwifi/iwl-scan.c            |   41 +-
 drivers/net/wireless/iwlwifi/iwl-sta.c             |   76 +-
 drivers/net/wireless/iwlwifi/iwl-sta.h             |   29 +
 drivers/net/wireless/iwlwifi/iwl-tx.c              |   33 +-
 drivers/net/wireless/iwlwifi/iwl3945-base.c        |  145 +---
 drivers/net/wireless/iwmc3200wifi/hal.c            |    2 +-
 drivers/net/wireless/iwmc3200wifi/rx.c             |    4 +-
 drivers/net/wireless/libertas/cmd.c                |   37 +-
 drivers/net/wireless/libertas/cmdresp.c            |   30 +-
 drivers/net/wireless/libertas/decl.h               |    2 +-
 drivers/net/wireless/libertas/dev.h                |    6 +
 drivers/net/wireless/libertas/ethtool.c            |   24 +-
 drivers/net/wireless/libertas/if_sdio.c            |   58 ++
 drivers/net/wireless/libertas/if_usb.c             |   12 +-
 drivers/net/wireless/libertas/main.c               |   79 ++-
 drivers/net/wireless/libertas/scan.c               |    2 +-
 drivers/net/wireless/libertas_tf/if_usb.c          |    5 +-
 drivers/net/wireless/libertas_tf/main.c            |    2 +-
 drivers/net/wireless/mwl8k.c                       |   12 +-
 drivers/net/wireless/orinoco/hermes_dld.c          |    2 +-
 drivers/net/wireless/orinoco/orinoco_usb.c         |    4 +-
 drivers/net/wireless/orinoco/wext.c                |    4 +-
 drivers/net/wireless/p54/eeprom.c                  |    4 +-
 drivers/net/wireless/p54/p54pci.c                  |    2 +
 drivers/net/wireless/p54/p54spi.c                  |    5 +-
 drivers/net/wireless/p54/p54usb.c                  |    6 +-
 drivers/net/wireless/prism54/isl_ioctl.c           |   11 +-
 drivers/net/wireless/rndis_wlan.c                  |   36 +-
 drivers/net/wireless/rt2x00/rt2400pci.c            |   17 +-
 drivers/net/wireless/rt2x00/rt2500pci.c            |   17 +-
 drivers/net/wireless/rt2x00/rt2500usb.c            |   31 +-
 drivers/net/wireless/rt2x00/rt2800.h               |   57 ++-
 drivers/net/wireless/rt2x00/rt2800lib.c            |  210 +++---
 drivers/net/wireless/rt2x00/rt2800lib.h            |   13 +-
 drivers/net/wireless/rt2x00/rt2800pci.c            |  136 ++--
 drivers/net/wireless/rt2x00/rt2800pci.h            |   19 -
 drivers/net/wireless/rt2x00/rt2800usb.c            |  106 ++--
 drivers/net/wireless/rt2x00/rt2800usb.h            |   37 -
 drivers/net/wireless/rt2x00/rt2x00.h               |   42 +-
 drivers/net/wireless/rt2x00/rt2x00config.c         |   12 +-
 drivers/net/wireless/rt2x00/rt2x00debug.c          |    1 +
 drivers/net/wireless/rt2x00/rt2x00dev.c            |   23 +-
 drivers/net/wireless/rt2x00/rt2x00dump.h           |    7 +-
 drivers/net/wireless/rt2x00/rt2x00ht.c             |   47 +-
 drivers/net/wireless/rt2x00/rt2x00lib.h            |   26 +-
 drivers/net/wireless/rt2x00/rt2x00pci.c            |   51 ++-
 drivers/net/wireless/rt2x00/rt2x00pci.h            |    8 +
 drivers/net/wireless/rt2x00/rt2x00queue.c          |   43 +-
 drivers/net/wireless/rt2x00/rt2x00queue.h          |    9 +-
 drivers/net/wireless/rt2x00/rt2x00usb.c            |   33 +-
 drivers/net/wireless/rt2x00/rt2x00usb.h            |   19 -
 drivers/net/wireless/rt2x00/rt61pci.c              |   59 +-
 drivers/net/wireless/rt2x00/rt73usb.c              |   51 +-
 drivers/net/wireless/wl12xx/Kconfig                |    4 +-
 drivers/net/wireless/wl12xx/wl1251_main.c          |    4 +-
 drivers/net/wireless/wl12xx/wl1251_sdio.c          |   40 +-
 drivers/net/wireless/wl12xx/wl1271.h               |   31 +-
 drivers/net/wireless/wl12xx/wl1271_cmd.c           |   41 +-
 drivers/net/wireless/wl12xx/wl1271_cmd.h           |   28 +-
 drivers/net/wireless/wl12xx/wl1271_event.c         |   10 +-
 drivers/net/wireless/wl12xx/wl1271_ini.h           |  123 +++
 drivers/net/wireless/wl12xx/wl1271_main.c          |   95 ++-
 drivers/net/wireless/wl12xx/wl1271_sdio.c          |    2 +-
 drivers/net/wireless/wl12xx/wl1271_testmode.c      |   11 +-
 drivers/net/wireless/wl12xx/wl1271_tx.c            |   36 +-
 drivers/net/wireless/wl12xx/wl1271_tx.h            |    1 +
 drivers/net/wireless/zd1211rw/zd_mac.c             |    5 +-
 drivers/net/wireless/zd1211rw/zd_mac.h             |    3 +-
 drivers/net/wireless/zd1211rw/zd_usb.c             |    2 +-
 drivers/ssb/driver_chipcommon.c                    |   25 +
 drivers/ssb/driver_chipcommon_pmu.c                |   17 +-
 drivers/ssb/main.c                                 |   76 +--
 drivers/ssb/pci.c                                  |   15 +-
 include/linux/nl80211.h                            |    2 +-
 include/linux/ssb/ssb.h                            |  159 +----
 include/net/cfg80211.h                             |  122 +++-
 include/net/mac80211.h                             |   81 +--
 net/mac80211/Kconfig                               |    7 +
 net/mac80211/Makefile                              |    4 +
 net/mac80211/agg-rx.c                              |  123 ++--
 net/mac80211/agg-tx.c                              |  554 ++++++++------
 net/mac80211/cfg.c                                 |   75 ++-
 net/mac80211/debugfs.c                             |  154 ++---
 net/mac80211/debugfs_key.c                         |    2 +-
 net/mac80211/debugfs_sta.c                         |   65 +-
 net/mac80211/driver-ops.h                          |   95 ++-
 net/mac80211/driver-trace.h                        |  188 +++---
 net/mac80211/ht.c                                  |   50 +-
 net/mac80211/ibss.c                                |  109 ++--
 net/mac80211/ieee80211_i.h                         |   71 +-
 net/mac80211/iface.c                               |  188 ++++-
 net/mac80211/key.c                                 |  290 ++------
 net/mac80211/key.h                                 |   30 +-
 net/mac80211/main.c                                |  116 +++-
 net/mac80211/mesh.c                                |   73 +--
 net/mac80211/mesh.h                                |    2 -
 net/mac80211/mesh_hwmp.c                           |    4 +-
 net/mac80211/mesh_pathtbl.c                        |    4 +-
 net/mac80211/mlme.c                                |  200 +----
 net/mac80211/pm.c                                  |   18 +-
 net/mac80211/rate.h                                |   13 +
 net/mac80211/rc80211_minstrel_ht.c                 |  824 ++++++++++++++++++++
 net/mac80211/rc80211_minstrel_ht.h                 |  128 +++
 net/mac80211/rc80211_minstrel_ht_debugfs.c         |  120 +++
 net/mac80211/rx.c                                  |  175 +++--
 net/mac80211/sta_info.c                            |   22 +-
 net/mac80211/sta_info.h                            |   97 ++-
 net/mac80211/status.c                              |    2 +-
 net/mac80211/tx.c                                  |   93 ++-
 net/mac80211/util.c                                |   31 +-
 net/mac80211/work.c                                |    4 +-
 net/mac80211/wpa.c                                 |    8 +-
 net/wireless/chan.c                                |    5 +-
 net/wireless/core.h                                |    1 +
 net/wireless/mlme.c                                |    8 +-
 net/wireless/nl80211.c                             |   58 ++-
 218 files changed, 11254 insertions(+), 6435 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath5k/sysfs.c
 copy drivers/net/wireless/ath/ath9k/{ar9003_initvals.h => ar9003_2p0_initvals.h} (87%)
 rename drivers/net/wireless/ath/ath9k/{ar9003_initvals.h => ar9003_2p2_initvals.h} (78%)
 create mode 100644 drivers/net/wireless/ath/ath9k/ar9003_paprd.c
 create mode 100644 drivers/net/wireless/wl12xx/wl1271_ini.h
 create mode 100644 net/mac80211/rc80211_minstrel_ht.c
 create mode 100644 net/mac80211/rc80211_minstrel_ht.h
 create mode 100644 net/mac80211/rc80211_minstrel_ht_debugfs.c

Omnibus patch is available here:

	http://www.kernel.org/pub/linux/kernel/people/linville/wireless-next-2.6-2010-06-17.patch.bz2

-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply

* Re: [PATCH] ath5k: disable ASPM
From: Maxim Levitsky @ 2010-06-17 20:33 UTC (permalink / raw)
  To: Jussi Kivilinna
  Cc: ath5k-devel, linux-wireless, Luis R. Rodriguez, Bob Copeland
In-Reply-To: <20100528100901.14580.1322.stgit@fate.lan>

On Fri, 2010-05-28 at 13:09 +0300, Jussi Kivilinna wrote: 
> Atheros card on Acer Aspire One (AOA150, Atheros Communications Inc. AR5001
> Wireless Network Adapter [168c:001c] (rev 01)) doesn't work well with ASPM
> enabled. With ASPM ath5k will eventually stall on heavy traffic with often
> 'unsupported jumbo' warnings appearing. Disabling ASPM L0s/L1 in ath5k fixes
> these problems.
> 
> Reproduced with pcie_aspm=force and by using 'nc < /dev/zero > /dev/null' at
> both ends (usually stalls within seconds).

This fixes the same nasty problem on my AR2425.

My AR2425 will stall if it transmits for about 1~2 minutes.

It sends storm of RXORN interrupts although it only transmits.

I see that now lspci calls it AR5001.

Jussi Kivilinna, million thanks to you. I would never think of going
this direction.

Luis, so I was right after all, wasn't I?
It is a hardware bug that is worked around in windows driver by
disabling PCIE ASPM L0S.

Jussi Kivilinna, thanks again, I really mean it.


Best regards,
Maxim Levitsky 


^ permalink raw reply

* Re: OOPS in ath5k when setting coverage class
From: Bob Copeland @ 2010-06-17 19:24 UTC (permalink / raw)
  To: Steve Brown; +Cc: ath5k-devel, linux-wireless
In-Reply-To: <4C1A6E4F.6000708@cortland.com>

On Thu, Jun 17, 2010 at 2:49 PM, Steve Brown <sbrown@cortland.com> wrote:
> I went a little further and tested the following patch.
>
> If it makes sense to you, I'll submit it.


Looks fine to me, but I do want to do a quick audit of the driver
to see if there are others.  We just fixed another one in setting
the antenna mode with the same root cause.

-- 
Bob Copeland %% www.bobcopeland.com

^ permalink raw reply

* Compat-wireless release for 2010-06-17 is baked
From: Compat-wireless cronjob account @ 2010-06-17 19:02 UTC (permalink / raw)
  To: linux-wireless, linux-bluetooth


compat-wireless code metrics

    498472 - Total upstream lines of code being pulled
      1410 - backport code changes
      1177 - backport code additions
       233 - backport code deletions
      5748 - backport from compat module
      7158 - total backport code
    1.4360 - % of code consists of backport work
      1218 - Crap changes not yet posted
      1179 - Crap additions not yet merged
        39 - Crap deletions not yet posted
    0.2443 - % of crap code

Base tree: linux-next.git
Base tree version: next-20100617
compat-wireless release: compat-wireless-2010-06-17

^ permalink raw reply

* Re: OOPS in ath5k when setting coverage class
From: Steve Brown @ 2010-06-17 18:49 UTC (permalink / raw)
  To: Bob Copeland; +Cc: ath5k-devel, linux-wireless
In-Reply-To: <AANLkTil-qhJ7fO3RNm4xwG1fA6uKeTkrD352ICU-z8Ab@mail.gmail.com>

On 06/17/2010 11:39 AM, Bob Copeland wrote:
> On Wed, Jun 16, 2010 at 3:32 PM, Steve Brown<sbrown@cortland.com>  wrote:
>    
>>  From the printk's, it appears that ah->ah_current_channel isn't set at the
>> time of the callback.
>>
>> The following produces the oops with compat-wireless-2010-06-10.
>>      
> Thanks for the report - your analysis looks spot on.
> I'll take a look tonight.
>
>    
I went a little further and tested the following patch.

If it makes sense to you, I'll submit it.

Steve

---

--- a/drivers/net/wireless/ath/ath5k/pcu.c.orig    2010-06-17 
10:41:29.070150186 -0600
+++ b/drivers/net/wireless/ath/ath5k/pcu.c    2010-06-17 
10:56:27.529275091 -0600
@@ -251,7 +251,6 @@
  static unsigned int ath5k_hw_get_default_slottime(struct ath5k_hw *ah)
  {
      struct ieee80211_channel *channel = ah->ah_current_channel;
-
      if (channel->hw_value & CHANNEL_TURBO)
          return 6; /* both turbo modes */

@@ -846,13 +845,23 @@
  void ath5k_hw_set_coverage_class(struct ath5k_hw *ah, u8 coverage_class)
  {
      /* As defined by IEEE 802.11-2007 17.3.8.6 */
-    int slot_time = ath5k_hw_get_default_slottime(ah) + 3 * coverage_class;
-    int ack_timeout = ath5k_hw_get_default_sifs(ah) + slot_time;
-    int cts_timeout = ack_timeout;
+    int slot_time, ack_timeout, cts_timeout;
+
+    ah->ah_coverage_class = coverage_class;

+    /*
+     * If channel isn't set, just exit.
+     * We will be called again on a channel change.
+     */
+    if (ah->ah_current_channel == NULL)
+        return;
+
+    slot_time = ath5k_hw_get_default_slottime(ah) + 3 * coverage_class;
      ath5k_hw_set_slot_time(ah, slot_time);
+
+    ack_timeout = ath5k_hw_get_default_sifs(ah) + slot_time;
      ath5k_hw_set_ack_timeout(ah, ack_timeout);
-    ath5k_hw_set_cts_timeout(ah, cts_timeout);

-    ah->ah_coverage_class = coverage_class;
+    cts_timeout = ack_timeout;
+    ath5k_hw_set_cts_timeout(ah, cts_timeout);
  }

^ permalink raw reply

* [RFC] ath9k: Enable ANI for AR9100
From: Björn Smedman @ 2010-06-17 18:25 UTC (permalink / raw)
  To: linux-wireless, ath9k-devel

Hi all,

I think we should either enable ANI for AR9100 (as per below) or add a
comment on why it is disabled.

Any thoughts on this?

---
diff --git a/drivers/net/wireless/ath/ath9k/hw.c
b/drivers/net/wireless/ath/ath9k/hw.c
index 62597f4..7f98488 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -488,10 +488,8 @@ static int ath9k_hw_post_init(struct ath_hw *ah)
                return ecode;
        }

-       if (!AR_SREV_9100(ah)) {
-               ath9k_hw_ani_setup(ah);
-               ath9k_hw_ani_init(ah);
-       }
+       ath9k_hw_ani_setup(ah);
+       ath9k_hw_ani_init(ah);

        return 0;
 }

Best regards,

Björn

^ permalink raw reply related

* [PATCH 1/2] ath9k_htc: Add AP mode to supported modes
From: Sujith @ 2010-06-17 18:05 UTC (permalink / raw)
  To: linville@tuxdriver.com; +Cc: linux-wireless@vger.kernel.org
In-Reply-To: <19481.60102.659111.953695@gargle.gargle.HOWL>

Hi,

BTW, these are RFC patches.
So John, you can skip these and resume the tiresome work of saving the world.
We superheroes have lots of shite to do.

Sujith

Sujith wrote:
> Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
> ---
>  drivers/net/wireless/ath/ath9k/htc_drv_init.c |    3 ++-
>  drivers/net/wireless/ath/ath9k/htc_drv_main.c |    3 +++
>  2 files changed, 5 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
> index 148b433..e1840b1 100644
> --- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
> +++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
> @@ -700,7 +700,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
>  
>  	hw->wiphy->interface_modes =
>  		BIT(NL80211_IFTYPE_STATION) |
> -		BIT(NL80211_IFTYPE_ADHOC);
> +		BIT(NL80211_IFTYPE_ADHOC) |
> +		BIT(NL80211_IFTYPE_AP);
>  
>  	hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
>  
> diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
> index 05445d8..2869cff 100644
> --- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
> +++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
> @@ -1283,6 +1283,9 @@ static int ath9k_htc_add_interface(struct ieee80211_hw *hw,
>  	case NL80211_IFTYPE_ADHOC:
>  		hvif.opmode = cpu_to_be32(HTC_M_IBSS);
>  		break;
> +	case NL80211_IFTYPE_AP:
> +		hvif.opmode = cpu_to_be32(HTC_M_HOSTAP);
> +		break;
>  	default:
>  		ath_print(common, ATH_DBG_FATAL,
>  			"Interface type %d not yet supported\n", vif->type);
> -- 
> 1.7.1
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply

* Re: OOPS in ath5k when setting coverage class
From: Bob Copeland @ 2010-06-17 17:39 UTC (permalink / raw)
  To: Steve Brown; +Cc: ath5k-devel, linux-wireless
In-Reply-To: <4C1926E7.1070503@cortland.com>

On Wed, Jun 16, 2010 at 3:32 PM, Steve Brown <sbrown@cortland.com> wrote:
> From the printk's, it appears that ah->ah_current_channel isn't set at the
> time of the callback.
>
> The following produces the oops with compat-wireless-2010-06-10.

Thanks for the report - your analysis looks spot on.
I'll take a look tonight.

-- 
Bob Copeland %% www.bobcopeland.com

^ permalink raw reply

* Re: [PATCH] ipw2200: Enable LED by default
From: Luis R. Rodriguez @ 2010-06-17 17:22 UTC (permalink / raw)
  To: TJ; +Cc: Leann Ogasawara, reinette.chatre, ilw, linux-wireless
In-Reply-To: <1276764667.19131.10.camel@hephaestion>

On Thu, Jun 17, 2010 at 1:51 AM, TJ <ubuntu@tjworld.net> wrote:
> On Tue, 2010-06-15 at 17:55 -0700, Leann Ogasawara wrote:
>> propose the following patch to enable the LED by default.  This patch
>> was originally authored by TJ.  I apologize in advance that I do not
>> have TJ's full first and last name for provenance.
>
> You've already got it. TJ is my full name.

Also from the SubmittingPatches documentation on the kernel:

then you just add a line saying

        Signed-off-by: Random J Developer <random@developer.example.org>

using your real name (sorry, no pseudonyms or anonymous contributions.)

TJ is your full name?

  Luis

^ permalink raw reply

* Re: [PATCH 3/5]pci:bus.c Fix variable 'retval' set but not used
From: Justin P. Mattock @ 2010-06-17 17:15 UTC (permalink / raw)
  To: Junchang Wang; +Cc: linux-kernel, linux-wireless, linux-pci, linux-scsi
In-Reply-To: <20100616060738.GA12461@host-a-229.ustcsz.edu.cn>

On 06/15/2010 11:07 PM, Junchang Wang wrote:
> On Tue, Jun 15, 2010 at 10:33:52PM -0700, Justin P. Mattock wrote:
>> @@ -234,12 +234,10 @@ void pci_bus_add_devices(const struct pci_bus *bus)
>> void pci_enable_bridges(struct pci_bus *bus)
>> {
>> 	struct pci_dev *dev;
>> -	int retval;
>>
>> 	list_for_each_entry(dev,&bus->devices, bus_list) {
>> 		if (dev->subordinate) {
>> 			if (!pci_is_enabled(dev)) {
>> -				retval = pci_enable_device(dev);
> Hi Justin,
>
> pci_enable_device initializes device before it's used by a driver.
>
> I think you should add check instead of eliminating pci_enable_device.
>
> For example,
> retval = pci_enable_device(dev);
> if (retval<  0) {
> 	goto handle_err;
> }
>
> --Junchang
>
>

o.k. I looked into this one, as well as the scsi, please have a look 
when you have time and let me know what you think:


---
  drivers/pci/bus.c |    3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/drivers/pci/bus.c b/drivers/pci/bus.c
index 628ea20..dba4c28 100644
--- a/drivers/pci/bus.c
+++ b/drivers/pci/bus.c
@@ -240,6 +240,9 @@ void pci_enable_bridges(struct pci_bus *bus)
  		if (dev->subordinate) {
  			if (!pci_is_enabled(dev)) {
  				retval = pci_enable_device(dev);
+				if (retval < 0) {
+				dev_err(&dev->dev, "maybe something here explaining something...\n");
+				}
  				pci_set_master(dev);
  			}
  			pci_enable_bridges(dev->subordinate);


Justin P. Mattock

^ permalink raw reply related

* Re: [PATCH 5/5]scsi:hosts.c Fix warning: variable 'rval' set but not used
From: Justin P. Mattock @ 2010-06-17 16:16 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-kernel, linux-wireless, linux-pci, linux-scsi
In-Reply-To: <1276709590.2847.176.camel@mulgrave.site>


> Erm, well, as I said, error code and the fact that the thread failed to
> start, so more
>
> printk(KERN_WARNING "scsi%d: error handler thread failed to spawn, error
> = %d\n", host->host_no, PTR_ERR(shost->ehandler));
>
> James
>

o.k. I looked at this a bit more and finally got the thing to build 
through without a warning, using what you had sent, but keep in mind I 
still need to add error  = %d\n", host->host_no, to the printk

here's what I have so far:


  drivers/scsi/hosts.c |    3 ++-
  1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/hosts.c b/drivers/scsi/hosts.c
index 6660fa9..c1ff708 100644
--- a/drivers/scsi/hosts.c
+++ b/drivers/scsi/hosts.c
@@ -419,8 +419,9 @@ struct Scsi_Host *scsi_host_alloc(struct 
scsi_host_template *sht, int privsize)

  	shost->ehandler = kthread_run(scsi_error_handler, shost,
  			"scsi_eh_%d", shost->host_no);
+	rval = PTR_ERR(shost->ehandler);
  	if (IS_ERR(shost->ehandler)) {
-		rval = PTR_ERR(shost->ehandler);
+		printk(KERN_WARNING "scsi%d: error handler thread failed to spawn\n", 
rval);
  		goto fail_kfree;
  	}

I'll continue to look at this today!!

cheers,

Justin P. Mattock

^ permalink raw reply related

* Re: "ressource temporarily unavailable" on 2.4 GHz, not on 5GHz
From: Dennis Borgmann @ 2010-06-17 14:38 UTC (permalink / raw)
  To: linux-wireless, hostap
In-Reply-To: <4C1A1175.7010708@googlemail.com>

Okay, let's say, we have a crowded medium, lots of clients transmitting
traffic and therefore we have backoff times of around 50ms. Let's say,
we have such a backoff only ONCE(just for theoretical discussion) -
transmission of this packet would take at least 50ms. With the amount of
data I want to transmit in my example program, I am running at around
3,2 kbps, which is not that much(I send out 800 bytes each 2ms -> 800
bytes/2ms = 400 bytes/ms * 8 = 3,2 kbps). Now for 50ms there can be no
transmission due to the backoff time. The buffer of the wireless card -
or the buffer of the socket, I do not exactly know - gets filled 25
times with 800 byte-packets. That's in total 25 * 800 byte = 10000 byte.
So in this scenario, I would at least need a buffer 10kbyte of size. The
buffer of the socket should be sufficient, since an SO_SNDBUF call gives
114688 of size. That should be sufficient. Anyway, Wright and Stevens
(TCP/IP Illustrated Volume 2, Chapter 16.7 - "Unreliable Protocol
Buffering") state:

"With unreliable protocols (e.g. UDP), no data is ever stored in the
send buffer and no ACK is ever expected. Each message is passed
immediately to the protocol where it is queued for transmission on the
appropriate network device".

This tells me, that the driver buffer seems to be too small for this
frequency of packets (every 2ms) with this size (800 bytes), if I work
on a band, that is loaded with backoff times due to carrier sense
multiple access(CSMA). Is there a way to increase its size for ath5k?

Kind regards,
Dennis

Dennis Borgmann schrieb:
> Hey guys!
>
> I just reproduced the error with a transmit frequency of 4ms and dmesg
> doesn't show up with any new output. I will append dmesg to this mail
> anyway.
>
> Apart from that, I will go ahead and search for handling EAGAIN.
>
> Kind regards,
> Dennis
>
>
> Bob Copeland schrieb:
>   
>> On Wed, Jun 16, 2010 at 10:05 AM, Dennis Borgmann
>> <dennis.borgmann@googlemail.com> wrote:
>>   
>>     
>>> Hello wireless-list!
>>> Hello hostapd-list!
>>>
>>> I am using ath5k with hostapd-0.6.9 on a debian running kernel 2.6.34
>>> and I am observing a "ressource temporarily unavailable" - error code 11
>>>     
>>>       
>> [...]
>>   
>>     
>>> What could be the problem? Is this due to backoff-times in 2.4 GHz, that
>>> don't occur on 5 GHz? Or could this be a bug?
>>>     
>>>       
>> Does dmesg report any error (e.g. no available txbuf)?
>>
>> My guess is you have more frequent successful delivery in 5 GHz than in
>> ISM band so you aren't running out of send buffers somewhere in the stack.
>>
>> Of course, your program should expect and handle EAGAIN if you are
>> using MSG_DONTWAIT.
>>
>>   
>>     
>
>   


^ permalink raw reply

* Re: pull request: wireless-2.6 2010-06-16 v2
From: John W. Linville @ 2010-06-17 11:48 UTC (permalink / raw)
  To: sedat.dilek; +Cc: David Miller, linux-wireless, netdev, linux-kernel
In-Reply-To: <AANLkTinbJD3bWYSJ3aZZIDi1cUE_BOvLI-iUQtPF50Hm@mail.gmail.com>

On Thu, Jun 17, 2010 at 12:57:22AM +0200, Sedat Dilek wrote:
> Quick feedback:
> 
> I have applied latest wireless-2.6 master GIT against 2.6.35-rc3:
> 
> wireless-2.6/0001-iwlwifi-serialize-station-management-actions.patch
> wireless-2.6/0002-iwlagn-verify-flow-id-in-compressed-BA-packet.patch
> wireless-2.6/0003-libertas_tf-Fix-warning-in-lbtf_rx-for-stats-struct.patch
> wireless-2.6/0004-p54pci-add-Symbol-AP-300-minipci-adapters-pciid.patch
> wireless-2.6/0005-wireless-orphan-ipw2x00-drivers.patch
> wireless-2.6/0006-iwlwifi-cancel-scan-watchdog-in-iwl_bg_abort_scan.patch
> wireless-2.6/0007-hostap-Protect-against-initialization-interrupt.patch
> wireless-2.6/0008-mac80211-fix-warn-enum-may-be-used-uninitialized.patch
> 
> Unfortunately, I get here an issue with iwl3945 (full dmesg attached):
> 
> [ dmesg ]
> [   26.423844]  [<f924b2f1>] ? iwl_tx_cmd_complete+0x51/0x1c5 [iwlcore]
> ...
> [   26.432470] iwl3945 0000:10:00.0: Can't stop Rx DMA.
> 
> Hope this helps.

I think a full bug report at bugzilla.kernel.org would help more. :-)

In that report, please include the full output of dmesg and a
description of what you were doing when message above appeared.

Thanks,

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville@tuxdriver.com			might be all we have.  Be ready.

^ permalink raw reply

* Re: "ressource temporarily unavailable" on 2.4 GHz, not on 5GHz
From: Dennis Borgmann @ 2010-06-17 12:13 UTC (permalink / raw)
  To: Bob Copeland; +Cc: linux-wireless, hostap
In-Reply-To: <AANLkTimtZBRfkAOnz2vPXp71Z03DfPQniY2qFHCsgI44@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

Hey guys!

I just reproduced the error with a transmit frequency of 4ms and dmesg
doesn't show up with any new output. I will append dmesg to this mail
anyway.

Apart from that, I will go ahead and search for handling EAGAIN.

Kind regards,
Dennis


Bob Copeland schrieb:
> On Wed, Jun 16, 2010 at 10:05 AM, Dennis Borgmann
> <dennis.borgmann@googlemail.com> wrote:
>   
>> Hello wireless-list!
>> Hello hostapd-list!
>>
>> I am using ath5k with hostapd-0.6.9 on a debian running kernel 2.6.34
>> and I am observing a "ressource temporarily unavailable" - error code 11
>>     
> [...]
>   
>> What could be the problem? Is this due to backoff-times in 2.4 GHz, that
>> don't occur on 5 GHz? Or could this be a bug?
>>     
>
> Does dmesg report any error (e.g. no available txbuf)?
>
> My guess is you have more frequent successful delivery in 5 GHz than in
> ISM band so you aren't running out of send buffers somewhere in the stack.
>
> Of course, your program should expect and handle EAGAIN if you are
> using MSG_DONTWAIT.
>
>   


[-- Attachment #2: dmesg_output --]
[-- Type: text/plain, Size: 11812 bytes --]

Linux version 2.6.34 (root@debian_DEV) (gcc version 4.3.2 (Debian 4.3.2-1.1) ) #1 PREEMPT Tue Jun 15 15:51:31 CEST 2010
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009e800 (usable)
 BIOS-e820: 000000000009e800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffc0000 (usable)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
DMI not present or invalid.
e820 update range: 0000000000000000 - 0000000000001000 (usable) ==> (reserved)
e820 remove range: 00000000000a0000 - 0000000000100000 (usable)
last_pfn = 0xffc0 max_arch_pfn = 0x100000
initial memory mapped : 0 - 00800000
init_memory_mapping: 0000000000000000-000000000ffc0000
 0000000000 - 0000400000 page 4k
 0000400000 - 000fc00000 page 2M
 000fc00000 - 000ffc0000 page 4k
kernel direct mapping tables up to ffc0000 @ 7000-c000
RAMDISK: 0be27000 - 0c010000
255MB LOWMEM available.
  mapped low ram: 0 - 0ffc0000
  low ram: 0 - 0ffc0000
Zone PFN ranges:
  DMA      0x00000001 -> 0x00001000
  Normal   0x00001000 -> 0x0000ffc0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
    0: 0x00000001 -> 0x0000009e
    0: 0x00000100 -> 0x0000ffc0
On node 0 totalpages: 65373
free_area_init_node: node 0, pgdat c03ff584, node_mem_map c1000020
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 3965 pages, LIFO batch:0
  Normal zone: 480 pages used for memmap
  Normal zone: 60896 pages, LIFO batch:15
Using APIC driver default
No local APIC present or hardware disabled
APIC: disable apic facility
APIC: switched to apic NOOP
nr_irqs_gsi: 16
Allocating PCI resources starting at ffc0000 (gap: ffc0000:f0030000)
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 64861
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.34 root=UUID=a085012f-0fc3-4a20-901c-0b4794889335 ro
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Initializing CPU#0
Subtract (21 early reservations)
  #0 [0000100000 - 000045ece0]   TEXT DATA BSS
  #1 [000be27000 - 000c010000]         RAMDISK
  #2 [000009e000 - 0000100000]   BIOS reserved
  #3 [000045f000 - 0000461000]             BRK
  #4 [0000007000 - 0000008000]         PGTABLE
  #5 [0001000000 - 0001200000]         BOOTMEM
  #6 [0001200000 - 0001200004]         BOOTMEM
  #7 [0001200040 - 00012000c0]         BOOTMEM
  #8 [00012000c0 - 00012000d8]         BOOTMEM
  #9 [0001200100 - 0001200900]         BOOTMEM
  #10 [0001200900 - 00012009a8]         BOOTMEM
  #11 [00012009c0 - 0001200a00]         BOOTMEM
  #12 [0001200a00 - 0001200a40]         BOOTMEM
  #13 [0001200a40 - 0001200a80]         BOOTMEM
  #14 [0001200a80 - 0001200ac0]         BOOTMEM
  #15 [0001200ac0 - 0001200b00]         BOOTMEM
  #16 [0001200b00 - 0001200b52]         BOOTMEM
  #17 [0001200b80 - 0001200bd2]         BOOTMEM
  #18 [0001200c00 - 0001201c00]         BOOTMEM
  #19 [0001201c00 - 0001221c00]         BOOTMEM
  #20 [0001221c00 - 0001231c00]         BOOTMEM
Memory: 253824k/261888k available (2172k kernel code, 7668k reserved, 909k data, 240k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfffa4000 - 0xfffff000   ( 364 kB)
    vmalloc : 0xd07c0000 - 0xfffa2000   ( 759 MB)
    lowmem  : 0xc0000000 - 0xcffc0000   ( 255 MB)
      .init : 0xc0403000 - 0xc043f000   ( 240 kB)
      .data : 0xc031f2e1 - 0xc04027c0   ( 909 kB)
      .text : 0xc0100000 - 0xc031f2e1   (2172 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
Experimental preemptable hierarchical RCU implementation.
NR_IRQS:288
Console: colour dummy device 80x25
console [tty0] enabled
Fast TSC calibration using PIT
Detected 498.049 MHz processor.
Calibrating delay loop (skipped), value calculated using timer frequency.. 996.09 BogoMIPS (lpj=498049)
Mount-cache hash table entries: 512
Performance Events: no PMU driver, software events only.
CPU: Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking 'hlt' instruction... OK.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfafc0, last bus=0
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
libata version 3.00 loaded.
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
pci 0000:00:01.0: reg 10: [io  0xac1c-0xac1f]
pci 0000:00:01.2: reg 10: [mem 0xefff8000-0xefffbfff]
pci 0000:00:09.0: reg 10: [io  0xfc00-0xfcff]
pci 0000:00:09.0: reg 14: [mem 0xeffff000-0xeffff0ff]
pci 0000:00:09.0: supports D1 D2
pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
pci 0000:00:09.0: PME# disabled
pci 0000:00:0c.0: reg 10: [mem 0xeffe0000-0xeffeffff]
pci 0000:00:0f.0: reg 10: [io  0x6000-0x6007]
pci 0000:00:0f.0: reg 14: [io  0x6100-0x61ff]
pci 0000:00:0f.0: reg 18: [io  0x6200-0x623f]
pci 0000:00:0f.0: reg 1c: [io  0x0000-0x001f]
pci 0000:00:0f.0: reg 20: [io  0x9d00-0x9d7f]
pci 0000:00:0f.0: reg 24: [io  0x9c00-0x9c3f]
pci 0000:00:0f.2: reg 20: [io  0xff00-0xff0f]
pci 0000:00:0f.3: reg 10: [io  0xfe00-0xfe7f]
pci 0000:00:0f.4: reg 10: [mem 0xefffe000-0xefffefff]
pci 0000:00:0f.4: PME# supported from D0 D3hot D3cold
pci 0000:00:0f.4: PME# disabled
pci 0000:00:0f.5: reg 10: [mem 0xefffd000-0xefffdfff]
pci 0000:00:0f.5: PME# supported from D0 D3hot D3cold
pci 0000:00:0f.5: PME# disabled
PCI: pci_cache_line_size set to 32 bytes
reserve RAM buffer: 000000000009e800 - 000000000009ffff 
reserve RAM buffer: 000000000ffc0000 - 000000000fffffff 
Switching to clocksource tsc
pci 0000:00:0f.0: BAR 3: assigned [io  0x1000-0x101f]
pci 0000:00:0f.0: BAR 3: set to [io  0x1000-0x101f] (PCI address [0x1000-0x101f]
pci_bus 0000:00: resource 0 [io  0x0000-0xffff]
pci_bus 0000:00: resource 1 [mem 0x00000000-0xffffffff]
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 32 bytes, default 32
Trying to unpack rootfs image as initramfs...
Freeing initrd memory: 1956k freed
platform rtc_cmos: registered platform RTC device (no PNP device found)
msgmni has been set to 499
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
brd: module loaded
Uniform Multi-Platform E-IDE driver
amd74xx 0000:00:0f.2: UDMA100 controller
amd74xx 0000:00:0f.2: IDE controller (0x1022:0x209a rev 0x01)
amd74xx 0000:00:0f.2: IDE port disabled
amd74xx 0000:00:0f.2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xff00-0xff07
Probing IDE interface ide0...
hda: CF CARD 2GB, ATA DISK drive
hda: host max PIO5 wanted PIO255(auto-tune) selected PIO2
hda: MWDMA2 mode selected
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 3964464 sectors (2029 MB) w/1KiB Cache, CHS=3933/16/63
 hda: hda1 hda2
ide-cd driver 5.00
i8042.c: Can't read CTR while initializing i8042.
i8042: probe of i8042 failed with error -5
mice: PS/2 mouse device common for all mice
padlock: VIA PadLock not detected.
padlock: VIA PadLock Hash Engine not detected.
geode-aes: GEODE AES engine enabled.
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
Using IPI Shortcut mode
Freeing unused kernel memory: 240k freed
Clocksource tsc unstable (delta = 878871247 ns)
Switching to clocksource pit
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
via-rhine 0000:00:09.0: setting latency timer to 64
eth0: VIA Rhine III (Management Adapter) at 0xeffff000, 00:0d:b9:19:98:b4, IRQ 11.
eth0: MII PHY found at address 1, status 0x7869 advertising 05e1 Link 45e1.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_hcd 0000:00:0f.5: setting latency timer to 64
ehci_hcd 0000:00:0f.5: EHCI Host Controller
ehci_hcd 0000:00:0f.5: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0f.5: irq 5, io mem 0xefffd000
ehci_hcd 0000:00:0f.5: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
ohci_hcd 0000:00:0f.4: setting latency timer to 64
ohci_hcd 0000:00:0f.4: OHCI Host Controller
ohci_hcd 0000:00:0f.4: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0f.4: irq 5, io mem 0xefffe000
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
udev: renamed network interface eth0 to eth1
udevd version 125 started
cs5535_gpio: base=0x6100 mask=0xb003c66 major=254
cfg80211: Calling CRDA to update world regulatory domain
ath5k 0000:00:0c.0: registered as 'phy0'
cfg80211: World regulatory domain updated:
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
ath: EEPROM regdomain: 0x0
ath: EEPROM indicates default country code should be used
ath: doing EEPROM country->regdmn map search
ath: country maps to regdmn code: 0x3a
ath: Country alpha2 being used: US
ath: Regpair used: 0x3a
phy0: Selected rate control algorithm 'minstrel'
ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
cfg80211: Calling CRDA for country: US
cs5535audio 0000:00:0f.3: setting latency timer to 64
udev: renamed network interface wlan0 to wlan2
cfg80211: Regulatory domain changed to country: US
    (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
    (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
    (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
    (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5490000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
    (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
EXT2-fs (hda1): warning: mounting unchecked fs, running e2fsck is recommended
EXT2-fs (hda1): error: ext2_lookup: deleted inode referenced: 15608
EXT2-fs (hda1): error: ext2_lookup: deleted inode referenced: 15608
EXT2-fs (hda1): error: ext2_lookup: deleted inode referenced: 15608
EXT2-fs (hda1): error: ext2_lookup: deleted inode referenced: 15608
EXT2-fs (hda1): error: ext2_lookup: deleted inode referenced: 15608
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
eth1: no IPv6 routers present
wlan2: no IPv6 routers present
EXT2-fs (hda1): error: ext2_check_page: bad entry in directory #108731: : unaligned directory entry - offset=0, inode=2940091001, rec_len=24170, name_len=245
EXT2-fs (hda1): error: ext2_readdir: bad page in #108731
EXT2-fs (hda1): error: ext2_check_page: bad entry in directory #108738: : unaligned directory entry - offset=0, inode=944130375, rec_len=24889, name_len=63
EXT2-fs (hda1): error: ext2_readdir: bad page in #108738
EXT2-fs (hda1): error: ext2_check_page: bad entry in directory #108837: : unaligned directory entry - offset=0, inode=1768693795, rec_len=24930, name_len=115
EXT2-fs (hda1): error: ext2_readdir: bad page in #108837

^ permalink raw reply

* [PATCH] p54usb: Drop duplicate USBID 0xcde:0x0006
From: Ozan Çağlayan @ 2010-06-17 10:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-wireless, flamingice

Drop the duplicate USB ID 0xcde:0x0006 which is written at two
different places in p54usb.c

Signed-off-by: Ozan Çağlayan <ozan@pardus.org.tr>
---
 drivers/net/wireless/p54/p54usb.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/p54/p54usb.c b/drivers/net/wireless/p54/p54usb.c
index 7307325..d6d8713 100644
--- a/drivers/net/wireless/p54/p54usb.c
+++ b/drivers/net/wireless/p54/p54usb.c
@@ -69,7 +69,6 @@ static struct usb_device_id p54u_table[] __devinitdata = {
 	{USB_DEVICE(0x0915, 0x2002)},	/* Cohiba Proto board */
 	{USB_DEVICE(0x0baf, 0x0118)},   /* U.S. Robotics U5 802.11g Adapter*/
 	{USB_DEVICE(0x0bf8, 0x1009)},   /* FUJITSU E-5400 USB D1700*/
-	{USB_DEVICE(0x0cde, 0x0006)},   /* Medion MD40900 */
 	{USB_DEVICE(0x0cde, 0x0008)},	/* Sagem XG703A */
 	{USB_DEVICE(0x0cde, 0x0015)},	/* Zcomax XG-705A */
 	{USB_DEVICE(0x0d8e, 0x3762)},	/* DLink DWL-G120 Cohiba */
-- 
1.7.1


^ permalink raw reply related

* Re: [ath5k-devel] Race condition in CRDA calls?
From: Lukáš Turek @ 2010-06-17 10:04 UTC (permalink / raw)
  To: Bruno Randolf
  Cc: Luis R. Rodriguez, ath5k-devel@lists.ath5k.org, linux-wireless
In-Reply-To: <201006171347.58712.br1@einfach.org>

[-- Attachment #1: Type: text/plain, Size: 521 bytes --]

On 17.6.2010 06:47 Bruno Randolf wrote:
> are there any news on that? i think i hit the same bug, now...

I have an ugly workaround that works for me, unfortunately I didn't have 
enough time to really fix it. It may involve rethinking the communication 
with CRDA, I think the global variable last_request will have to go away.
I reported it in linux-wireless, because it's a generic mac80211 problem,
but I also didn't receive any useful reply there: 
https://patchwork.kernel.org/patch/102727/

Lukas Turek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply

* [PATCH 2/2] wireless-regdb: Enable 40MHz operation for some countries.
From: Vivek Natarajan @ 2010-06-17  9:47 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless
In-Reply-To: <1276768074-4366-2-git-send-email-vnatarajan@atheros.com>

Enable 40MHz operation for Argentina, Brazil, Colombia, Algeria,
India, Malaysia, Peru and South Africa.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
---
 db.txt |   42 +++++++++++++++++++++---------------------
 1 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/db.txt b/db.txt
index e405d78..74ae9e3 100644
--- a/db.txt
+++ b/db.txt
@@ -33,7 +33,7 @@ country AN:
 	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country AR:
-	(2402 - 2482 @ 20), (N/A, 20)
+	(2402 - 2482 @ 40), (N/A, 20)
 	(5170 - 5250 @ 40), (3, 17)
 	(5250 - 5330 @ 40), (3, 20), DFS
 	(5490 - 5710 @ 40), (3, 20), DFS
@@ -111,11 +111,11 @@ country BO:
 	(5735 - 5835 @ 40), (N/A, 30)
 
 country BR:
-	(2402 - 2482 @ 20), (N/A, 20)
-	(5170 - 5250 @ 20), (3, 17)
-	(5250 - 5330 @ 20), (3, 20), DFS
-	(5490 - 5710 @ 20), (3, 20), DFS
-	(5735 - 5835 @ 20), (3, 30)
+	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country BY:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -152,9 +152,9 @@ country CN:
 
 country CO:
 	(2402 - 2472 @ 40), (3, 27)
-	(5170 - 5250 @ 20), (3, 17)
-	(5250 - 5330 @ 20), (3, 23), DFS
-	(5735 - 5835 @ 20), (3, 30)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 23), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country CR:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -207,7 +207,7 @@ country DO:
 	(5735 - 5835 @ 40), (3, 30)
 
 country DZ:
-	(2402 - 2482 @ 20), (N/A, 20)
+	(2402 - 2482 @ 40), (N/A, 20)
 
 country EC:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -332,9 +332,9 @@ country IL:
 
 country IN:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 20), DFS
-	(5735 - 5835 @ 20), (N/A, 20)
+	(5170 - 5250 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 20), DFS
+	(5735 - 5835 @ 40), (N/A, 20)
 
 country IS:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -471,9 +471,9 @@ country MT:
 	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country MY:
-	(2402 - 2482 @ 20), (N/A, 20)
-	(5250 - 5330 @ 20), (N/A, 30), DFS
-	(5735 - 5835 @ 20), (N/A, 30)
+	(2402 - 2482 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 30), DFS
+	(5735 - 5835 @ 40), (N/A, 30)
 
 country MX:
 	(2402 - 2472 @ 40), (3, 27)
@@ -518,7 +518,7 @@ country PA:
 
 country PE:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5735 - 5835 @ 20), (N/A, 30)
+	(5735 - 5835 @ 40), (N/A, 30)
 
 country PG:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -673,10 +673,10 @@ country YE:
 
 country ZA:
 	(2402 - 2482 @ 40), (N/A, 20)
-	(5170 - 5250 @ 20), (3, 17)
-	(5250 - 5330 @ 20), (3, 20), DFS
-	(5490 - 5710 @ 20), (3, 20), DFS
-	(5735 - 5835 @ 20), (3, 30)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country ZW:
 	(2402 - 2482 @ 40), (N/A, 20)
-- 
1.6.3.3


^ permalink raw reply related

* [PATCH 1/2] wireless-regdb: Update the regulatory domain for a few countries.
From: Vivek Natarajan @ 2010-06-17  9:47 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless
In-Reply-To: <1276768074-4366-1-git-send-email-vnatarajan@atheros.com>

Add Bangladesh(BD) with NULL1_WORLD.
Add Kenya(KE) with APL1_WORLD.
Change Honduras(HN) to FCC3_WORLD.
Change Lebanon(LB) to  APL1_WORLD,
Change Macedonia(MK) to ETSI1_WORLD.
Change Pakistan(PK) to APL1_WORLD.
Change Romania(RO) to ETSI1_WORLD.
Change Russia(RU) to FCC3_WORLD.
Change Saudi Arabia(SA) to FCC2_WORLD.
Change UAE(AE) to ETSI1_WORLD.
Change Venezuela(VE) to FCC1_WORLD.
Change Vietnam(VN) to ETSI3_WORLD.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
---
 db.txt |   32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/db.txt b/db.txt
index e63a43e..e405d78 100644
--- a/db.txt
+++ b/db.txt
@@ -14,6 +14,9 @@ country 00:
 
 country AE:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 20), DFS
+	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country AL:
 	(2402 - 2482 @ 20), (N/A, 20)
@@ -71,6 +74,9 @@ country BB:
 	(5250 - 5330 @ 40), (3, 23), DFS
 	(5735 - 5835 @ 40), (3, 30)
 
+country BD:
+	(2402 - 2482 @ 40), (N/A, 20)
+
 country BE:
 	(2402 - 2482 @ 40), (N/A, 20)
 	(5170 - 5250 @ 40), (N/A, 20)
@@ -282,6 +288,10 @@ country GU:
 
 country HN:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (3, 17)
+	(5250 - 5330 @ 40), (3, 20), DFS
+	(5490 - 5710 @ 40), (3, 20), DFS
+	(5735 - 5835 @ 40), (3, 30)
 
 country HK:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -367,6 +377,10 @@ country JO:
 	(2402 - 2482 @ 40), (N/A, 20)
 	(5170 - 5250 @ 40), (N/A, 18)
 
+country KE:
+	(2402 - 2482 @ 40), (N/A, 20)
+	(5735 - 5835 @ 40), (N/A, 30)
+
 country KH:
 	(2402 - 2482 @ 40), (N/A, 20)
 	(5170 - 5250 @ 40), (N/A, 20)
@@ -397,6 +411,7 @@ country KZ:
 
 country LB:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5735 - 5835 @ 40), (N/A, 30)
 
 country LI:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -445,6 +460,9 @@ country MO:
 
 country MK:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 20), DFS
+	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country MT:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -514,6 +532,7 @@ country PH:
 
 country PK:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5735 - 5835 @ 40), (N/A, 30)
 
 country PL:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -539,12 +558,19 @@ country QA:
 
 country RO:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 20), DFS
+	(5490 - 5710 @ 40), (N/A, 27), DFS
 
 country RU:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5735 - 5835 @ 20), (N/A, 30)
 
 country SA:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 20), (3, 23)
+	(5250 - 5330 @ 20), (3, 23), DFS
+	(5735 - 5835 @ 20), (3, 30)
 
 country SE:
 	(2402 - 2482 @ 40), (N/A, 20)
@@ -634,11 +660,13 @@ country UZ:
 	(5735 - 5835 @ 40), (3, 30)
 
 country VE:
-	(2402 - 2482 @ 40), (N/A, 30)
-	(5735 - 5815 @ 20), (N/A, 23)
+	(2402 - 2482 @ 40), (N/A, 20)
+	(5735 - 5815 @ 40), (N/A, 23)
 
 country VN:
 	(2402 - 2482 @ 40), (N/A, 20)
+	(5170 - 5250 @ 40), (N/A, 20)
+	(5250 - 5330 @ 40), (N/A, 20), DFS
 
 country YE:
 	(2402 - 2482 @ 40), (N/A, 20)
-- 
1.6.3.3


^ permalink raw reply related

* [PATCH] ath: Update the regulatory domain information for a few countries.
From: Vivek Natarajan @ 2010-06-17  9:47 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

Add Kenya(KE) with APL1_WORLD.
Change Honduras(HN) to FCC3_WORLD.
Change Lebanon(LB) to  APL1_WORLD,
Change Macedonia(MK) to ETSI1_WORLD.
Change Pakistan(PK) to APL1_WORLD.
Change Romania(RO) to ETSI1_WORLD.
Change Russia(RU) to FCC3_WORLD.
Change Saudi Arabia(SA) to FCC2_WORLD.
Change UAE(AE) to ETSI1_WORLD.
Change Venezuela(VE) to FCC1_WORLD.
Change Vietnam(VN) to ETSI3_WORLD.

Signed-off-by: Vivek Natarajan <vnatarajan@atheros.com>
---
 drivers/net/wireless/ath/regd_common.h |   21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/drivers/net/wireless/ath/regd_common.h b/drivers/net/wireless/ath/regd_common.h
index 248c670..b59b690 100644
--- a/drivers/net/wireless/ath/regd_common.h
+++ b/drivers/net/wireless/ath/regd_common.h
@@ -333,7 +333,7 @@ static struct country_code_to_enum_rd allCountries[] = {
 	{CTRY_GUAM, FCC1_FCCA, "GU"},
 	{CTRY_GUATEMALA, FCC1_FCCA, "GT"},
 	{CTRY_HAITI, ETSI1_WORLD, "HT"},
-	{CTRY_HONDURAS, NULL1_WORLD, "HN"},
+	{CTRY_HONDURAS, FCC3_WORLD, "HN"},
 	{CTRY_HONG_KONG, FCC3_WORLD, "HK"},
 	{CTRY_HUNGARY, ETSI1_WORLD, "HU"},
 	{CTRY_ICELAND, ETSI1_WORLD, "IS"},
@@ -406,18 +406,19 @@ static struct country_code_to_enum_rd allCountries[] = {
 
 	{CTRY_JORDAN, ETSI2_WORLD, "JO"},
 	{CTRY_KAZAKHSTAN, NULL1_WORLD, "KZ"},
+	{CTRY_KENYA, APL1_WORLD, "KE"},
 	{CTRY_KOREA_NORTH, APL9_WORLD, "KP"},
 	{CTRY_KOREA_ROC, APL9_WORLD, "KR"},
 	{CTRY_KOREA_ROC2, APL2_WORLD, "K2"},
 	{CTRY_KOREA_ROC3, APL9_WORLD, "K3"},
 	{CTRY_KUWAIT, ETSI3_WORLD, "KW"},
 	{CTRY_LATVIA, ETSI1_WORLD, "LV"},
-	{CTRY_LEBANON, NULL1_WORLD, "LB"},
+	{CTRY_LEBANON, APL1_WORLD, "LB"},
 	{CTRY_LIECHTENSTEIN, ETSI1_WORLD, "LI"},
 	{CTRY_LITHUANIA, ETSI1_WORLD, "LT"},
 	{CTRY_LUXEMBOURG, ETSI1_WORLD, "LU"},
 	{CTRY_MACAU, FCC2_WORLD, "MO"},
-	{CTRY_MACEDONIA, NULL1_WORLD, "MK"},
+	{CTRY_MACEDONIA, ETSI1_WORLD, "MK"},
 	{CTRY_MALAYSIA, APL8_WORLD, "MY"},
 	{CTRY_MALTA, ETSI1_WORLD, "MT"},
 	{CTRY_MEXICO, FCC1_FCCA, "MX"},
@@ -429,7 +430,7 @@ static struct country_code_to_enum_rd allCountries[] = {
 	{CTRY_NEW_ZEALAND, FCC2_ETSIC, "NZ"},
 	{CTRY_NORWAY, ETSI1_WORLD, "NO"},
 	{CTRY_OMAN, FCC3_WORLD, "OM"},
-	{CTRY_PAKISTAN, NULL1_WORLD, "PK"},
+	{CTRY_PAKISTAN, APL1_WORLD, "PK"},
 	{CTRY_PANAMA, FCC1_FCCA, "PA"},
 	{CTRY_PAPUA_NEW_GUINEA, FCC1_WORLD, "PG"},
 	{CTRY_PERU, APL1_WORLD, "PE"},
@@ -438,9 +439,9 @@ static struct country_code_to_enum_rd allCountries[] = {
 	{CTRY_PORTUGAL, ETSI1_WORLD, "PT"},
 	{CTRY_PUERTO_RICO, FCC1_FCCA, "PR"},
 	{CTRY_QATAR, APL1_WORLD, "QA"},
-	{CTRY_ROMANIA, NULL1_WORLD, "RO"},
-	{CTRY_RUSSIA, NULL1_WORLD, "RU"},
-	{CTRY_SAUDI_ARABIA, NULL1_WORLD, "SA"},
+	{CTRY_ROMANIA, ETSI1_WORLD, "RO"},
+	{CTRY_RUSSIA, FCC3_WORLD, "RU"},
+	{CTRY_SAUDI_ARABIA, FCC2_WORLD, "SA"},
 	{CTRY_SERBIA_MONTENEGRO, ETSI1_WORLD, "CS"},
 	{CTRY_SINGAPORE, APL6_WORLD, "SG"},
 	{CTRY_SLOVAKIA, ETSI1_WORLD, "SK"},
@@ -457,7 +458,7 @@ static struct country_code_to_enum_rd allCountries[] = {
 	{CTRY_TUNISIA, ETSI3_WORLD, "TN"},
 	{CTRY_TURKEY, ETSI3_WORLD, "TR"},
 	{CTRY_UKRAINE, NULL1_WORLD, "UA"},
-	{CTRY_UAE, NULL1_WORLD, "AE"},
+	{CTRY_UAE, ETSI1_WORLD, "AE"},
 	{CTRY_UNITED_KINGDOM, ETSI1_WORLD, "GB"},
 	{CTRY_UNITED_STATES, FCC3_FCCA, "US"},
 	/* This "PS" is for US public safety actually... to support this we
@@ -466,8 +467,8 @@ static struct country_code_to_enum_rd allCountries[] = {
 	{CTRY_UNITED_STATES_FCC49, FCC4_FCCA, "PS"},
 	{CTRY_URUGUAY, FCC3_WORLD, "UY"},
 	{CTRY_UZBEKISTAN, FCC3_FCCA, "UZ"},
-	{CTRY_VENEZUELA, APL2_ETSIC, "VE"},
-	{CTRY_VIET_NAM, NULL1_WORLD, "VN"},
+	{CTRY_VENEZUELA, FCC1_WORLD, "VE"},
+	{CTRY_VIET_NAM, ETSI3_WORLD, "VN"},
 	{CTRY_YEMEN, NULL1_WORLD, "YE"},
 	{CTRY_ZIMBABWE, NULL1_WORLD, "ZW"},
 };
-- 
1.6.3.3


^ permalink raw reply related

* [PATCH 2/2] ath9k_htc: Handle buffered frames in AP mode
From: Sujith @ 2010-06-17  9:28 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

Use the CAB endpoint to send buffered multicast or
broadcast frames after each SWBA event.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
 drivers/net/wireless/ath/ath9k/htc.h            |    4 ++-
 drivers/net/wireless/ath/ath9k/htc_drv_beacon.c |   42 ++++++++++++++++++++--
 drivers/net/wireless/ath/ath9k/htc_drv_init.c   |    3 +-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c   |    2 +-
 drivers/net/wireless/ath/ath9k/htc_drv_txrx.c   |   13 +++++--
 drivers/net/wireless/ath/ath9k/wmi.c            |    1 +
 6 files changed, 55 insertions(+), 10 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/htc.h b/drivers/net/wireless/ath/ath9k/htc.h
index 58f52a1..8583bf8 100644
--- a/drivers/net/wireless/ath/ath9k/htc.h
+++ b/drivers/net/wireless/ath/ath9k/htc.h
@@ -402,6 +402,7 @@ static inline void ath_read_cachesize(struct ath_common *common, int *csz)
 void ath9k_htc_beaconq_config(struct ath9k_htc_priv *priv);
 void ath9k_htc_beacon_config(struct ath9k_htc_priv *priv,
 			     struct ieee80211_vif *vif);
+void ath9k_htc_send_buffered(struct ath9k_htc_priv *priv);
 void ath9k_htc_swba(struct ath9k_htc_priv *priv, u8 beacon_pending);
 
 void ath9k_htc_rxep(void *priv, struct sk_buff *skb,
@@ -417,7 +418,8 @@ void ath9k_ani_work(struct work_struct *work);;
 
 int ath9k_tx_init(struct ath9k_htc_priv *priv);
 void ath9k_tx_tasklet(unsigned long data);
-int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb);
+int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb,
+		       bool is_cab);
 void ath9k_tx_cleanup(struct ath9k_htc_priv *priv);
 bool ath9k_htc_txq_setup(struct ath9k_htc_priv *priv, int subtype);
 int ath9k_htc_cabq_setup(struct ath9k_htc_priv *priv);
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
index bd1506e..8901732 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_beacon.c
@@ -138,8 +138,8 @@ static void ath9k_htc_beacon_config_sta(struct ath9k_htc_priv *priv,
 	WMI_CMD_BUF(WMI_ENABLE_INTR_CMDID, &htc_imask);
 }
 
-static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv,
-					  struct htc_beacon_config *bss_conf)
+static void ath9k_htc_beacon_config_gen(struct ath9k_htc_priv *priv,
+					struct htc_beacon_config *bss_conf)
 {
 	struct ath_common *common = ath9k_hw_common(priv->ah);
 	enum ath9k_int imask = 0;
@@ -155,7 +155,7 @@ static void ath9k_htc_beacon_config_adhoc(struct ath9k_htc_priv *priv,
 		imask |= ATH9K_INT_SWBA;
 
 	ath_print(common, ATH_DBG_BEACON,
-		  "IBSS Beacon config, intval: %d, imask: 0x%x\n",
+		  "Beacon config, intval: %d, imask: 0x%x\n",
 		  bss_conf->beacon_interval, imask);
 
 	WMI_CMD(WMI_DISABLE_INTR_CMDID);
@@ -171,6 +171,39 @@ void ath9k_htc_beaconep(void *drv_priv, struct sk_buff *skb,
 	dev_kfree_skb_any(skb);
 }
 
+void ath9k_htc_send_buffered(struct ath9k_htc_priv *priv)
+{
+	struct ath_common *common = ath9k_hw_common(priv->ah);
+	struct sk_buff *skb;
+	struct ieee80211_hdr *hdr;
+	int padpos, padsize, ret;
+
+	skb = ieee80211_get_buffered_bc(priv->hw, priv->vif);
+	while(skb) {
+		hdr = (struct ieee80211_hdr *) skb->data;
+
+		padpos = ath9k_cmn_padpos(hdr->frame_control);
+		padsize = padpos & 3;
+		if (padsize && skb->len > padpos) {
+			if (skb_headroom(skb) < padsize) {
+				dev_kfree_skb_any(skb);
+				goto next;
+			}
+			skb_push(skb, padsize);
+			memmove(skb->data, skb->data + padsize, padpos);
+		}
+
+		ret = ath9k_htc_tx_start(priv, skb, true);
+		if (ret != 0) {
+			ath_print(common, ATH_DBG_FATAL,
+				  "Failed to send CAB frame\n");
+			dev_kfree_skb_any(skb);
+		}
+	next:
+		skb = ieee80211_get_buffered_bc(priv->hw, priv->vif);
+	}
+}
+
 void ath9k_htc_swba(struct ath9k_htc_priv *priv, u8 beacon_pending)
 {
 	struct ath9k_htc_vif *avp = (void *)priv->vif->drv_priv;
@@ -268,7 +301,8 @@ void ath9k_htc_beacon_config(struct ath9k_htc_priv *priv,
 		ath9k_htc_beacon_config_sta(priv, cur_conf);
 		break;
 	case NL80211_IFTYPE_ADHOC:
-		ath9k_htc_beacon_config_adhoc(priv, cur_conf);
+	case NL80211_IFTYPE_AP:
+		ath9k_htc_beacon_config_gen(priv, cur_conf);
 		break;
 	default:
 		ath_print(common, ATH_DBG_CONFIG,
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index e1840b1..02651ff 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -696,7 +696,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
 		IEEE80211_HW_HAS_RATE_CONTROL |
 		IEEE80211_HW_RX_INCLUDES_FCS |
 		IEEE80211_HW_SUPPORTS_PS |
-		IEEE80211_HW_PS_NULLFUNC_STACK;
+		IEEE80211_HW_PS_NULLFUNC_STACK |
+		IEEE80211_HW_HOST_BROADCAST_PS_BUFFERING;
 
 	hw->wiphy->interface_modes =
 		BIT(NL80211_IFTYPE_STATION) |
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index 2869cff..f8c1217 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -1118,7 +1118,7 @@ static int ath9k_htc_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
 		memmove(skb->data, skb->data + padsize, padpos);
 	}
 
-	ret = ath9k_htc_tx_start(priv, skb);
+	ret = ath9k_htc_tx_start(priv, skb, false);
 	if (ret != 0) {
 		if (ret == -ENOMEM) {
 			ath_print(ath9k_hw_common(priv->ah), ATH_DBG_XMIT,
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
index bd0b4ac..4d4b9b8 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
@@ -72,7 +72,8 @@ int ath_htc_txq_update(struct ath9k_htc_priv *priv, int qnum,
 	return error;
 }
 
-int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
+int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb,
+		       bool is_cab)
 {
 	struct ieee80211_hdr *hdr;
 	struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
@@ -140,6 +141,11 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
 		tx_fhdr = skb_push(skb, sizeof(tx_hdr));
 		memcpy(tx_fhdr, (u8 *) &tx_hdr, sizeof(tx_hdr));
 
+		if (is_cab) {
+			epid = priv->cab_ep;
+			goto send;
+		}
+
 		qnum = skb_get_queue_mapping(skb);
 
 		switch (qnum) {
@@ -183,7 +189,7 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
 		memcpy(tx_fhdr, (u8 *) &mgmt_hdr, sizeof(mgmt_hdr));
 		epid = priv->mgmt_ep;
 	}
-
+send:
 	return htc_send(priv->htc, skb, epid, &tx_ctl);
 }
 
@@ -281,7 +287,8 @@ void ath9k_htc_txep(void *drv_priv, struct sk_buff *skb,
 	} else if ((ep_id == priv->data_bk_ep) ||
 		   (ep_id == priv->data_be_ep) ||
 		   (ep_id == priv->data_vi_ep) ||
-		   (ep_id == priv->data_vo_ep)) {
+		   (ep_id == priv->data_vo_ep) ||
+		   (ep_id == priv->cab_ep)) {
 		skb_pull(skb, sizeof(struct tx_frame_hdr));
 	} else {
 		ath_print(common, ATH_DBG_FATAL,
diff --git a/drivers/net/wireless/ath/ath9k/wmi.c b/drivers/net/wireless/ath/ath9k/wmi.c
index 6260faa..0b35f16 100644
--- a/drivers/net/wireless/ath/ath9k/wmi.c
+++ b/drivers/net/wireless/ath/ath9k/wmi.c
@@ -149,6 +149,7 @@ void ath9k_wmi_tasklet(unsigned long data)
 	case WMI_SWBA_EVENTID:
 		swba_hdr = (struct wmi_swba *) wmi_event;
 		ath9k_htc_swba(priv, swba_hdr->beacon_pending);
+		ath9k_htc_send_buffered(priv);
 		break;
 	case WMI_FATAL_EVENTID:
 		break;
-- 
1.7.1


^ permalink raw reply related

* [PATCH 1/2] ath9k_htc: Add AP mode to supported modes
From: Sujith @ 2010-06-17  9:28 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
---
 drivers/net/wireless/ath/ath9k/htc_drv_init.c |    3 ++-
 drivers/net/wireless/ath/ath9k/htc_drv_main.c |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_init.c b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
index 148b433..e1840b1 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_init.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_init.c
@@ -700,7 +700,8 @@ static void ath9k_set_hw_capab(struct ath9k_htc_priv *priv,
 
 	hw->wiphy->interface_modes =
 		BIT(NL80211_IFTYPE_STATION) |
-		BIT(NL80211_IFTYPE_ADHOC);
+		BIT(NL80211_IFTYPE_ADHOC) |
+		BIT(NL80211_IFTYPE_AP);
 
 	hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;
 
diff --git a/drivers/net/wireless/ath/ath9k/htc_drv_main.c b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
index 05445d8..2869cff 100644
--- a/drivers/net/wireless/ath/ath9k/htc_drv_main.c
+++ b/drivers/net/wireless/ath/ath9k/htc_drv_main.c
@@ -1283,6 +1283,9 @@ static int ath9k_htc_add_interface(struct ieee80211_hw *hw,
 	case NL80211_IFTYPE_ADHOC:
 		hvif.opmode = cpu_to_be32(HTC_M_IBSS);
 		break;
+	case NL80211_IFTYPE_AP:
+		hvif.opmode = cpu_to_be32(HTC_M_HOSTAP);
+		break;
 	default:
 		ath_print(common, ATH_DBG_FATAL,
 			"Interface type %d not yet supported\n", vif->type);
-- 
1.7.1


^ permalink raw reply related

* Re: [PATCH] ipw2200: Enable LED by default
From: TJ @ 2010-06-17  8:51 UTC (permalink / raw)
  To: Leann Ogasawara; +Cc: reinette.chatre, ilw, linux-wireless
In-Reply-To: <1276649713.6127.276.camel@emiko>

On Tue, 2010-06-15 at 17:55 -0700, Leann Ogasawara wrote:
> propose the following patch to enable the LED by default.  This patch
> was originally authored by TJ.  I apologize in advance that I do not
> have TJ's full first and last name for provenance.

You've already got it. TJ is my full name.


^ permalink raw reply

* Re: [RFC] Changes in mac80211 to make at76c50x-usb working again
From: Sebastian Smolorz @ 2010-06-17  7:51 UTC (permalink / raw)
  To: Kalle Valo
  Cc: Johannes Berg, John W. Linville, linux-wireless, Marcel Holtmann
In-Reply-To: <87typ2fa2j.fsf@purkki.valot.fi>

Kalle Valo wrote:
> Sebastian Smolorz <Sebastian.Smolorz@gmx.de> writes:
> > Kalle Valo wrote:
> >> I debugged this a long time ago. The problem is that firmware's
> >> CMD_JOIN only works if bssid is correct one. I remember trying
> >> ff:ff:ff:ff:ff:ff, but that didn't work for some reason. The join
> >> command needs to be sent before association, otherwise transmission
> >> won't work at all. And if I use a random bssid the firmware will
> >> filter the replies. But I tested this a long time ago, I might
> >> remember something wrong.
> >>
> >> I was thinking a hack which would get bssid from association frames
> >> and then send CMD_JOIN, before the association frame.
> >
> > Could you elaborate a little bit on this?
> 
> Basically my idea is this (all in tx path):
> 
> 1. if tx frame is an association frame, get bssid from the frame
> 2. if bssid == priv->bssid, goto step 6
> 3. store tx frame, don't transmit it yet
> 4. send CMD_JOIN with new bssid
> 5. wait for command completion
> 6. priv->bssid = bssid
> 7. transmit tx frame
> 8. done
> 
> Ugly as hell, but one option to get the driver working again.
> 
> > How do we proceed to make the driver working again? Do you want to work
> > on this issue?
> 
> Sorry, currently I only have time to review patches and send comments.
> If you have the time, it would be great to if you could fix the driver
> finally.

OK, I will write a patch.

-- 
Sebastian

^ permalink raw reply

* Re: [RFC] Changes in mac80211 to make at76c50x-usb working again
From: Kalle Valo @ 2010-06-17  6:27 UTC (permalink / raw)
  To: Sebastian Smolorz
  Cc: Johannes Berg, John W. Linville, linux-wireless, Marcel Holtmann
In-Reply-To: <201006160946.54197.Sebastian.Smolorz@gmx.de>

Sebastian Smolorz <Sebastian.Smolorz@gmx.de> writes:

> Kalle Valo wrote:
>
>> I debugged this a long time ago. The problem is that firmware's
>> CMD_JOIN only works if bssid is correct one. I remember trying
>> ff:ff:ff:ff:ff:ff, but that didn't work for some reason. The join
>> command needs to be sent before association, otherwise transmission
>> won't work at all. And if I use a random bssid the firmware will
>> filter the replies. But I tested this a long time ago, I might
>> remember something wrong.
>> 
>> I was thinking a hack which would get bssid from association frames
>> and then send CMD_JOIN, before the association frame.
>
> Could you elaborate a little bit on this?

Basically my idea is this (all in tx path):

1. if tx frame is an association frame, get bssid from the frame
2. if bssid == priv->bssid, goto step 6
3. store tx frame, don't transmit it yet
4. send CMD_JOIN with new bssid
5. wait for command completion
6. priv->bssid = bssid
7. transmit tx frame
8. done

Ugly as hell, but one option to get the driver working again.

> How do we proceed to make the driver working again? Do you want to work on 
> this issue?

Sorry, currently I only have time to review patches and send comments.
If you have the time, it would be great to if you could fix the driver
finally.

-- 
Kalle Valo

^ permalink raw reply


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox