doxygen: unify use of \file across the board

Considering the various styles and implications found in the sources, edit
scores of files to follow the same API doc guidelines around the doxygen
grouping and the \file tag.

Many files now show a short description in the generated API doc that was so
far only available as C comment.

The guidelines and reasoning behind it is documented at
https://osmocom.org/projects/cellular-infrastructure/wiki/Guidelines_for_API_documentation

In some instances, remove file comments and add to the corresponding group
instead, to be shared among several files (e.g. bitvec).

Change-Id: Ifa70e77e90462b5eb2b0457c70fd25275910c72b
diff --git a/src/serial.c b/src/serial.c
index b8c347b..dddad88 100644
--- a/src/serial.c
+++ b/src/serial.c
@@ -1,8 +1,6 @@
+/*! \file serial.c
+ * Utility functions to deal with serial ports */
 /*
- * serial.c
- *
- * Utility functions to deal with serial ports
- *
  * Copyright (C) 2011  Sylvain Munaut <tnt@246tNt.com>
  *
  * All Rights Reserved
@@ -25,9 +23,8 @@
 /*! \addtogroup serial
  *  @{
  *  Osmocom serial port helpers
- */
-
-/*! \file serial.c */
+ *
+ * \file serial.c */
 
 #include <errno.h>
 #include <fcntl.h>