summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/dect_netlink.h2
-rw-r--r--lib/dect/transceiver_obj.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/dect_netlink.h b/include/linux/dect_netlink.h
index df170fb..7c01aca 100644
--- a/include/linux/dect_netlink.h
+++ b/include/linux/dect_netlink.h
@@ -106,9 +106,11 @@ enum dect_transceiver_stats_attrs {
/**
* @DECT_TRANSCEIVER_SLOW_HOPPING: transceiver has slow hopping radio
+ * @DECT_TRANSCEIVER_PACKET_P64: transceiver supports packet P640j
*/
enum dect_transceiver_features {
DECT_TRANSCEIVER_SLOW_HOPPING = 0x1,
+ DECT_TRANSCEIVER_PACKET_P64 = 0x2,
};
enum dect_transceiver_attrs {
diff --git a/lib/dect/transceiver_obj.c b/lib/dect/transceiver_obj.c
index 96a6131..1a6018a 100644
--- a/lib/dect/transceiver_obj.c
+++ b/lib/dect/transceiver_obj.c
@@ -239,6 +239,7 @@ uint8_t nl_dect_transceiver_get_band(const struct nl_dect_transceiver *trx)
static struct trans_tbl trx_features[] = {
__ADD(DECT_TRANSCEIVER_SLOW_HOPPING, slow-hopping)
+ __ADD(DECT_TRANSCEIVER_PACKET_P64, p64)
};
const char *nl_dect_transceiver_features2str(uint32_t features, char *buf, size_t len)