1. 15 3月, 2015 3 次提交
    • A
      at86rf230: add support for calibration timeout · dce481e6
      Alexander Aring 提交于
      This patch adds a handling for calibration if we are 5 minutes in PLL
      state. I first tried to implement the calibration functionality in
      TX_ON state via register values CF_START and DCU_START, but this occurs
      a one second delay at each calibration time.
      
      An another solution to start a calibration is to switch from TRX_OFF
      state into TX_ON, then a calibration is done automatically by
      transceiver. This method will be used in this patch, after each transmit
      of a frame we check with jiffies if the PLL is set 5 minutes without
      doing a TRX_OFF->(TX_ON || RX_AACK_ON) or channel switch. The worst case
      would be a transceiver in receiving mode only, but this is under normal
      operation very unlikely.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Cc: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de>
      Cc: Werner Almesberger <werner@almesberger.net>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      dce481e6
    • A
      at86rf230: replace state change sleeps with hrtimer · eb3b435e
      Alexander Aring 提交于
      This patch replace the state change timing relevant sleeps with
      hrtimers. Currently the sleeps are done in the complete handler of
      spi_async. The relation of doing the state change timing sleep with a
      timer will get the sleep functionality out of spi_async complete handler
      context.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      eb3b435e
    • A
      at86rf230: init xtal_trim with zero · e3721749
      Alexander Aring 提交于
      This patch initialize xtal_trim value to zero. The xtal_trim property is
      an optional device tree value. Currently if no xtal_trim property is
      given the xtal_trim value can be contain random data, because it's a
      stack variable. This patch init the xtal_trim value to zero which is
      also the default value after reset for at86rf230 transceivers.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      e3721749
  2. 03 3月, 2015 6 次提交
  3. 28 2月, 2015 6 次提交
  4. 15 2月, 2015 1 次提交
  5. 06 1月, 2015 1 次提交
  6. 19 12月, 2014 12 次提交
  7. 17 11月, 2014 1 次提交
  8. 13 11月, 2014 2 次提交
    • A
      at86rf230: remove interframe spacing time workaround · 24ccb9f4
      Alexander Aring 提交于
      This patch removes the interframe spacing time workaround from at86rf230
      driver and use the mac802154 one. The interframe spacing time differs at
      at86rf212 and channel setting. This patch fix this handling which is also
      a new workaround and should be moved into mac802154 while channel
      setting.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      24ccb9f4
    • A
      mac802154: add interframe spacing time handling · 61f2dcba
      Alexander Aring 提交于
      This patch adds a new interframe spacing time handling into mac802154
      layer. Interframe spacing time is a time period between each transmit.
      This patch adds a high resolution timer into mac802154 and starts on
      xmit complete with corresponding interframe spacing expire time if
      ifs_handling is true. We make it variable because it depends if
      interframe spacing time is handled by transceiver or mac802154. At the
      timer complete function we wake the netdev queue again. This avoids
      new frame transmit in range of interframe spacing time.
      
      For synced driver we add no handling of interframe spacing time. This
      is currently a lack of support in all synced xmit drivers. I suppose
      it's working because the latency of workqueue which is needed to call
      spi_sync.
      Signed-off-by: NAlexander Aring <alex.aring@gmail.com>
      Signed-off-by: NMarcel Holtmann <marcel@holtmann.org>
      61f2dcba
  9. 12 11月, 2014 4 次提交
  10. 06 11月, 2014 4 次提交