1. 08 7月, 2016 4 次提交
  2. 12 4月, 2016 1 次提交
  3. 11 3月, 2016 2 次提交
  4. 26 1月, 2016 1 次提交
  5. 14 1月, 2016 1 次提交
  6. 11 12月, 2015 1 次提交
    • M
      ath9k: feeding entropy in kernel from ADC capture · ed14dc0a
      Miaoqing Pan 提交于
      This patch is derived from
      commit 6301566e ("ath9k: export HW random number generator"),
      
      We evaluated the entropy of the ADC data on QCA9531, QCA9561, QCA955x,
      and AR9340, and it has sufficient quality random data (at least 10 bits
      and up to 22 bits of min-entropy for a 32-bit value). We conservatively
      assume the min-entropy is 10 bits out of 32 bits. Thus, ATH9K_RNG_BUF_SIZE
      is set to 320 (u32) i.e., 1.25 kilobytes of data is inserted to fill up
      the pool as soon as the entropy counter becomes 896/4096 (set by random.c).
      Since ADC was not designed to be a dedicated HW RNG, we do not want to bind
      it to /dev/hwrng framework directly. This patch feeds the entropy directly
      from the WiFi driver to the input pool. The ADC register output is only
      used as a seed for the Linux entropy pool. No conditioning is needed,
      since all the conditioning is performed by the pool itself.
      Signed-off-by: NMiaoqing Pan <miaoqing@codeaurora.org>
      Signed-off-by: NKalle Valo <kvalo@qca.qualcomm.com>
      ed14dc0a
  7. 29 9月, 2015 1 次提交
  8. 22 9月, 2015 1 次提交
  9. 06 8月, 2015 3 次提交
    • J
      ath9k: setup rxfilter when offchannel · 1738203e
      Janusz.Dziedzic@tieto.com 提交于
      Setup rxfiler correctly for offchannel ctx.
      
      This fix problem we didn't configure rxfilter, next
      didn't receive probe requests and next failed
      p2p_find. This was seen when ath9k loaded with
      use_chanctx=1
      Signed-off-by: NJanusz Dziedzic <janusz.dziedzic@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      1738203e
    • J
      ath9k: setup rxfilter for all chanctx · f3771c08
      Janusz.Dziedzic@tieto.com 提交于
      While mac80211 setup this per HW, set same
      rxfilter configuration for all chanctx.
      Signed-off-by: NJanusz Dziedzic <janusz.dziedzic@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      f3771c08
    • J
      ath9k: handle RoC cancel correctly · d83520b7
      Janusz.Dziedzic@tieto.com 提交于
      In case we will get ROC cancel from mac80211 we
      should not call ieee80211_remain_on_channel_expired().
      
      In other case I hit such warning on MIPS and
      p2p negotiation failed (tested with use_chanctx=1).
      
      ath: phy0: Starting RoC period
      ath: phy0: Channel definition created: 2412 MHz
      ath: phy0: Assigned next_chan to 2412 MHz
      ath: phy0: Offchannel duration for chan 2412 MHz : 506632
      ath: phy0: ath_chanctx_set_next: current: 2412 MHz, next: 2412 MHz
      ath: phy0: Stopping current chanctx: 2412
      ath: phy0: Flush timeout: 200
      ath: phy0: ath_chanctx_set_next: Set channel 2412 MHz
      ath: phy0: Set channel: 2412 MHz width: 0
      ath: phy0: Reset to 2412 MHz, HT40: 0 fastcc: 0
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_TSF_TIMER, state: ATH_CHANCTX_STATE_IDLE
      ath: phy0: ath_offchannel_channel_change: offchannel state: ATH_OFFCHANNEL_ROC_START
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_SWITCH, state: ATH_CHANCTX_STATE_IDLE
      ath: phy0: Cancel RoC
      ath: phy0: RoC aborted
      ath: phy0: RoC request on vif: 00:03:7f:4e:a0:cd, type: 1 duration: 500
      ath: phy0: Starting RoC period
      ath: phy0: Channel definition created: 2412 MHz
      ath: phy0: Assigned next_chan to 2412 MHz
      ath: phy0: Offchannel duration for chan 2412 MHz : 506705
      ath: phy0: ath_chanctx_set_next: current: 2412 MHz, next: 2412 MHz
      ath: phy0: ath_offchannel_channel_change: offchannel state: ATH_OFFCHANNEL_ROC_START
      ath: phy0: cur_chan: 2412 MHz, event: ATH_CHANCTX_EVENT_SWITCH, state: ATH_CHANCTX_STATE_IDLE
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 3312 at drivers/net/wireless/ath/ath9k/main.c:2319
      Modules linked in: ath9k ath9k_common ath9k_hw ath mac80211 cfg80211
      Signed-off-by: NJanusz Dziedzic <janusz.dziedzic@tieto.com>
      Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
      d83520b7
  10. 31 7月, 2015 1 次提交
  11. 21 7月, 2015 1 次提交
  12. 08 6月, 2015 1 次提交
  13. 24 4月, 2015 1 次提交
    • J
      mac80211: remove support for IFF_PROMISC · df140465
      Johannes Berg 提交于
      This support is essentially useless as typically networks are encrypted,
      frames will be filtered by hardware, and rate scaling will be done with
      the intended recipient in mind. For real monitoring of the network, the
      monitor mode support should be used instead.
      
      Removing it removes a lot of corner cases.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      df140465
  14. 04 3月, 2015 1 次提交
  15. 03 3月, 2015 1 次提交
  16. 03 2月, 2015 1 次提交
  17. 19 1月, 2015 1 次提交
  18. 02 12月, 2014 2 次提交
  19. 20 11月, 2014 1 次提交
  20. 18 11月, 2014 6 次提交
  21. 12 11月, 2014 7 次提交
  22. 28 10月, 2014 1 次提交
    • F
      ath9k: fix processing RXORN interrupts · 3b580144
      Felix Fietkau 提交于
      The "goto chip_reset" is a bit misleading, because it does not actually
      issue a chip reset. Instead it is bypassing processing of other
      interrupts and assumes that the tasklet will issue a chip reset.
      
      In the case of RXORN this does not happen, so bypassing processing of
      other interrupts will simply allow them to fire again. Even if RXORN
      was triggering a reset, it is not critical enough to need the bypass
      here.
      Signed-off-by: NFelix Fietkau <nbd@openwrt.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      3b580144