1. 11 11月, 2008 2 次提交
    • J
      don't use net/ieee80211.h · 2c706002
      Johannes Berg 提交于
      Convert all the drivers using net/ieee80211.h to use linux/ieee80211.h.
      Contains a bugfix in libertas where the SSID parsing could overrun the
      buffer when the AP sends invalid information.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Acked-by: Dan Williams <dcbw@redhat.com> [airo, libertas]
      Acked-by: Pavel Roskin <proski@gnu.org> [orinoco]
      Acked-by: David Kilroy <kilroyd@googlemail.com> [orinoco]
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      2c706002
    • W
      netdevice libertas: Fix directly reference of netdev->priv · 4ceb7b6a
      Wang Chen 提交于
      We have some reasons to kill netdev->priv:
      1. netdev->priv is equal to netdev_priv().
      2. netdev_priv() wraps the calculation of netdev->priv's offset, obviously
         netdev_priv() is more flexible than netdev->priv.
      But we cann't kill netdev->priv, because so many drivers reference to it
      directly.
      
      OK, becasue Dave S. Miller said, "every direct netdev->priv usage is a bug",
      and I want to kill netdev->priv later, I decided to convert all the direct
      reference of netdev->priv first.
      
      Different to readonly reference of netdev->priv, in this driver, netdev->priv
      was changed. I use netdev->ml_priv to replace netdev->priv.
      Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      4ceb7b6a
  2. 01 11月, 2008 2 次提交
  3. 30 10月, 2008 2 次提交
  4. 28 10月, 2008 1 次提交
  5. 27 10月, 2008 1 次提交
  6. 15 10月, 2008 1 次提交
  7. 01 10月, 2008 1 次提交
  8. 25 9月, 2008 1 次提交
  9. 16 9月, 2008 4 次提交
  10. 12 9月, 2008 2 次提交
  11. 03 9月, 2008 1 次提交
  12. 31 8月, 2008 1 次提交
  13. 30 8月, 2008 4 次提交
  14. 23 8月, 2008 3 次提交
  15. 02 8月, 2008 1 次提交
  16. 30 7月, 2008 1 次提交
  17. 15 7月, 2008 3 次提交
  18. 10 7月, 2008 2 次提交
  19. 03 7月, 2008 1 次提交
  20. 17 6月, 2008 1 次提交
    • D
      wext: Emit event stream entries correctly when compat. · ccc58057
      David S. Miller 提交于
      Three major portions to this change:
      
      1) Add IW_EV_COMPAT_LCP_LEN, IW_EV_COMPAT_POINT_OFF,
         and IW_EV_COMPAT_POINT_LEN helper defines.
      
      2) Delete iw_stream_check_add_*(), they are unused.
      
      3) Add iw_request_info argument to iwe_stream_add_*(), and use it to
         size the event and pointer lengths correctly depending upon whether
         IW_REQUEST_FLAG_COMPAT is set or not.
      
      4) The mechanical transformations to the drivers and wireless stack
         bits to get the iw_request_info passed down into the routines
         modified in #3.  Also, explicit references to IW_EV_LCP_LEN are
         replaced with iwe_stream_lcp_len(info).
      
      With a lot of help and bug fixes from Masakazu Mokuno.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ccc58057
  21. 15 6月, 2008 4 次提交
  22. 10 6月, 2008 1 次提交
    • H
      libertas: fix sleep confirmation · a01f5450
      Holger Schurig 提交于
      This fixes an issus that made "iwconfig eth1 power on" non-working.
      When we get a "PS sleep" event, we have to confirm this to the firmware.
      The confirm happens with a command, but this command is special: the
      firmware won't send us a response. if_cs_host_to_card() is setting
      priv->dnld_sent anyway, so this variable stayed at DNLD_DATA_SENT and
      was never cleared back.
      
      Now I put the special knowledge that the CMD_802_11_PS_MODE with
      CMD_SUBCMD_SLEEP_CONFIRMED doesn't need to need a response by directly
      clearing the dnld_sent state in lbs_send_confirmsleep().
      Signed-off-by: NHolger Schurig <hs4233@mail.mn-solutions.de>
      Acked-by: NDan Williams <dcbw@redhat.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a01f5450