Commit Graph

8 Commits

Author SHA1 Message Date
Harald Welte 4c769e9a7d migrate from BSC_FD_* to OSMO_FD_*
Change-Id: I9d341d24527ca739424a68059126a7f789206c42
2020-10-18 21:38:19 +00:00
Harald Welte a67be5ff1e add copyright + license disclaimers to ccid_common + ccid_host
Change-Id: I1b0f876de337c625081dc5b579dd0a88d62c857c
2020-09-03 10:12:36 +02:00
Eric Wild 70f3691a59 proper card powerup handling
Now that the timers work as intended other voltages (that lead to
timeouts) may be used.

Change-Id: I6105ce7f827aaec8ac36b940766fe05d47145edb
2020-08-10 17:38:04 +02:00
Harald Welte 7b64fc0020 cuart: Integrate software WT (waiting time) timer
Change-Id: If94d7bdca0e5571d4f2f53862fc574c33a05ce43
2019-10-09 22:30:15 +02:00
Harald Welte 9700d39b08 card_uart_ctrl: change from bool to integer argument
This allows for control functions for e.g. baud rate or waiting time

Change-Id: Ifa8dde9dbcd27b79055aaac1a05bb040be616e05
2019-10-09 22:29:35 +02:00
Harald Welte 02dd911163 card_uart_tx: Remove last argument (we always have the receiver active)
Change-Id: I8f82e9108d0eae86bbe4535403ccc680b7379a0e
2019-10-09 18:09:57 +02:00
Harald Welte 18ec32218a cuart_driver_tty: Work around linux kernel bug ignoring CREAD
Almost all linux USB serial drivers are ignoring CREAD and hence
cannot disable the receiver hardware, see https://bugzilla.kernel.org/show_bug.cgi?id=205033

We therefore have to receive every byte we transmit before notifying the
user of transmit completion.

Change-Id: Id3cca29f78ee5469a1142aaa1ff754cc0427ec93
2019-10-09 18:08:10 +02:00
Harald Welte a40c8e502d 'cuart' Card-UART abstraction + driver for simple serial reader
Change-Id: Ic7e324d99f78b3bfb98fc667d9a1b7fa363f092d
2019-10-09 18:08:07 +02:00