dect: transceiver: resync kernel header for P64 definitions
Signed-off-by: Patrick McHardy <kaber@trash.net>
This commit is contained in:
parent
c2fdebea42
commit
94cd080452
|
@ -106,9 +106,11 @@ enum dect_transceiver_stats_attrs {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @DECT_TRANSCEIVER_SLOW_HOPPING: transceiver has slow hopping radio
|
* @DECT_TRANSCEIVER_SLOW_HOPPING: transceiver has slow hopping radio
|
||||||
|
* @DECT_TRANSCEIVER_PACKET_P64: transceiver supports packet P640j
|
||||||
*/
|
*/
|
||||||
enum dect_transceiver_features {
|
enum dect_transceiver_features {
|
||||||
DECT_TRANSCEIVER_SLOW_HOPPING = 0x1,
|
DECT_TRANSCEIVER_SLOW_HOPPING = 0x1,
|
||||||
|
DECT_TRANSCEIVER_PACKET_P64 = 0x2,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum dect_transceiver_attrs {
|
enum dect_transceiver_attrs {
|
||||||
|
|
|
@ -239,6 +239,7 @@ uint8_t nl_dect_transceiver_get_band(const struct nl_dect_transceiver *trx)
|
||||||
|
|
||||||
static struct trans_tbl trx_features[] = {
|
static struct trans_tbl trx_features[] = {
|
||||||
__ADD(DECT_TRANSCEIVER_SLOW_HOPPING, slow-hopping)
|
__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)
|
const char *nl_dect_transceiver_features2str(uint32_t features, char *buf, size_t len)
|
||||||
|
|
Reference in New Issue