1. 04 1月, 2013 3 次提交
  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. 18 12月, 2012 3 次提交
    • T
      drivers: remove reference to feature-removal-schedule.txt · c0f04160
      Tao Ma 提交于
      In commit 9c0ece06 ("Get rid of Documentation/feature-removal.txt"),
      Linus removed feature-removal-schedule.txt from Documentation, but there
      is still some reference to this file.  So remove them.
      Signed-off-by: NTao Ma <boyu.mt@taobao.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      c0f04160
    • V
      wireless: fix Atheros drivers compilation · 009b9696
      Vladimir Kondratiev 提交于
      Bug introduced in commit:
      wireless: allow Atheros card to not depend on ath.ko
      
      Commit in question changed CONFIG_ATH_COMMON to CONFIG_ATH_CARDS as
      "Atheros card" indication in drivers/net/wireless/ath/Kconfig but it
      is used also by drivers/net/wireless/Makefile
      
      If there are only Atheros cards that do not require ATH_COMMON, whole
      Makefile for Atheros cards was not executed; and as result, driver
      won't compile in this case.
      
      Change in CONFIG_ option name should be reflected in the
      drivers/net/wireless/Makefile
      Signed-off-by: NVladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
      Tested-by: NKalle Valo <kvalo@qca.qualcomm.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      009b9696
    • G
      rt2x00: zero-out rx_status · 028014c8
      Gabor Juhos 提交于
      In commit 'mac80211: support radiotap vendor namespace RX data'
      new fields were added to 'struct ieee80211_rx_status' and those
      fileds must be zeroed. However the rt2x00 driver stores driver
      specific data in the cb array of the rx skbs, so the fields
      might contain garbage and this can cause unexpected behaviour.
      
      The rt2x00 driver from the compat-wireless-2012-12-01
      tarball caused the following warning:
      
        WARNING: at
        /devel/ramips/build_dir/target-mipsel_r2_uClibc-0.9.33.2/linux-ramips_rt305x/
        compat-wireless-2012-12-01/net/mac80211/rx.c:115 ieee80211_rx_irqsafe+0x274/0xbcc
        [mac80211]()
        Modules linked in: dwc_otg ledtrig_usbdev nf_nat_irc
        nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp ipt_MASQUERADE
        iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK iptable_raw
        xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack pppox
        ipt_REJECT xt_TCPMSS xt_comment xt_multiport xt_mac xt_limit
        iptable_mangle iptable_filter ip_tables xt_tcpudp x_tables ppp_async
        ppp_generic slhc rt2800pci(O) rt2800lib(O) rt2x00soc(O) rt2x00pci(O)
        rt2x00lib(O) mac80211(O) usbcore usb_common nls_base crc_itu_t
        crc_ccitt eeprom_93cx6 cfg80211(O) compat(O) arc4 aes_generic
        crypto_blkcipher cryptomgr aead crypto_hash crypto_algapi leds_gpio
        button_hotplug(O) gpio_keys_polled input_polldev input_core
        Call Trace:
        [<801e96b4>] dump_stack+0x8/0x34
        [<80010a9c>] warn_slowpath_common+0x78/0xa4
        [<80010ae0>] warn_slowpath_null+0x18/0x24
        [<80a9710c>] ieee80211_rx_irqsafe+0x274/0xbcc [mac80211]
      
      The patch ensures that each field gets initialized with
      zeroes.
      
      Cc: <users@rt2x00.serialmonkey.com>
      Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
      Acked-by: NGertjan van Wingerde <gwingerde@gmail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      028014c8
  4. 12 12月, 2012 5 次提交
  5. 11 12月, 2012 25 次提交