[RFC,1/3] gnss: Add AI2 protocol used by some TI combo chips.
Commit Message
Texas Instruments uses something called Air Independent Interface (AI2) for
their WLAN/BT/GPS combo chips.
No public documentation is available, by looking into captured data, it
becomes clear that you can either raw data or encapsulated NMEA after some
initialization commands.
Signed-off-by: Andreas Kemnade <andreas@kemnade.info>
---
drivers/gnss/core.c | 1 +
include/linux/gnss.h | 1 +
2 files changed, 2 insertions(+)
@@ -335,6 +335,7 @@ static const char * const gnss_type_names[GNSS_TYPE_COUNT] = {
[GNSS_TYPE_SIRF] = "SiRF",
[GNSS_TYPE_UBX] = "UBX",
[GNSS_TYPE_MTK] = "MTK",
+ [GNSS_TYPE_AI2] = "AI2",
};
static const char *gnss_type_name(const struct gnss_device *gdev)
@@ -23,6 +23,7 @@ enum gnss_type {
GNSS_TYPE_SIRF,
GNSS_TYPE_UBX,
GNSS_TYPE_MTK,
+ GNSS_TYPE_AI2,
GNSS_TYPE_COUNT
};