1. 04 1月, 2013 1 次提交
  2. 03 1月, 2013 4 次提交
    • J
      mac80211: split TX aggregation stop action · 18b559d5
      Johannes Berg 提交于
      When TX aggregation is stopped, there are a few
      different cases:
       - connection with the peer was dropped
       - session stop was requested locally
       - session stop was requested by the peer
       - connection was dropped while a session is stopping
      
      The behaviour in these cases should be different, if
      the connection is dropped then the driver should drop
      all frames, otherwise the frames may continue to be
      transmitted, aggregated in the case of a locally
      requested session stop or unaggregated in the case of
      the peer requesting session stop.
      
      Split these different cases so that the driver can
      act accordingly; however, treat local and remote stop
      the same way and ask the driver to not send frames as
      aggregated packets any more.
      
      In the case of connection drop, the stop callback the
      driver is otherwise supposed to call is no longer
      required.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      18b559d5
    • J
      regulatory: use IS_ERR macro family for freq_reg_info · 361c9c8b
      Johannes Berg 提交于
      Instead of returning an error and filling a pointer
      return the pointer and an ERR_PTR value in error cases.
      Acked-by: NLuis R. Rodriguez <mcgrof@do-not-panic.com>
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      361c9c8b
    • J
      regulatory: remove handling of channel bandwidth · fe7ef5e9
      Johannes Berg 提交于
      The channel bandwidth handling isn't really quite right,
      it assumes that a 40 MHz channel is really two 20 MHz
      channels, which isn't strictly true. This is the way the
      regulatory database handling is defined right now though
      so remove the logic to handle other channel widths.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      fe7ef5e9
    • J
      mac80211_hwsim: allow testing paged RX · a357d7f9
      Johannes Berg 提交于
      Paged RX, i.e. SKBs with (some of) the data in pages instead
      of the SKB header data (skb->data) can behave differently in
      the stack and cause other bugs. To make debugging easier add
      an option to hwsim to test with such SKBs.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      a357d7f9
  3. 22 12月, 2012 35 次提交