1. 17 Jul, 2013 1 commit
  2. 31 May, 2013 3 commits
  3. 24 May, 2013 2 commits
  4. 19 Jan, 2012 1 commit
  5. 18 Jan, 2012 1 commit
    • Luis R. Rodriguez's avatar
      crda: add a reglib iterator reglib_for_each_country() · ebcbfcf4
      Luis R. Rodriguez authored
      To allow for a simple library on reglib.c we want to enable
      an iterator over the regulatory database that does not have
      to lock the file, or pass references to the file. We instead
      add an iterator reglib_get_country_idx() which will use a
      new reglib_get_country_idx(), that does an O(n) search for
      each new regulatory domain it needs to read.
      
      The trade off here is to allow for a simple reglib.c implementation
      at the cost that upon each iteration reglib_get_country_idx()
      we will will be opening the regdb, and verifying the db signature.
      Given that the only user of this iterator is regdbdump though and
      that this is used for debugging for now this is trade off I am
      willing to live with.
      
      Systems that want to use the regdb as a database for fine tuning
      radio parameters dynamically and reading this file very *often*
      (seconds, minutes, who knows what the future holds) may want to
      consider a slight optimization of exporting the direct mmap()
      through the library but we are I think light years away from that.
      Signed-off-by: 's avatarLuis R. Rodriguez <mcgrof@qca.qualcomm.com>
      ebcbfcf4
  6. 15 Nov, 2011 1 commit
  7. 24 Nov, 2008 1 commit
  8. 29 Oct, 2008 1 commit
  9. 28 Oct, 2008 3 commits
  10. 23 Oct, 2008 3 commits
  11. 30 Sep, 2008 1 commit
  12. 05 Sep, 2008 1 commit
  13. 05 Jun, 2008 1 commit
  14. 29 May, 2008 1 commit
  15. 27 May, 2008 4 commits
  16. 26 May, 2008 3 commits
  17. 24 May, 2008 3 commits
  18. 23 May, 2008 3 commits
  19. 22 May, 2008 6 commits