1. 14 Jul, 2008 5 commits
    • Johannes Berg's avatar
      mac80211: revamp virtual interface handling · 75636525
      Johannes Berg authored
      This patch revamps the virtual interface handling and makes the
      code much easier to follow. Fewer functions, better names, less
      spaghetti code.
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Johannes Berg's avatar
      mac80211: make master netdev handling sane · 3e122be0
      Johannes Berg authored
      Currently, almost every interface type has a 'bss' pointer
      pointing to BSS information. This BSS information, however,
      is for a _local_ BSS, not for the BSS we joined, so having
      it on a STA mode interface makes little sense, but now they
      have it pointing to the master device, which is an AP mode
      virtual interface. However, except for some bitrate control
      data, this pointer is only used in AP/VLAN modes (for power
      saving stations.)
      Overall, it is not necessary to even have the master netdev
      be a valid virtual interface, and it doesn't have to be on
      the list of interfaces either.
      This patch changes the master netdev to be special, it now
       - no longer is on the list of virtual interfaces, which
         lets me remove a lot of tests for that
       - no longer has sub_if_data attached, since that isn't used
      Additionally, this patch changes some vlan/ap mode handling
      that is related to these 'bss' pointers described above (but
      in the VLAN case they actually make sense because there they
      point to the AP they belong to); it also adds some debugging
      code to IEEE80211_DEV_TO_SUB_IF to validate it is not called
      on the master netdev any more.
      Signed-off-by: default avatarJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Ihar Hrachyshka's avatar
      rtl8187: Fixed section mismatch in rtl8187_dev.c · 500c1197
      Ihar Hrachyshka authored
      When CONFIG_HOTPLUG=n the following error occures on vmlinux linkage:
      `.exit.text' referenced in section `.data' of drivers/built-in.o:
      defined in discarded section `.exit.text' of drivers/built-in.o
      'rtl8187_disconnect' function marked as __devexit isn't compiled with no
      hotplug support. Added __devexit_p macros to fix the problem.
      Signed-off-by: default avatarIhar Hrachyshka <ihar.hrachyshka@promwad.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Ivo van Doorn's avatar
      rt2x00: Fix NULL pointer error in adhoc/master mode · 9a613195
      Ivo van Doorn authored
      As soon as an interface is enabled, and that interface is in adhoc or master mode,
      the device will start raising beacondone interrupts. But before the first interrupt is
      raised, mac80211 will probably not have send any beacons to the device yet, which
      results in a NULL pointer error when the skb is being freed.
      Note that the "raise beacondone interrupts without a beacon" is also a bug,
      and will be addressed later. The more important bug however is preventing
      the NULL pointer failt itself, since there might be other conditions that could trigger
      it as well.
      Signed-off-by: default avatarIvo van Doorn <IvDoorn@gmail.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    • Samuel Ortiz's avatar
      mac80211: power management wext hooks · 49292d56
      Samuel Ortiz authored
      This patch implements the power management routines wireless extensions
      for mac80211.
      For now we only support switching PS mode between on and off.
      Signed-off-by: default avatarSamuel Ortiz <sameo@openedhand.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
  2. 09 Jul, 2008 10 commits
  3. 08 Jul, 2008 25 commits