1. 01 3月, 2015 1 次提交
    • J
      cfg80211-wext: export symbols only when needed · 2afe38d1
      Johannes Berg 提交于
      When a fully converted cfg80211 driver needs cfg80211-wext for
      userspace API purposes, the symbols need not be exported. When
      other drivers (orinoco/hermes or ipw2200) are enabled, they do
      need the symbols exported as they use them directly.
      
      Make those drivers select a new CFG80211_WEXT_EXPORT Kconfig
      symbol (instead of just CFG80211_WEXT) and export the functions
      only if requested - this saves about 1/2k due to the size of
      EXPORT_SYMBOL() itself.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      2afe38d1
  2. 15 1月, 2015 1 次提交
  3. 20 6月, 2014 2 次提交
    • F
      PCMCIA_HERMES: ioport_map/unmap relies on HAS_IOPORT_MAP · 2e91606f
      Fabian Frederick 提交于
      Fixing following sh-allmodconfig errors reported on kisskb
      
      "
      drivers/net/wireless/orinoco/orinoco_cs.c:153:2: error: implicit declaration of function 'ioport_map' [-Werror=implicit-function-declaration]
      drivers/net/wireless/orinoco/orinoco_cs.c:205:3: error: implicit declaration of function 'ioport_unmap' [-Werror=implicit-function-declaration]
      "
      
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: linux-wireless@vger.kernel.org
      Signed-off-by: NFabian Frederick <fabf@skynet.be>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2e91606f
    • F
      SPECTRUM_CS: ioport_map/unmap relies on HAS_IOPORT_MAP · dff62776
      Fabian Frederick 提交于
      Fixing following sh-allmodconfig errors reported on kisskb
      
      "
      drivers/net/wireless/orinoco/spectrum_cs.c:216:2: error: implicit declaration of function 'ioport_map' [-Werror=implicit-function-declaration]
      drivers/net/wireless/orinoco/spectrum_cs.c:273:3: error: implicit declaration of function 'ioport_unmap' [-Werror=implicit-function-declaration]
      "
      
      Cc: "John W. Linville" <linville@tuxdriver.com>
      Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
      Cc: linux-wireless@vger.kernel.org
      Signed-off-by: NFabian Frederick <fabf@skynet.be>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      dff62776
  4. 04 5月, 2010 1 次提交
    • D
      orinoco: add orinoco_usb driver · 9afac70a
      David Kilroy 提交于
      This driver uses the core orinoco modules for the bulk of
      the functionality. The low level hermes routines (for local bus
      cards) are replaced, the driver supplies its own ndo_xmit_start
      function, and locking is done with the _bh variant.
      
      Some recent functionality is not available to the USB cards yet
      (firmware loading and WPA).
      
      Out-of-tree driver originally written by Manuel Estrada Sainz.
      
      Thanks to Mark Davis for supplying hardware to test the updates.
      Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      9afac70a
  5. 16 3月, 2010 1 次提交
  6. 31 10月, 2009 1 次提交
  7. 08 10月, 2009 2 次提交
    • R
      wireless: fix CFG80211_WEXT build problems · c6d3597c
      Randy Dunlap 提交于
      Fix CFG80211_WEXT build dependencies/errors:
      
      ERROR: "cfg80211_wext_siwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_siwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwrange" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwmode" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwscan" [drivers/net/wireless/orinoco/orinoco.ko] undefined!
      ERROR: "cfg80211_wext_giwname" [drivers/net/wireless/ipw2x00/ipw2200.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c6d3597c
    • J
      wext: refactor · 3d23e349
      Johannes Berg 提交于
      Refactor wext to
       * split out iwpriv handling
       * split out iwspy handling
       * split out procfs support
       * allow cfg80211 to have wireless extensions compat code
         w/o CONFIG_WIRELESS_EXT
      
      After this, drivers need to
       - select WIRELESS_EXT	- for wext support
       - select WEXT_PRIV	- for iwpriv support
       - select WEXT_SPY	- for iwspy support
      
      except cfg80211 -- which gets new hooks in wext-core.c
      and can then get wext handlers without CONFIG_WIRELESS_EXT.
      
      Wireless extensions procfs support is auto-selected
      based on PROC_FS and anything that requires the wext core
      (i.e. WIRELESS_EXT or CFG80211_WEXT).
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3d23e349
  8. 11 7月, 2009 1 次提交
    • D
      orinoco: initiate cfg80211 conversion · ea60a6aa
      David Kilroy 提交于
      Initialise and register a wiphy.
      
      Store the orinoco_private structure in the new wiphy, and use the
      net_device private area to store the wireless_dev. This results in a
      change to the way we navigate from a net_device to the driver private
      orinoco_private, which we encapsulate in the inline function ndev_priv.
      Most of the remaining calls to netdev_priv are thus replaced by
      ndev_priv.
      
      We can immediately rely on cfg80211 to handle SIOCGIWNAME, so
      orinoco_ioctl_getname is removed.
      Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      ea60a6aa
  9. 30 1月, 2009 1 次提交